File tree Expand file tree Collapse file tree 11 files changed +37
-44
lines changed Expand file tree Collapse file tree 11 files changed +37
-44
lines changed Original file line number Diff line number Diff line change 11<template >
2- <img
3- v-if =" isDark"
4- :class =" tw`absolute w-full top-0 right-0 left-0`"
5- src =" @/assets/images/gradient-top-dark.png"
6- />
7- <img
8- v-else
9- :class =" tw`absolute w-full top-0 right-0 left-0`"
10- src =" @/assets/images/gradient-top-light.png"
11- />
122 <main :class =" tw`h-full flex(& col) relative`" >
133 <div :class =" tw`mt-6`" >
144 <Container >
177 </div >
188 <div :class =" tw`mt-8 layout`" >
199 <Container >
20- <BaseLayout />
10+ <div :class =" tw`grid grid-cols-4 gap-12 mt-12`" >
11+ <div :class =" tw`col-span-1 mt-1.5`" >
12+ <Sidebar />
13+ </div >
14+ <div :class =" tw`col-span-3`" >
15+ <BaseLayout />
16+ </div >
17+ </div >
2118 </Container >
2219 </div >
2320 <Footer :class =" tw`mt-auto`" />
2623
2724<script lang="ts">
2825import { defineComponent } from " vue" ;
29- import _Base from " ./_base.vue" ;
30- import Container from " @/views/components/Container.vue" ;
31- import MainNav from " @/views/components/MainNav.vue" ;
32- import Footer from " @/views/components/Footer.vue" ;
3326import { tw } from " twind" ;
3427import { isDark } from " @/utils/darkMode" ;
28+ import BaseLayout from " @/views/layouts/_base.vue" ;
29+ import MainNav from " @/views/components/MainNav.vue" ;
30+ import Footer from " @/views/components/Footer.vue" ;
31+ import Container from " @/views/components/Container.vue" ;
32+ import Sidebar from " @/views/components/Sidebar.vue" ;
3533
3634export default defineComponent ({
3735 components: {
38- BaseLayout: _Base ,
39- Container ,
36+ BaseLayout ,
4037 MainNav ,
4138 Footer ,
39+ Container ,
40+ Sidebar ,
4241 },
4342 setup() {
4443 return { tw , isDark };
4544 },
4645});
4746 </script >
4847
49- <style scoped></style >
48+ <style scoped>
49+ </style >
Original file line number Diff line number Diff line change 11<template >
2+ <img
3+ v-if =" isDark"
4+ :class =" tw`absolute w-full top-0 right-0 left-0`"
5+ src =" @/assets/images/gradient-top-dark.png"
6+ />
7+ <img
8+ v-else
9+ :class =" tw`absolute w-full top-0 right-0 left-0`"
10+ src =" @/assets/images/gradient-top-light.png"
11+ />
212 <main :class =" tw`h-full flex(& col) relative`" >
313 <div :class =" tw`mt-6`" >
414 <Container >
717 </div >
818 <div :class =" tw`mt-8 layout`" >
919 <Container >
10- <div :class =" tw`grid grid-cols-4 gap-12 mt-12`" >
11- <div :class =" tw`col-span-1 mt-3`" >
12- <Sidebar />
13- </div >
14- <div :class =" tw`col-span-3`" >
15- <BaseLayout />
16- </div >
17- </div >
20+ <BaseLayout />
1821 </Container >
1922 </div >
2023 <Footer :class =" tw`mt-auto`" />
2326
2427<script lang="ts">
2528import { defineComponent } from " vue" ;
26- import { tw } from " twind" ;
27- import { isDark } from " @/utils/darkMode" ;
28- import BaseLayout from " @/views/layouts/_base.vue" ;
29+ import _Base from " ./_base.vue" ;
30+ import Container from " @/views/components/Container.vue" ;
2931import MainNav from " @/views/components/MainNav.vue" ;
3032import Footer from " @/views/components/Footer.vue" ;
31- import Container from " @/views/components/Container.vue " ;
32- import Sidebar from " @/views/components/Sidebar.vue " ;
33+ import { tw } from " twind " ;
34+ import { isDark } from " @/utils/darkMode " ;
3335
3436export default defineComponent ({
3537 components: {
36- BaseLayout ,
38+ BaseLayout: _Base ,
39+ Container ,
3740 MainNav ,
3841 Footer ,
39- Container ,
40- Sidebar ,
4142 },
4243 setup() {
4344 return { tw , isDark };
4445 },
4546});
4647 </script >
4748
48- <style scoped>
49- </style >
49+ <style scoped></style >
Original file line number Diff line number Diff line change @@ -183,7 +183,6 @@ import Anchor from "@/components/Anchor/Anchor.vue";
183183import Theme from " @/components/Anchor/theme.ts" ;
184184
185185export default defineComponent ({
186- layout: " doc" ,
187186 components: {
188187 DocHeader ,
189188 Badge ,
Original file line number Diff line number Diff line change @@ -214,7 +214,6 @@ import Code from "@/views/components/Code.vue";
214214import Theme from " @/components/Button/theme.ts" ;
215215
216216export default defineComponent ({
217- layout: " doc" ,
218217 components: {
219218 DocHeader ,
220219 Divider ,
Original file line number Diff line number Diff line change @@ -391,7 +391,6 @@ import Example from "@/views/components/Example.vue";
391391import Code from " @/views/components/Code.vue" ;
392392
393393export default defineComponent ({
394- layout: " doc" ,
395394 components: {
396395 DocHeader ,
397396 Badge ,
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import { tw } from "twind";
1010import { useRouter } from " vue-router" ;
1111
1212export default defineComponent ({
13- layout: " doc" ,
1413 components: {},
1514 setup() {
1615 const router = useRouter ();
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import { defineComponent } from "vue";
1515import DocHeader from " @/views/components/DocHeader.vue" ;
1616
1717export default defineComponent ({
18- layout: " doc" ,
1918 components: {
2019 DocHeader ,
2120 },
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import { defineComponent } from "vue";
1313import DocHeader from " @/views/components/DocHeader.vue" ;
1414
1515export default defineComponent ({
16- layout: " doc" ,
1716 components: {
1817 DocHeader ,
1918 },
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import { defineComponent } from "vue";
1111import DocHeader from " @/views/components/DocHeader.vue" ;
1212
1313export default defineComponent ({
14- layout: " doc" ,
1514 components: {
1615 DocHeader ,
1716 },
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ import { defineComponent } from "vue";
2323import DocHeader from " @/views/components/DocHeader.vue" ;
2424
2525export default defineComponent ({
26- layout: " doc" ,
2726 components: {
2827 DocHeader ,
2928 },
You can’t perform that action at this time.
0 commit comments