Skip to content

Commit 2f72902

Browse files
committed
chore: wip
1 parent 388902b commit 2f72902

File tree

2 files changed

+46
-2
lines changed

2 files changed

+46
-2
lines changed

resources/views/index.stx

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,50 @@
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>
241

342
<template>
4-
test
43+
<Header />
44+
<main>
45+
<Hero />
46+
<PrimaryFeatures />
47+
</main>
548
<!--
649
<SecondaryFeatures />
750
<CallToAction />

resources/views/tray/index.stx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
wip

0 commit comments

Comments
 (0)