Clean up navigation links with hover underline

- Add hover:underline to header nav links
- Add hover:underline to works links
- Rename /work/ route to /works/
- Include works.json manual tweak
This commit is contained in:
Michael Winter 2026-03-06 15:49:29 +01:00
parent 6ffe5aa1fc
commit 8f73a3388e
4 changed files with 9 additions and 10 deletions

View file

@ -8,7 +8,7 @@
<p class="text-sm font-semibold mt-4 text-[#7F7F7F]">{{ item.year }}</p> <p class="text-sm font-semibold mt-4 text-[#7F7F7F]">{{ item.year }}</p>
<div class="leading-tight py-1 ml-3" v-for="work in item.works"> <div class="leading-tight py-1 ml-3" v-for="work in item.works">
<div class="grid grid-cols-[65%,30%] gap-1 items-start"> <div class="grid grid-cols-[65%,30%] gap-1 items-start">
<NuxtLink v-if="hasItems(work)" :to="'/work/' + slugify(work.title)" class="italic text-sm"> <NuxtLink v-if="hasItems(work)" :to="'/works/' + slugify(work.title)" class="italic text-sm hover:underline">
<span v-html="work.title"></span> <span v-html="work.title"></span>
</NuxtLink> </NuxtLink>
<span v-else class="italic text-sm"> <span v-else class="italic text-sm">

View file

@ -3,10 +3,10 @@
<div> <div>
<div class="text-5xl p-2"> <NuxtLink to='/'>michael winter</NuxtLink></div> <div class="text-5xl p-2"> <NuxtLink to='/'>michael winter</NuxtLink></div>
<div class="inline-flex text-2xl ml-4"> <div class="inline-flex text-2xl ml-4">
<NuxtLink class="px-3" to='/'>works</NuxtLink> <NuxtLink class="px-3 hover:underline" to='/'>works</NuxtLink>
<NuxtLink class="px-3" to='/events'>events</NuxtLink> <NuxtLink class="px-3 hover:underline" to='/events'>events</NuxtLink>
<NuxtLink class="px-3" to='/about'>about</NuxtLink> <NuxtLink class="px-3 hover:underline" to='/about'>about</NuxtLink>
<NuxtLink class="px-3" to='https://unboundedpress.org/code'>code</NuxtLink> <NuxtLink class="px-3 hover:underline" to='https://unboundedpress.org/code'>code</NuxtLink>
</div> </div>
<!-- hdp link while active --> <!-- hdp link while active -->

View file

@ -5,10 +5,10 @@
<div class="max-w-[800px] mx-auto"> <div class="max-w-[800px] mx-auto">
<h1 class="text-4xl italic text-center mb-4" v-html="work.title"></h1> <h1 class="text-4xl italic text-center mb-4" v-html="work.title"></h1>
<nav v-if="itemCount >= 2" class="bg-zinc-200 flex gap-2 p-2 rounded-lg shadow border border-zinc-300 mb-6"> <nav v-if="itemCount >= 2" class="flex gap-4 mb-6">
<a v-if="work.vimeo_trackid" href="#video" class="px-4 py-2 bg-white rounded hover:bg-gray-200 transition font-medium">Video</a> <a v-if="work.vimeo_trackid" href="#video" class="hover:underline">Video</a>
<a v-if="gallery && gallery.length" href="#images" class="px-4 py-2 bg-white rounded hover:bg-gray-200 transition font-medium">Images</a> <a v-if="gallery && gallery.length" href="#images" class="hover:underline">Images</a>
<a v-if="scoreUrl" href="#score" class="px-4 py-2 bg-white rounded hover:bg-gray-200 transition font-medium">Score</a> <a v-if="scoreUrl" href="#score" class="hover:underline">Score</a>
</nav> </nav>
</div> </div>
</div> </div>

View file

@ -1052,7 +1052,6 @@
"variable ensemble" "variable ensemble"
], ],
"date": "2004-04-02", "date": "2004-04-02",
"score": "Tri_Dimensional_Canon_score.pdf",
"priority": 2, "priority": 2,
"type": "sound" "type": "sound"
}, },