File tree Expand file tree Collapse file tree 2 files changed +9
-49
lines changed Expand file tree Collapse file tree 2 files changed +9
-49
lines changed Original file line number Diff line number Diff line change 44 <div class =" mx-auto max-w-7xl" >
55 <div class =" flex h-16 items-center justify-between" >
66 <div class =" flex items-center" >
7- <Link :href =" route('home')" >
8- <SparklesIcon class =" size-7 shrink-0 text-brand-800" />
7+ <Link
8+ class =" shrink-0 text-brand-800"
9+ :href =" route('home')"
10+ >
11+ <SparklesIcon class =" size-7" />
912 </Link >
1013 </div >
1114
8083
8184<script setup>
8285 import { ref , onMounted } from " vue" ;
83- import { router } from ' @inertiajs/vue3'
86+ import { router } from ' @inertiajs/vue3' ;
8487
8588 import {
8689 Sparkles as SparklesIcon ,
Original file line number Diff line number Diff line change 44 <title ></title >
55 </Head >
66
7- <div class =" min-h-full flex flex-col" >
7+ <div class =" min-h-full flex flex-col justify-center " >
88 <main class =" xl:py-16 py-8 px-4 sm:px-6 xl:px-8" >
99 <div class =" mx-auto max-w-7xl" >
10+ <SparklesIcon class =" size-10 mx-auto text-brand-800 block mb-4 xl:mb-8" />
1011 <slot />
1112 </div >
1213 </main >
1617</template >
1718
1819<script setup>
19- import { computed , defineAsyncComponent } from " vue" ;
20- import { usePage } from ' @inertiajs/vue3'
21-
22- const page = usePage ();
23-
24- const menu = computed (() => {
25- if (page .props .auth .loggedIn ) {
26- return [
27- {
28- label: " Dashboard" ,
29- route: route (" home" ),
30- condition: true ,
31- components: [' Dashboard/Index' ],
32- },
33- {
34- label: " Account" ,
35- route: route (" account.edit" ),
36- condition: true ,
37- components: [' Account/Edit' , ' EmailVerification/Show' ],
38- },
39- {
40- label: " Logout" ,
41- route: route (" logout" ),
42- method: " post" ,
43- condition: true ,
44- components: [],
45- },
46- ];
47- }
48-
49- return [
50- {
51- label: " Login" ,
52- route: route (" login" ),
53- condition: true ,
54- components: [' Login/Show' ],
55- },
56- {
57- label: " Register" ,
58- route: route (" register" ),
59- condition: true ,
60- components: [' Register/Show' ],
61- },
62- ];
63- });
20+ import { Sparkles as SparklesIcon } from ' lucide-vue-next' ;
6421 </script >
You can’t perform that action at this time.
0 commit comments