- Create IndexContent component to avoid code duplication - Score icon links to /work/[slug] with clean URLs - Modal opens automatically via slug prop (works with SSR) - Crawler finds and prerenders all /work/ pages (145 routes) - Work page redirects to / when modal closes - Single source of truth for data fetching in IndexContent
10 lines
171 B
Vue
10 lines
171 B
Vue
<template>
|
|
<IndexContent />
|
|
</template>
|
|
|
|
<script setup>
|
|
useHead({
|
|
titleTemplate: 'Michael Winter - Home / Works - Pieces, Publications, and Albums'
|
|
})
|
|
</script>
|