Skip to content

Commit 7e58389

Browse files
committed
chore: added SEO and switched favicon
1 parent d8b75db commit 7e58389

File tree

5 files changed

+29
-0
lines changed

5 files changed

+29
-0
lines changed

app/app.vue

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
<script setup lang="ts">
2+
const title = ref('CTRL Neo Studios')
3+
4+
useSeoMeta({
5+
title: unref(title),
6+
description: 'A studio of Computer Science fanatics.',
7+
ogTitle: unref(title),
8+
ogDescription: 'A studio of Computer Science fanatics.',
9+
})
10+
11+
useHead({
12+
titleTemplate: (titleChunk) => {
13+
return titleChunk != unref(title) ? `${titleChunk} - ${unref(title)}` : unref(title)
14+
}
15+
})
16+
</script>
17+
118
<template>
219
<UApp>
320
<NuxtLoadingIndicator/>

app/pages/articles/index.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<script setup lang="ts">
22
import {useArticles} from "~/composables/core/useArticles";
33
4+
useHead({
5+
title: 'Articles'
6+
})
7+
48
const $route = useRoute()
59
const $art = useArticles()
610

app/pages/gallery/index.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
import {LazyMotion, Motion} from "motion-v";
33
import {useGallery} from "~/composables/core/useGallery";
44
5+
useHead({
6+
title: 'Gallery'
7+
})
8+
59
const $ga = useGallery()
610
const { data: galleryImages, refresh, pending } = useAsyncData('gallery', () => $ga.getAllImages())
711

app/pages/projects/index.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
import {useArticles} from "~/composables/core/useArticles";
33
import {useProjects} from "~/composables/core/useProjects";
44
5+
useHead({
6+
title: 'Projects'
7+
})
8+
59
const $route = useRoute()
610
const $proj = useProjects()
711

public/favicon.ico

61.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)