Skip to content

Commit 10cc14c

Browse files
committed
fix: use brand name variable for index page
1 parent 9f110bf commit 10cc14c

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

src/runtime/pages/IndexPage.vue

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
11
<script setup lang="ts">
22
import { useNuxtifyConfig, useServerSeoMeta } from '#imports'
33
4+
// App state
5+
const nuxtifyConfig = useNuxtifyConfig()
6+
47
// Page info
58
useServerSeoMeta({
6-
title: '@nuxtify/pages',
7-
description: 'This is the @nuxtify/pages homepage.',
9+
title: `${nuxtifyConfig.brand?.name}`,
10+
description: `This is the ${nuxtifyConfig.brand?.name} home page.`,
811
})
9-
10-
// App state
11-
const nuxtifyConfig = useNuxtifyConfig()
1212
</script>
1313

1414
<template>
1515
<v-container class="text-center">
16-
<ClientOnly>
17-
<h1>{{ nuxtifyConfig.brand?.name }} Home</h1>
18-
<template #fallback>
19-
<AppLoading />
20-
</template>
21-
</ClientOnly>
16+
<v-row>
17+
<v-col cols="12">
18+
<ClientOnly>
19+
<h1>{{ nuxtifyConfig.brand?.name }} Home</h1>
20+
<template #fallback>
21+
<AppLoading />
22+
</template>
23+
</ClientOnly>
24+
</v-col>
25+
</v-row>
2226
</v-container>
2327
</template>

0 commit comments

Comments
 (0)