Files
folio/app/app.vue
T

51 lines
1003 B
Vue
Raw Normal View History

2026-04-29 14:39:34 -05:00
<script setup lang="ts">
import '~/assets/css/main.css';
2026-07-30 09:21:34 -05:00
import {
DEFAULT_DESCRIPTION,
DEFAULT_IMAGE,
DEFAULT_TITLE,
SITE_NAME,
SITE_URL,
personSchema,
websiteSchema,
} from '~/utils/site';
2026-06-22 00:44:50 -05:00
const jsonLd = {
'@context': 'https://schema.org',
'@graph': [
2026-07-30 09:21:34 -05:00
websiteSchema(),
2026-07-03 15:00:57 -05:00
{
2026-07-30 09:21:34 -05:00
...personSchema(),
mainEntityOfPage: { '@id': `${SITE_URL}/#homepage` },
2026-06-22 00:44:50 -05:00
},
],
};
2026-07-30 09:21:34 -05:00
useSeoMeta({
ogSiteName: SITE_NAME,
ogImage: DEFAULT_IMAGE,
ogImageAlt: SITE_NAME,
twitterCard: 'summary',
twitterTitle: DEFAULT_TITLE,
twitterDescription: DEFAULT_DESCRIPTION,
twitterImage: DEFAULT_IMAGE,
});
2026-04-29 14:39:34 -05:00
useHead({
link: [{ rel: 'icon', type: 'image/png', href: '/favicon.png' }],
2026-06-22 00:44:50 -05:00
script: [
{
key: 'json-ld-site',
type: 'application/ld+json',
innerHTML: JSON.stringify(jsonLd),
},
],
2026-04-29 14:39:34 -05:00
});
onMounted(() => {});
2026-04-29 14:39:34 -05:00
</script>
<template>
<NuxtPage />
</template>