File tree Expand file tree Collapse file tree 5 files changed +337
-29
lines changed
Expand file tree Collapse file tree 5 files changed +337
-29
lines changed Original file line number Diff line number Diff line change 11<template >
22 <div
33 class =" main h-screen w-screen flex justify-center"
4- :style =" { background: route.path == '/' ? 'url(/bg.svg) no-repeat' : '' }"
4+ :style =" { background: route.path === '/' ? 'url(/bg.svg) no-repeat' : '' }"
55 >
66 <div class =" container h-full text-xl" >
77 <HeaderUi />
1111</template >
1212
1313<script setup lang="ts">
14- import { _backgroundImage } from ' #tailwind-config/theme'
15-
1614const route = useRoute ()
1715 </script >
1816
Original file line number Diff line number Diff line change 11<template >
22 <div class =" w-full" >
33 <div class =" nav-wrapper flex justify-between px-4 w-full" >
4- <div class =" flex justify-center items-center gap-2 mt-5" >
4+ <div class =" flex justify-center items-center gap-2 mt-5" >
55 <img
66 src =" /logo.svg"
7- class =" "
87 width =" 32"
9- alt =" "
8+ alt =" Paper UI Logo "
109 >
11- <a
12- href =" /"
10+ <NuxtLink
11+ to =" /"
1312 class =" brand-logo flex"
14- ><div class =" text-2xlfont-patrick " >Paper Ui</div ></a >
13+ >
14+ <div class =" text-2xl font-patrick" >Paper Ui</div >
15+ </NuxtLink >
1516 <PUBadge
1617 label =" v2.0"
1718 size =" large"
2425 class =" right hide-on-med-and-down flex gap-4 mt-4"
2526 >
2627 <li >
27- <a href =" /docs" ><PUButton
28- flavor =" outlined"
29- icon-right =" file-alt"
30- >docs</PUButton ></a >
28+ <NuxtLink to =" /docs" >
29+ <PUButton
30+ flavor =" outlined"
31+ icon-right =" file-alt"
32+ >
33+ docs
34+ </PUButton >
35+ </NuxtLink >
3136 </li >
3237 <li >
33- <a href =" https://github.com/paper-kit/nuxt" ><PUButton
34- flavor =" outlined"
35- icon-right =" github-alt"
36- >github</PUButton ></a >
38+ <a href =" https://github.com/paper-kit/nuxt" target =" _blank" rel =" noopener noreferrer" >
39+ <PUButton
40+ flavor =" outlined"
41+ icon-right =" github-alt"
42+ >
43+ github
44+ </PUButton >
45+ </a >
3746 </li >
3847 </ul >
3948 </div >
4049 </div >
4150</template >
4251
43- <script lang="ts" setup >
44-
52+ <script setup lang="ts">
53+ // Component logic here if needed
4554 </script >
4655
4756<style scoped>
48-
57+ /* Component styles here if needed */
4958 </style >
Original file line number Diff line number Diff line change 22export default defineNuxtConfig ( {
33 modules : [
44 '@nuxt/content' ,
5- '../src/module ' ,
5+ '@paper-ui/nuxt ' ,
66 '@nuxtjs/tailwindcss' ,
7- 'vue3-carousel-nuxt' ,
87 '@nuxt/image' ,
98 ] ,
109 devtools : { enabled : true } ,
You can’t perform that action at this time.
0 commit comments