Skip to content

Commit 92b70e4

Browse files
committed
Fixes
1 parent 05d995a commit 92b70e4

File tree

8 files changed

+107
-103
lines changed

8 files changed

+107
-103
lines changed

resources/js/layouts/GuestAuthLayout.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import ApplicationLogo from '@/components/ApplicationLogo.vue';
44

55
<template>
66
<Container>
7-
<div class="min-h-screen flex flex-col sm:justify-center items-center pt-6 sm:pt-0">
7+
<div class="min-h-screen flex flex-col justify-center items-center pt-6 sm:pt-0">
88
<div>
99
<InertiaLink href="/">
1010
<ApplicationLogo class="w-12 h-12 fill-current text-surface-900 dark:text-surface-0" />
@@ -37,7 +37,9 @@ import ApplicationLogo from '@/components/ApplicationLogo.vue';
3737
v-if="$slots.subtitle"
3838
#subtitle
3939
>
40-
<slot name="subtitle" />
40+
<div class="text-base">
41+
<slot name="subtitle" />
42+
</div>
4143
</template>
4244
<template #content>
4345
<slot />

resources/js/pages/Welcome.vue

Lines changed: 96 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -19,104 +19,106 @@ const page = usePage();
1919
<template>
2020
<InertiaHead title="Welcome" />
2121

22-
<div class="min-h-full">
23-
<div class="h-screen flex items-center justify-center">
24-
<Card pt:body:class="p-4 py-6 sm:p-12">
25-
<template #content>
26-
<div class="text-center md:text-left">
27-
<span class="block text-6xl font-bold text-red-500 dark:text-red-400 mb-1">Laravel,</span>
28-
<div class="text-6xl font-bold text-indigo-500 dark:text-indigo-400 mb-1">
29-
Inertia.js,
30-
</div>
31-
<div class="text-6xl text-green-500 dark:text-green-400 text-emerald font-bold mb-4">
32-
& PrimeVue
33-
</div>
34-
<p class="mt-0 mb-4 text-muted-color leading-normal">
35-
A starter kit using
36-
<Button
37-
class="p-0 no-underline"
38-
variant="link"
39-
as="a"
40-
label="Laravel"
41-
href="https://laravel.com/docs/master"
42-
target="_blank"
43-
rel="noopener"
44-
/>,
45-
<Button
46-
class="p-0 no-underline"
47-
variant="link"
48-
as="a"
49-
label="Inertia.js"
50-
href="https://inertiajs.com/"
51-
target="_blank"
52-
rel="noopener"
53-
/>, and
54-
<Button
55-
class="p-0 no-underline"
56-
variant="link"
57-
as="a"
58-
label="PrimeVue"
59-
href="https://primevue.org/"
60-
target="_blank"
61-
rel="noopener"
62-
/>.
63-
</p>
64-
<template v-if="page.props.auth.user">
65-
<InertiaLink :href="route('dashboard')">
66-
<Button
67-
label="Dashboard"
68-
class="mr-4"
69-
>
70-
<template #icon>
71-
<LayoutGrid />
72-
</template>
73-
</Button>
74-
</InertiaLink>
75-
<InertiaLink :href="route('profile.edit')">
22+
<Container fluid>
23+
<div class="min-h-full">
24+
<div class="h-screen flex items-center justify-center">
25+
<Card pt:body:class="p-4 py-6 sm:p-12">
26+
<template #content>
27+
<div class="text-center md:text-left">
28+
<span class="block text-6xl font-bold text-red-500 dark:text-red-400 mb-1">Laravel,</span>
29+
<div class="text-6xl font-bold text-indigo-500 dark:text-indigo-400 mb-1">
30+
Inertia.js,
31+
</div>
32+
<div class="text-6xl text-green-500 dark:text-green-400 text-emerald font-bold mb-4">
33+
& PrimeVue
34+
</div>
35+
<p class="mt-0 mb-4 text-muted-color leading-normal">
36+
A starter kit using
7637
<Button
77-
outlined
78-
label="Profile Settings"
79-
class="mr-4"
80-
>
81-
<template #icon>
82-
<Settings />
83-
</template>
84-
</Button>
85-
</InertiaLink>
86-
</template>
87-
<template v-else>
88-
<InertiaLink :href="route('login')">
38+
class="p-0 no-underline"
39+
variant="link"
40+
as="a"
41+
label="Laravel"
42+
href="https://laravel.com/docs/master"
43+
target="_blank"
44+
rel="noopener"
45+
/>,
8946
<Button
90-
label="Login"
91-
class="mr-4"
92-
>
93-
<template #icon>
94-
<LogIn />
95-
</template>
96-
</Button>
97-
</InertiaLink>
98-
<InertiaLink :href="route('register')">
47+
class="p-0 no-underline"
48+
variant="link"
49+
as="a"
50+
label="Inertia.js"
51+
href="https://inertiajs.com/"
52+
target="_blank"
53+
rel="noopener"
54+
/>, and
9955
<Button
100-
outlined
101-
label="Register"
102-
class="mr-4"
103-
>
104-
<template #icon>
105-
<UserPlus />
106-
</template>
107-
</Button>
108-
</InertiaLink>
109-
</template>
110-
<div class="mt-6">
111-
<p class="m-0 text-sm text-muted-color">
112-
Laravel v{{ laravelVersion }} (PHP v{{
113-
phpVersion
114-
}})
56+
class="p-0 no-underline"
57+
variant="link"
58+
as="a"
59+
label="PrimeVue"
60+
href="https://primevue.org/"
61+
target="_blank"
62+
rel="noopener"
63+
/>.
11564
</p>
65+
<template v-if="page.props.auth.user">
66+
<InertiaLink :href="route('dashboard')">
67+
<Button
68+
label="Dashboard"
69+
class="mr-4"
70+
>
71+
<template #icon>
72+
<LayoutGrid />
73+
</template>
74+
</Button>
75+
</InertiaLink>
76+
<InertiaLink :href="route('profile.edit')">
77+
<Button
78+
outlined
79+
label="Profile Settings"
80+
class="mr-4"
81+
>
82+
<template #icon>
83+
<Settings />
84+
</template>
85+
</Button>
86+
</InertiaLink>
87+
</template>
88+
<template v-else>
89+
<InertiaLink :href="route('login')">
90+
<Button
91+
label="Login"
92+
class="mr-4"
93+
>
94+
<template #icon>
95+
<LogIn />
96+
</template>
97+
</Button>
98+
</InertiaLink>
99+
<InertiaLink :href="route('register')">
100+
<Button
101+
outlined
102+
label="Register"
103+
class="mr-4"
104+
>
105+
<template #icon>
106+
<UserPlus />
107+
</template>
108+
</Button>
109+
</InertiaLink>
110+
</template>
111+
<div class="mt-6">
112+
<p class="m-0 text-sm text-muted-color">
113+
Laravel v{{ laravelVersion }} (PHP v{{
114+
phpVersion
115+
}})
116+
</p>
117+
</div>
116118
</div>
117-
</div>
118-
</template>
119-
</Card>
119+
</template>
120+
</Card>
121+
</div>
120122
</div>
121-
</div>
123+
</Container>
122124
</template>

