Skip to content

Commit a482c56

Browse files
committed
Add description prop to BaseLayout
1 parent e423450 commit a482c56

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/components/header/HeaderLink.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interface Props {
88
const { link, title, class: className } = Astro.props;
99
---
1010

11-
<a class:list={["header-link", className]} href={link} title={title}>
11+
<a class:list={["header-link", className]} href={link} title={title} aria-label={title}>
1212
<slot />
1313
</a>
1414

src/layouts/BaseLayout.astro

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ import TabletHeader from "../components/header/tablet/Menu.astro";
66
import MobileHeader from "../components/header/mobile/Menu.astro";
77
88
interface Props {
9-
frontmatter?: { title: string };
109
title: string;
1110
isBlogPost: boolean;
11+
frontmatter?: { title: string };
12+
description: string;
1213
}
1314
1415
const { frontmatter, isBlogPost } = Astro.props;

src/pages/index.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ We are grateful to the Gemstone program for giving us the opportunity to work on
3131

3232
<div style="display: flex; width: 100%; align-items: center; justify-content: space-around;">
3333
<Sponsor name="Gemstone Program" url="https://gemstone.umd.edu/">
34-
<img src="/img/gemstone.png" alt="Gemstone logo" />
34+
<img loading="lazy" src="/img/gemstone.png" alt="Gemstone logo" />
3535
</Sponsor>
3636
<Sponsor name="Honors College" url="https://honors.umd.edu/">
37-
<img src="/img/umdhonors.png" alt="Honors College logo" />
37+
<img loading="lazy" src="/img/umdhonors.png" alt="Honors College logo" />
3838
</Sponsor>
3939
</div>

0 commit comments

Comments
 (0)