Skip to content

Commit 16ea522

Browse files
committed
Hide about link in header navigation
1 parent eb2755a commit 16ea522

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

components/Header.vue

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -54,31 +54,31 @@ const route = useRoute();
5454
</NuxtLink>
5555
</HeadlessMenuItem>
5656

57-
<HeadlessMenuItem v-slot="{ active }">
58-
<NuxtLink to="/about">
59-
<button
60-
:class="[
61-
active ? 'bg-orange-500/50 text-white' : 'text-white',
62-
$route.path === '/about' ? 'bg-orange-500' : '',
63-
'group flex w-full items-center rounded-md px-2 py-2 text-sm',
64-
]"
65-
>
66-
<svg
67-
class="mr-2 inline h-5 w-5"
68-
xmlns="http://www.w3.org/2000/svg"
69-
viewBox="0 0 24 24"
70-
fill="currentColor"
71-
>
72-
<path
73-
fill-rule="evenodd"
74-
d="M7.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3.751 20.105a8.25 8.25 0 0 1 16.498 0 .75.75 0 0 1-.437.695A18.683 18.683 0 0 1 12 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 0 1-.437-.695Z"
75-
clip-rule="evenodd"
76-
/>
77-
</svg>
78-
<span class="translate-y-0.5">About</span>
79-
</button>
80-
</NuxtLink>
81-
</HeadlessMenuItem>
57+
<!-- <HeadlessMenuItem v-slot="{ active }"> -->
58+
<!-- <NuxtLink to="/about"> -->
59+
<!-- <button -->
60+
<!-- :class="[ -->
61+
<!-- active ? 'bg-orange-500/50 text-white' : 'text-white', -->
62+
<!-- $route.path === '/about' ? 'bg-orange-500' : '', -->
63+
<!-- 'group flex w-full items-center rounded-md px-2 py-2 text-sm', -->
64+
<!-- ]" -->
65+
<!-- > -->
66+
<!-- <svg -->
67+
<!-- class="mr-2 inline h-5 w-5" -->
68+
<!-- xmlns="http://www.w3.org/2000/svg" -->
69+
<!-- viewBox="0 0 24 24" -->
70+
<!-- fill="currentColor" -->
71+
<!-- > -->
72+
<!-- <path -->
73+
<!-- fill-rule="evenodd" -->
74+
<!-- d="M7.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3.751 20.105a8.25 8.25 0 0 1 16.498 0 .75.75 0 0 1-.437.695A18.683 18.683 0 0 1 12 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 0 1-.437-.695Z" -->
75+
<!-- clip-rule="evenodd" -->
76+
<!-- /> -->
77+
<!-- </svg> -->
78+
<!-- <span class="translate-y-0.5">About</span> -->
79+
<!-- </button> -->
80+
<!-- </NuxtLink> -->
81+
<!-- </HeadlessMenuItem> -->
8282

8383
<HeadlessMenuItem v-slot="{ active }">
8484
<a href="/articles">

0 commit comments

Comments
 (0)