detail page port

This commit is contained in:
nicwands
2026-05-29 11:22:56 -04:00
parent b85d28c142
commit e22d75c50a
65 changed files with 7006 additions and 4044 deletions

View File

@@ -7,7 +7,7 @@
</template>
<script setup>
import '@/styles/main.scss'
import '@/styles/global.scss'
import { ref, computed, onMounted } from 'vue'
import loadFonts from '@fuzzco/font-loader'
import { useWindowSize } from '@vueuse/core'
@@ -20,19 +20,26 @@ const fontsLoading = ref(true)
const classes = computed(() => [
'container',
{ 'fonts-ready': !fontsLoading.value },
'theme-dark',
'theme-light',
])
onMounted(async () => {
// Load fonts
loadFonts([
{
name: 'Leibniz Fraktur',
weights: [400],
name: 'Arial Narrow',
weights: [700],
styles: ['normal', 'italic'],
},
{
name: 'Geist Mono',
weights: [400, 700],
name: 'Druk Wide',
weights: [900],
styles: ['normal'],
},
{
name: 'GT Super',
weights: [400],
styles: ['italic'],
},
])
.then(() => {