Added basic SEO

This commit is contained in:
Techit Thawiang
2025-06-29 14:06:36 +07:00
parent af1b5b9b83
commit 4b81da66a3
4 changed files with 64 additions and 4 deletions
+15
View File
@@ -13,3 +13,18 @@
</article> </article>
</main> </main>
</template> </template>
<script setup>
const TITLE = "Collections"
const DESC = "Techit's personal-public collections"
useHead({
title: TITLE,
meta: [
{ name: 'description', content: DESC },
{ property: 'og:title', content: TITLE },
{ property: 'og:description', content: DESC },
{ property: 'og:type', content: 'website' }
]
})
</script>
+15
View File
@@ -17,3 +17,18 @@
</article> </article>
</main> </main>
</template> </template>
<script setup>
const TITLE = "Contact"
const DESC = "How to contact Techit"
useHead({
title: TITLE,
meta: [
{ name: 'description', content: DESC },
{ property: 'og:title', content: TITLE },
{ property: 'og:description', content: DESC },
{ property: 'og:type', content: 'website' }
]
})
</script>
+15
View File
@@ -26,3 +26,18 @@
</article> </article>
</main> </main>
</template> </template>
<script setup>
const TITLE = "Fonts"
const DESC = "Fonts hosted on thawia.ng"
useHead({
title: TITLE,
meta: [
{ name: 'description', content: DESC },
{ property: 'og:title', content: TITLE },
{ property: 'og:description', content: DESC },
{ property: 'og:type', content: 'website' }
]
})
</script>
+15
View File
@@ -16,3 +16,18 @@
</article> </article>
</main> </main>
</template> </template>
<script setup>
const TITLE = "Home"
const DESC = "Welcome to thawia.ng, a Techit's website."
useHead({
title: TITLE,
meta: [
{ name: 'description', content: DESC },
{ property: 'og:title', content: TITLE },
{ property: 'og:description', content: DESC },
{ property: 'og:type', content: 'website' }
]
})
</script>