Skip to content

Commit 03b3ddd

Browse files
committed
Fix minor SEO issues
1 parent cd08521 commit 03b3ddd

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

src/components/footer.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const gitVersion = import.meta.env.GIT_VERSION;
1515
<div>
1616
<nav class="mb-12">
1717
<h6 class="font-bold text-xl mb-6">Quicklinks</h6>
18-
18+
<ul>
1919
{
2020
links.footer.map((item) => (
2121
<li class="list-none">
@@ -29,14 +29,15 @@ const gitVersion = import.meta.env.GIT_VERSION;
2929
</li>
3030
))
3131
}
32+
</ul>
3233
</nav>
3334
</div>
3435

3536
<article
3637
class="flex flex-col lg:flex-row self-center gap-8 lg:gap-12 justify-end"
3738
>
3839
<div>
39-
<EPSLogo className="max-w-[200px] h-auto w-full" />
40+
<EPSLogo className="max-w-[100px] lg:max-w-[200px] h-auto w-full" />
4041
</div>
4142
<div>
4243
<address class="not-italic mb-4">

src/components/header/header-button.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ const { href, variant = "standard" } = Astro.props;
1818
"bg-red": variant === "live",
1919
},
2020
]}
21-
href={href}
21+
22+
role="button"
23+
href={href || "#"}
2224
>
2325
<slot />
2426
</a>

src/components/nav-items/nav-items.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ export const NavItems = ({ items, inverted = false }: Props) => {
2727
)}
2828
>
2929
<a
30-
href={item.path}
30+
href={item.path || "#"}
31+
aria-haspopup="true"
32+
role="button"
33+
rel="nofollow"
3134
className={clsx(
3235
"font-bold inline-block w-full text-3xl xl:text-base p-5 text-center",
3336
"xl:text-left xl:p-2 xl:px-5",
@@ -59,6 +62,7 @@ export const NavItems = ({ items, inverted = false }: Props) => {
5962
>
6063
<a
6164
href={subItem.path || "#"}
65+
role="button"
6266
className={clsx(
6367
"block w-full font-bold text-center",
6468
"xl:text-left mb-[2px] p-2 xl:px-5"

0 commit comments

Comments
 (0)