Skip to content

Commit 82f0bec

Browse files
committed
formatting
1 parent 72ab31b commit 82f0bec

File tree

6 files changed

+62
-69
lines changed

6 files changed

+62
-69
lines changed

.devcontainer/devcontainer.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@
2525
"pmneo.tsimporter"
2626
],
2727
"settings": {
28-
"terminal.integrated.shell.linux": "/bin/sh"
28+
"terminal.integrated.shell.linux": "/bin/sh",
29+
"html.format.wrapAttributes": "force-expand-multiline",
30+
"[vue]": {
31+
"editor.defaultFormatter": "Vue.volar",
32+
"editor.tabSize": 4
33+
}
2934
}
3035
}
3136
},

src/components/InputErrors.vue

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ defineProps({
77
</script>
88

99
<template>
10-
<div v-if="errors" class="space-y-1">
10+
<div
11+
v-if="errors"
12+
class="space-y-1"
13+
>
1114
<Message
1215
v-for="(errorMessage, index) in errors"
1316
:key="index"

src/components/PrimeVue/LinksPanelMenu.vue

+14-16
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
<template>
2-
<PanelMenu
3-
:pt="{
4-
root: {
5-
class: 'p-0 m-0 gap-1',
6-
},
7-
panel: {
8-
class: 'p-0 border-0',
9-
},
10-
header: {
11-
class: 'p-0 border-0',
12-
},
13-
itemContent: {
14-
class: 'gap-1',
15-
},
16-
}"
17-
>
2+
<PanelMenu :pt="{
3+
root: {
4+
class: 'p-0 m-0 gap-1',
5+
},
6+
panel: {
7+
class: 'p-0 border-0',
8+
},
9+
header: {
10+
class: 'p-0 border-0',
11+
},
12+
itemContent: {
13+
class: 'gap-1',
14+
},
15+
}">
1816
<template #item="{ item, active }">
1917
<RouterLink
2018
v-if="item.route"

src/views/Welcome.vue

+7-11
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,11 @@ await authStore.fetchUser();
1010
<template>
1111
<main>
1212
<div class="h-screen flex items-center justify-center">
13-
<Card
14-
:pt="{
15-
body: {
16-
class: 'p-4 py-6 sm:p-12',
17-
},
18-
}"
19-
>
13+
<Card :pt="{
14+
body: {
15+
class: 'p-4 py-6 sm:p-12',
16+
},
17+
}">
2018
<template #content>
2119
<div class="text-center md:text-left">
2220
<section>
@@ -27,17 +25,15 @@ await authStore.fetchUser();
2725
<a
2826
href="https://laravel.com/docs/master/starter-kits#laravel-breeze"
2927
class="underline text-primary hover:text-color"
30-
>Laravel Breeze</a
31-
>
28+
>Laravel Breeze</a>
3229
authentication with the API stack,
3330
</p>
3431
<p class="mt-0 mb-6 text-muted-color leading-normal">
3532
Utilizing
3633
<a
3734
href="https://primevue.org/"
3835
class="underline text-primary hover:text-color"
39-
>PrimeVue</a
40-
>
36+
>PrimeVue</a>
4137
components in a basic SPA
4238
</p>
4339
<template v-if="authStore?.user">

src/views/error/NotFound.vue

+7-10
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
<template>
22
<main>
33
<div class="h-screen flex items-center justify-center">
4-
<Card
5-
:pt="{
6-
body: {
7-
class: 'p-4 py-6 sm:p-12',
8-
},
9-
}"
10-
>
4+
<Card :pt="{
5+
body: {
6+
class: 'p-4 py-6 sm:p-12',
7+
},
8+
}">
119
<template #content>
1210
<div class="text-center">
1311
<section>
1412
<h2 class="mb-8 font-extrabold text-9xl"> <span class="sr-only">Error</span>404 </h2>
15-
<p class="mb-8 text-2xl font-semibold md:text-3xl text-muted-color"
16-
>Sorry, we couldn't find this page.</p
17-
>
13+
<p class="mb-8 text-2xl font-semibold md:text-3xl text-muted-color">Sorry, we couldn't find
14+
this page.</p>
1815
<RouterLink :to="{ name: 'welcome' }">
1916
<Button
2017
label="Back to homepage"

src/views/profile/Edit.vue

+24-30
Original file line numberDiff line numberDiff line change
@@ -15,33 +15,29 @@ import UpdateProfileInformationForm from './partials/UpdateProfileInformationFor
1515
<Container>
1616
<div class="py-4 md:py-8">
1717
<div class="space-y-4 md:space-y-8">
18-
<Card
19-
:pt="{
20-
body: {
21-
class: 'max-w-2xl space-y-3',
22-
},
23-
caption: {
24-
class: 'space-y-1',
25-
},
26-
}"
27-
>
18+
<Card :pt="{
19+
body: {
20+
class: 'max-w-2xl space-y-3',
21+
},
22+
caption: {
23+
class: 'space-y-1',
24+
},
25+
}">
2826
<template #title>Profile Information</template>
2927
<template #subtitle> Update your account's profile information and email address. </template>
3028
<template #content>
3129
<UpdateProfileInformationForm />
3230
</template>
3331
</Card>
3432

35-
<Card
36-
:pt="{
37-
body: {
38-
class: 'max-w-2xl space-y-3',
39-
},
40-
caption: {
41-
class: 'space-y-1',
42-
},
43-
}"
44-
>
33+
<Card :pt="{
34+
body: {
35+
class: 'max-w-2xl space-y-3',
36+
},
37+
caption: {
38+
class: 'space-y-1',
39+
},
40+
}">
4541
<template #title>Update Password</template>
4642
<template #subtitle>
4743
Ensure your account is using a long, random password to stay secure.
@@ -51,16 +47,14 @@ import UpdateProfileInformationForm from './partials/UpdateProfileInformationFor
5147
</template>
5248
</Card>
5349

54-
<Card
55-
:pt="{
56-
body: {
57-
class: 'max-w-2xl space-y-3',
58-
},
59-
caption: {
60-
class: 'space-y-1',
61-
},
62-
}"
63-
>
50+
<Card :pt="{
51+
body: {
52+
class: 'max-w-2xl space-y-3',
53+
},
54+
caption: {
55+
class: 'space-y-1',
56+
},
57+
}">
6458
<template #title>Delete Account</template>
6559
<template #subtitle>
6660
Once your account is deleted, all of its resources and data will be permanently deleted.

0 commit comments

Comments
 (0)