resources/js/pages/auth/ForgotPassword.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ onMounted(() => {
4949

5050
<template #subtitle>
5151
<div class="text-center">
52-
Enter your email to receive a password reset link
52+
Enter your email address to receive a password reset link
5353
</div>
5454
</template>
5555

@@ -58,7 +58,7 @@ onMounted(() => {
5858
@submit.prevent="submit"
5959
>
6060
<div class="flex flex-col gap-2">
61-
<label for="email">Email</label>
61+
<label for="email">Email address</label>
6262
<InputText
6363
id="email"
6464
ref="email-input"

resources/js/pages/auth/Login.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ onMounted(() => {
6565
@submit.prevent="submit"
6666
>
6767
<div class="flex flex-col gap-2">
68-
<label for="email">Email</label>
68+
<label for="email">Email address</label>
6969
<InputText
7070
id="email"
7171
ref="email-input"

resources/js/pages/auth/Register.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ onMounted(() => {
6666
</div>
6767

6868
<div class="flex flex-col gap-2">
69-
<label for="email">Email</label>
69+
<label for="email">Email address</label>
7070
<InputText
7171
id="email"
7272
v-model="registerForm.email"

resources/js/pages/auth/ResetPassword.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ onMounted(() => {
5555
@submit.prevent="submit"
5656
>
5757
<div class="flex flex-col gap-2">
58-
<label for="email">Email</label>
58+
<label for="email">Email address</label>
5959
<InputText
6060
id="email"
6161
ref="email-input"

resources/js/pages/settings/Password.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const updatePassword = () => {
124124
</Message>
125125
</div>
126126
<div class="flex flex-col gap-2">
127-
<label for="password-confirmation">Confirm Password</label>
127+
<label for="password-confirmation">Confirm New Password</label>
128128
<Password
129129
v-model="updatePasswordForm.password_confirmation"
130130
:invalid="Boolean(updatePasswordForm.errors?.password_confirmation)"

resources/js/pages/settings/Profile.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const updateProfileInformation = () => {
8989
</Message>
9090
</div>
9191
<div class="flex flex-col gap-2">
92-
<label for="email">Email</label>
92+
<label for="email">Email address</label>
9393
<InputText
9494
id="email"
9595
v-model="updateProfileForm.email"

0 commit comments

Comments
 (0)