This commit is contained in:
2024-07-08 01:21:10 +02:00
parent 6069d568d1
commit 6bf1463d03
4 changed files with 45 additions and 15 deletions

View File

@@ -1,19 +1,53 @@
<template> <template>
<div> <Html
<NuxtLoadingIndicator color="#808080" /> :dir="head.htmlAttrs.dir"
<AppBackground /> :lang="head.htmlAttrs.lang"
<UContainer class="z-50 relative"> >
<AppHeader /> <Head>
<NuxtPage class="mt-12" /> <template
<AppFooter /> v-for="link in head.link"
</UContainer> :key="link.id"
</div> >
<Link
:id="link.id"
:href="link.href"
:hreflang="link.hreflang"
:rel="link.rel"
/>
</template>
<template
v-for="meta in head.meta"
:key="meta.id"
>
<Meta
:id="meta.id"
:content="meta.content"
:property="meta.property"
/>
</template>
</Head>
<Body>
<NuxtLoadingIndicator color="#808080" />
<AppBackground />
<UContainer class="z-50 relative">
<AppHeader />
<NuxtPage class="mt-12" />
<AppFooter />
</UContainer>
</Body>
</Html>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
useHead({ useHead({
link: [{ rel: 'icon', type: 'image/png', href: '/favicon.png' }] link: [{ rel: 'icon', type: 'image/png', href: '/favicon.png' }]
}) })
const head = useLocaleHead({
addDirAttribute: true,
identifierAttribute: 'id',
addSeoAttributes: true
})
</script> </script>
<style> <style>

View File

@@ -6,10 +6,4 @@
<script lang="ts" setup> <script lang="ts" setup>
const { locale } = useI18n() const { locale } = useI18n()
useSeoMeta({
title: 'Arthur Danjou • Mathematics Lover and IA Enthusiast',
titleTemplate: '%s',
description: 'I\'m Arthur, a Mathematics lover and IA enthusiast. I\'m currently studying at the University of Paris-Saclay. I\'m passionate about Mathematics, Computer Science, and Artificial Intelligence.'
})
</script> </script>

View File

@@ -1,5 +1,6 @@
--- ---
title: Arthur Danjou • Mathematics Lover and IA Enthusiast title: Arthur Danjou • Mathematics Lover and IA Enthusiast
description: I'm Arthur, a Mathematics lover and IA enthusiast. I'm currently studying at the University of Paris-Saclay. I'm passionate about Mathematics, Computer Science, and Artificial Intelligence.
--- ---
Hey, I'm Arthur Danjou, a mathematics student at the Paris-Saclay Faculty of Science in France. Hey, I'm Arthur Danjou, a mathematics student at the Paris-Saclay Faculty of Science in France.

View File

@@ -1,5 +1,6 @@
--- ---
title: Arthur Danjou • Mathematics Lover and IA Enthusiast title: Arthur Danjou • Mathematics Lover and IA Enthusiast
description: I'm Arthur, a Mathematics lover and IA enthusiast. I'm currently studying at the University of Paris-Saclay. I'm passionate about Mathematics, Computer Science, and Artificial Intelligence.
--- ---
Salut, je suis Arthur Danjou, étudiant en mathématiques à la faculté des sciences de Paris-Saclay en France. Salut, je suis Arthur Danjou, étudiant en mathématiques à la faculté des sciences de Paris-Saclay en France.