diff --git a/src/components/BrandLogo.astro b/src/components/BrandLogo.astro index 2c063a99caeaf..45083e0be0b92 100644 --- a/src/components/BrandLogo.astro +++ b/src/components/BrandLogo.astro @@ -5,9 +5,10 @@ export interface Props { size?: `${number}rem` | `${number}px`; shape?: 'circle' | 'rounded'; brand: LogoKey; + 'data-current'?: boolean; } -const { brand, size = '4rem', shape = 'circle' } = Astro.props as Props; +const { brand, size = '4rem', shape = 'circle', 'data-current': dataCurrent } = Astro.props as Props; const { file, padding } = logos[brand] || {}; // Make a rough guess at the pixel size to use as width/height attributes @@ -18,7 +19,7 @@ const pixelSize = unit === 'px' ? valueAsNumber : valueAsNumber * 16; { file && ( -
+
diff --git a/src/components/NavGrid/Card.astro b/src/components/NavGrid/Card.astro index 9c02277463e01..3df0024122291 100644 --- a/src/components/NavGrid/Card.astro +++ b/src/components/NavGrid/Card.astro @@ -13,8 +13,8 @@ export interface Props extends HTMLAttributes<'li'> { const { href, logo, current, minimal, class: classes, ...attrs } = Astro.props as Props; --- -
  • - {logo && } +
  • + {logo && }