Skip to content

Commit 29f5d16

Browse files
committed
rename components
Took 22 minutes
1 parent 459b863 commit 29f5d16

File tree

7 files changed

+47
-48
lines changed

7 files changed

+47
-48
lines changed

resources/js/Pages/Auth/ConfirmPassword.vue

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<div class="mb-4 text-subtitle-2">
8-
{{ $t("msgs.msg2") }}
8+
{{ $t('msgs.msg2') }}
99
</div>
1010

1111
<form @submit.prevent="submit">
@@ -32,17 +32,17 @@
3232
:loading="form.processing"
3333
@click="submit"
3434
>
35-
{{ $t("forms.buttoms.confirm") }}
35+
{{ $t('forms.buttons.confirm') }}
3636
</v-btn>
3737
</v-col>
3838
</form>
3939
</authentication-card>
4040
</template>
4141

4242
<script>
43-
import AuthenticationCard from "@/components/Auth/AuthenticationCard.vue";
44-
import AuthenticationCardLogo from "@/components/Auth/AuthenticationCardLogo.vue";
45-
import AppLayout from "@/layouts/AppLayout.vue";
43+
import AuthenticationCard from '@/components/Auth/AuthenticationCard.vue'
44+
import AuthenticationCardLogo from '@/components/Auth/AuthenticationCardLogo.vue'
45+
import AppLayout from '@/layouts/AppLayout.vue'
4646
4747
export default {
4848
components: {
@@ -55,27 +55,27 @@ export default {
5555
data() {
5656
return {
5757
form: this.$inertia.form({
58-
password: "",
58+
password: '',
5959
}),
60-
};
60+
}
6161
},
6262
6363
computed: {
6464
errors() {
65-
return this.$page.props.errors;
65+
return this.$page.props.errors
6666
},
6767
6868
hasErrors() {
69-
return Object.keys(this.errors).length > 0;
69+
return Object.keys(this.errors).length > 0
7070
},
7171
},
7272
7373
methods: {
7474
submit() {
75-
this.form.post(this.route("password.confirm"), {
75+
this.form.post(this.route('password.confirm'), {
7676
onFinish: () => this.form.reset(),
77-
});
77+
})
7878
},
7979
},
80-
};
80+
}
8181
</script>

resources/js/Pages/Auth/ForgotPassword.vue

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</template>
66

77
<div class="mb-4 text-sm text-gray-600">
8-
{{ $t("msgs.msg3") }}
8+
{{ $t('msgs.msg3') }}
99
</div>
1010

1111
<div v-if="status" class="mb-4 font-medium text-sm text-green-600">
@@ -26,17 +26,17 @@
2626

2727
<div class="flex items-center justify-end mt-4">
2828
<v-btn :loading="form.processing" color="primary">
29-
{{ $t("forms.buttons.reset") }}
29+
{{ $t('forms.buttons.reset') }}
3030
</v-btn>
3131
</div>
3232
</form>
3333
</authentication-card>
3434
</template>
3535

3636
<script>
37-
import AuthenticationCard from "@/components/Auth/AuthenticationCard.vue";
38-
import AuthenticationCardLogo from "@/components/Auth/AuthenticationCardLogo.vue";
39-
import AppLayout from "@/layouts/AppLayout.vue";
37+
import AuthenticationCard from '@/components/Auth/AuthenticationCard.vue'
38+
import AuthenticationCardLogo from '@/components/Auth/AuthenticationCardLogo.vue'
39+
import AppLayout from '@/layouts/AppLayout.vue'
4040
4141
export default {
4242
components: {
@@ -49,30 +49,30 @@ export default {
4949
props: {
5050
status: {
5151
type: String,
52-
default: "",
52+
default: '',
5353
},
5454
},
5555
5656
data() {
5757
return {
5858
form: this.$inertia.form({
59-
email: "",
59+
email: '',
6060
}),
61-
};
61+
}
6262
},
6363
computed: {
6464
errors() {
65-
return this.$page.props.errors;
65+
return this.$page.props.errors
6666
},
6767
6868
hasErrors() {
69-
return Object.keys(this.errors).length > 0;
69+
return Object.keys(this.errors).length > 0
7070
},
7171
},
7272
methods: {
7373
submit() {
74-
this.form.post(this.route("password.email"));
74+
this.form.post(this.route('password.email'))
7575
},
7676
},
77-
};
77+
}
7878
</script>

