Skip to content

Commit f54d66d

Browse files
Copilotserhalp
andauthored
feat: add home link to h1 (#75)
* Initial plan for issue * Initial commit - plan to update h1 to link to homepage Co-authored-by: serhalp <[email protected]> * Add home link to h1 with hover/focus states Co-authored-by: serhalp <[email protected]> * Remove package-lock.json and fix linting issues for pnpm compatibility Co-authored-by: serhalp <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: serhalp <[email protected]> Co-authored-by: Philippe Serhal <[email protected]>
1 parent db4420d commit f54d66d

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

app/app.vue

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22
<NuxtRouteAnnouncer />
33

44
<header>
5-
<h1>Netlify Cache Inspector</h1>
5+
<h1>
6+
<NuxtLink
7+
to="/"
8+
class="home-link"
9+
>
10+
Netlify Cache Inspector
11+
</NuxtLink>
12+
</h1>
613

714
<p class="subheading">
815
Inspect and compare cache headers for requests to Netlify sites
@@ -35,4 +42,15 @@ header {
3542
.subheading {
3643
font-size: 1.5em;
3744
}
45+
46+
.home-link {
47+
text-decoration: none;
48+
color: inherit;
49+
}
50+
51+
.home-link:hover,
52+
.home-link:focus {
53+
text-decoration: underline;
54+
cursor: pointer;
55+
}
3856
</style>

0 commit comments

Comments
 (0)