File tree Expand file tree Collapse file tree 1 file changed +43
-45
lines changed Expand file tree Collapse file tree 1 file changed +43
-45
lines changed Original file line number Diff line number Diff line change @@ -3,53 +3,51 @@ import ApplicationLogo from '@/components/ApplicationLogo.vue';
33 </script >
44
55<template >
6- <Container >
7- <div class =" min-h-screen flex flex-col justify-center items-center pt-6 sm:pt-0" >
8- <div >
9- <InertiaLink href =" /" >
10- <ApplicationLogo class =" w-12 h-12 fill-current text-surface-900 dark:text-surface-0" />
11- </InertiaLink >
12- </div >
13- <div
14- v-if =" $slots.message"
15- class =" w-full sm:max-w-lg mt-6 px-4 sm:px-0"
6+ <Container class =" min-h-screen flex flex-col justify-center items-center" >
7+ <div >
8+ <InertiaLink href =" /" >
9+ <ApplicationLogo class =" w-12 h-12 fill-current text-surface-900 dark:text-surface-0" />
10+ </InertiaLink >
11+ </div >
12+ <div
13+ v-if =" $slots.message"
14+ class =" w-full sm:max-w-lg mt-6 px-4 sm:px-0"
15+ >
16+ <slot name =" message" />
17+ </div >
18+ <div class =" w-full sm:max-w-lg mt-6" >
19+ <Card
20+ pt:caption:class =" space-y-2"
21+ pt:body:class =" p-6 sm:p-8 space-y-6"
1622 >
17- <slot name =" message" />
18- </div >
19- <div class =" w-full sm:max-w-lg mt-6" >
20- <Card
21- pt:caption:class =" space-y-2"
22- pt:body:class =" p-6 sm:p-8 space-y-6"
23+ <template
24+ v-if =" $slots .header "
25+ #header
26+ >
27+ <slot name =" header" />
28+ </template >
29+ <template
30+ v-if =" $slots .title "
31+ #title
32+ >
33+ <slot name =" title" />
34+ </template >
35+ <template
36+ v-if =" $slots .subtitle "
37+ #subtitle
38+ >
39+ <slot name =" subtitle" />
40+ </template >
41+ <template #content >
42+ <slot />
43+ </template >
44+ <template
45+ v-if =" $slots .footer "
46+ #footer
2347 >
24- <template
25- v-if =" $slots .header "
26- #header
27- >
28- <slot name =" header" />
29- </template >
30- <template
31- v-if =" $slots .title "
32- #title
33- >
34- <slot name =" title" />
35- </template >
36- <template
37- v-if =" $slots .subtitle "
38- #subtitle
39- >
40- <slot name =" subtitle" />
41- </template >
42- <template #content >
43- <slot />
44- </template >
45- <template
46- v-if =" $slots .footer "
47- #footer
48- >
49- <slot name =" footer" />
50- </template >
51- </Card >
52- </div >
48+ <slot name =" footer" />
49+ </template >
50+ </Card >
5351 </div >
5452 </Container >
5553</template >
You can’t perform that action at this time.
0 commit comments