Skip to content

Commit 045ae3f

Browse files
committed
feat(docs): add new components and images to the project, including carousel support and layout optimization on the welcome page
1 parent bba22e0 commit 045ae3f

File tree

40 files changed

+216
-107
lines changed

40 files changed

+216
-107
lines changed

docs/app/components/HeaderUi.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
2-
<div>
3-
<div class="nav-wrapper flex justify-between px-4">
2+
<div class="w-full">
3+
<div class="nav-wrapper flex justify-between px-4 w-full">
44
<div class=" flex justify-center items-center gap-2 mt-5">
55
<img
66
src="/logo.svg"

docs/app/components/WelcomePage.vue

Lines changed: 153 additions & 103 deletions
Large diffs are not rendered by default.

docs/app/layouts/examples.vue

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- eslint-disable vue/multi-word-component-names -->
2+
<template>
3+
<div class="h-screen flex flex-col w-full">
4+
<HeaderUi />
5+
<div class="flex-1 overflow-y-auto w-full">
6+
<NuxtPage />
7+
</div>
8+
</div>
9+
</template>
10+
11+
<script setup lang="ts">
12+
const route = useRoute()
13+
</script>

docs/nuxt.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ export default defineNuxtConfig({
44
'@nuxt/content',
55
'../src/module',
66
'@nuxtjs/tailwindcss',
7+
'vue3-carousel-nuxt',
8+
'@nuxt/image',
79
],
810
devtools: { enabled: true },
911
content: { nitro: {
@@ -32,4 +34,4 @@ export default defineNuxtConfig({
3234
darkMode: 'class',
3335
},
3436
},
35-
})
37+
})

docs/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@
1111
},
1212
"dependencies": {
1313
"@nuxt/content": "^3.0.0",
14+
"@nuxt/image": "1.11.0",
1415
"@nuxtjs/mdc": "^0.13.2",
1516
"@nuxtjs/tailwindcss": "^6.13.1",
1617
"@paper-ui/nuxt": "^1.1.6",
1718
"better-sqlite3": "^12.2.0",
18-
"nuxt": "^3.15.2"
19+
"nuxt": "^3.15.2",
20+
"vue3-carousel-nuxt": "1.1.6"
1921
}
2022
}

docs/public/arrow-up.svg

Lines changed: 16 additions & 0 deletions
Loading

docs/public/mobile/add-spot/1.png

26.7 KB
Loading

docs/public/mobile/add-spot/2.png

26 KB
Loading

docs/public/mobile/add-spot/3.png

14.6 KB
Loading

docs/public/mobile/add-spot/4.png

33.3 KB
Loading

0 commit comments

Comments
 (0)