resources/js/Pages/Auth/VerifyEmail.vue

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
</template>
66

77
<div class="mb-4 text-sm text-gray-600">
8-
{{ $t("msgs.msg4") }}
8+
{{ $t('msgs.msg4') }}
99
</div>
1010

1111
<div
1212
v-if="verificationLinkSent"
1313
class="mb-4 font-medium text-sm text-green-600"
1414
>
15-
{{ $t("msgs.msg5") }}
15+
{{ $t('msgs.msg5') }}
1616
</div>
1717

1818
<form @submit.prevent="submit">
1919
<div class="mt-4 flex items-center justify-between">
2020
<v-btn :loading="form.processing">
21-
{{ $t("forms.buttons.resend") }}
21+
{{ $t('forms.buttons.resend') }}
2222
</v-btn>
2323

2424
<inertia-link
@@ -27,17 +27,17 @@
2727
as="button"
2828
class="underline text-sm text-gray-600 hover:text-gray-900"
2929
>
30-
{{ $t("auth.logout") }}
30+
{{ $t('auth.logout') }}
3131
</inertia-link>
3232
</div>
3333
</form>
3434
</authentication-card>
3535
</template>
3636

3737
<script>
38-
import AuthenticationCard from "@/components/Auth/AuthenticationCard.vue";
39-
import AuthenticationCardLogo from "@/components/Auth/AuthenticationCardLogo.vue";
40-
import AppLayout from "@/layouts/AppLayout.vue";
38+
import AuthenticationCard from '@/components/Auth/AuthenticationCard.vue'
39+
import AuthenticationCardLogo from '@/components/Auth/AuthenticationCardLogo.vue'
40+
import AppLayout from '@/layouts/AppLayout.vue'
4141
4242
export default {
4343
components: {
@@ -50,7 +50,7 @@ export default {
5050
props: {
5151
status: {
5252
type: String,
53-
default: "",
53+
default: '',
5454
},
5555
},
5656
@@ -62,13 +62,13 @@ export default {
6262
6363
computed: {
6464
verificationLinkSent() {
65-
return this.status === "verification-link-sent";
65+
return this.status === 'verification-link-sent';
6666
},
6767
},
6868
6969
methods: {
7070
submit() {
71-
this.form.post(this.route("verification.send"));
71+
this.form.post(this.route('verification.send'));
7272
},
7373
},
7474
};

resources/js/components/Layout/SyrianOpenSource.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,3 @@ export default {
5555
}),
5656
};
5757
</script>
58-
59-
<style>
60-
</style>

resources/js/pages/Welcome.vue

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,33 @@
11
<template>
22
<div>
3-
<hero-sec />
3+
<hero-section />
44
<livv-stack />
55
<livv-features />
66
<syrian-open-source />
77
<v-divider />
8-
<authors-sec />
8+
<authors-section />
99
</div>
1010
</template>
1111

1212
<script>
13-
import HeroSec from "@/components/Layout/HeroSec.vue";
14-
import LivvStack from "@/components/Layout/LivvStack.vue";
15-
import LivvFeatures from "@/components/Layout/LivvFeatures.vue";
16-
import SyrianOpenSource from "@/components/Layout/SyrianOpenSource.vue";
17-
import AuthorsSec from "@/components/Layout/AuthorsSec.vue";
18-
import AppLayout from "../layouts/AppLayout.vue";
13+
import HeroSection from '@/components/Layout/HeroSection.vue'
14+
import LivvStack from '@/components/Layout/LivvStack.vue'
15+
import LivvFeatures from '@/components/Layout/LivvFeatures.vue'
16+
import SyrianOpenSource from '@/components/Layout/SyrianOpenSource.vue'
17+
import AuthorsSection from '@/components/Layout/AuthorsSection.vue'
18+
import AppLayout from '@/layouts/AppLayout.vue'
1919
2020
export default {
21-
name: "WelcomeView",
21+
name: 'WelcomeView',
22+
2223
components: {
23-
HeroSec,
24+
HeroSection,
2425
LivvStack,
2526
LivvFeatures,
2627
SyrianOpenSource,
27-
AuthorsSec,
28+
AuthorsSection,
2829
},
30+
2931
layout: AppLayout,
3032
};
3133
</script>

0 commit comments

Comments
 (0)