File tree Expand file tree Collapse file tree 2 files changed +46
-2
lines changed Expand file tree Collapse file tree 2 files changed +46
-2
lines changed Original file line number Diff line number Diff line change 1
- <script setup lang="ts"></script>
1
+ <script setup lang="ts">
2
+ defineOptions({
3
+ name: 'IndexPage',
4
+ })
5
+
6
+ // import { app } from '@stacksjs/config'
7
+
8
+ // https://github.com/vueuse/head
9
+ // you can use this to manipulate the document head in any components,
10
+ // they will be rendered correctly in the html results with vite-ssg
11
+ useHead({
12
+ // title: app.name,
13
+ title: 'Stacks',
14
+ meta: [
15
+ { name: 'description', content: 'Coming soon.' },
16
+ {
17
+ name: 'theme-color',
18
+ content: () => isDark.value ? '#00aba9' : '#ffffff',
19
+ },
20
+ ],
21
+ link: [
22
+ {
23
+ rel: 'icon',
24
+ type: 'image/svg+xml',
25
+ href: () => preferredDark.value ? '/favicon-dark.svg' : '/favicon.svg',
26
+ },
27
+ ],
28
+ })
29
+
30
+ // const user = useUserStore()
31
+ // const name = ref(user.savedName)
32
+
33
+ // const router = useRouter()
34
+ // function go() {
35
+ // if (name.value)
36
+ // router.push(`/hi/${encodeURIComponent(name.value)}`)
37
+ // }
38
+
39
+ // const { t } = useI18n()
40
+ </script>
2
41
3
42
<template>
4
- test
43
+ <Header />
44
+ <main>
45
+ <Hero />
46
+ <PrimaryFeatures />
47
+ </main>
5
48
<!--
6
49
<SecondaryFeatures />
7
50
<CallToAction />
Original file line number Diff line number Diff line change
1
+ wip
You can’t perform that action at this time.
0 commit comments