Skip to content

Commit 00d150f

Browse files
committed
Correct alt text and SEO descriptions
1 parent e7e54fc commit 00d150f

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

src/components/Header.astro

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,5 @@ import personalLogo from "../assets/logo.svg";
2323
}
2424
</style>
2525
<div class="header">
26-
<a href="/"><Image src={personalLogo} alt="Personal logo." loading="eager"/></a>
27-
</div>
28-
<!-- TODO: WRITE PROPER ALT TEXT, REPLACE WITH PROPER HEADER -->
26+
<a href="/"><Image src={personalLogo} alt="Personal logo. White text on a purple background. The text reads &quot;VM&quot; and the background has tiny circuit board traces" loading="eager"/></a>
27+
</div>

src/components/Layout.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ const profile = ogType === "profile" ? [
8484
<Navigation />
8585
<main class="content">
8686
<slot />
87-
<!-- This is where the page-specific content will go -->
8887
</main>
8988
<Footer />
9089
</body>

src/components/MarkdownProjectLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const authorString = numAuthors == 1 ?
2121
authors.toString() :
2222
authors.slice(0, numAuthors - 1).join(", ") + (numAuthors == 2 ? "" : ",") + " and " + authors[numAuthors - 1];
2323
---
24-
<Layout class="layout" pageTitle={frontmatter.title} ogType="article" article={frontmatter.article} description={frontmatter.description}>
24+
<Layout class="layout" pageTitle={frontmatter.title} ogType="article" article={frontmatter.article} ogDescription={frontmatter.description} seoDescription={frontmatter.seoDescription}>
2525
<h1>{frontmatter.title}</h1>
2626
<p class="date">{startDate} - {finishDate}</p>
2727
<p><em>{frontmatter.description}</em></p>

src/pages/projects/website.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ image:
1515
startDate: 2025-03
1616
tags: ["astro", "html", "js", "vite", "css" ]
1717
---
18-
![../](@assets/astro.webp)
18+
![The Astro logo on a dark background with a pink glow.](@assets/astro.webp)
1919

2020
---
2121

0 commit comments

Comments
 (0)