@goweekdays/layer-common 1.6.5 → 1.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/package.json +1 -1
- package/pages/forgot-password.vue +11 -6
- package/pages/index.vue +11 -8
- package/pages/login.vue +4 -4
- package/pages/logout.vue +1 -1
- package/pages/sign-up/index.vue +9 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @goweekdays/layer-common
|
|
2
2
|
|
|
3
|
+
## 1.6.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6b7ec6c: Update font size
|
|
8
|
+
|
|
9
|
+
## 1.6.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 808fa70: Fix landing page
|
|
14
|
+
|
|
15
|
+
## 1.6.6
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- f1d28fa: Fix login and sign up page button and font size
|
|
20
|
+
|
|
3
21
|
## 1.6.5
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<v-row
|
|
2
|
+
<v-row
|
|
3
|
+
no-gutters
|
|
4
|
+
class="fill-height pa-4"
|
|
5
|
+
justify="center"
|
|
6
|
+
align-content="center"
|
|
7
|
+
>
|
|
3
8
|
<v-col cols="12" class="mb-6">
|
|
4
9
|
<v-row no-gutters justify="center">
|
|
5
10
|
<nuxt-link
|
|
6
|
-
class="text-h2 font-weight-bold text-decoration-none"
|
|
11
|
+
class="text-h3 text-sm-h2 font-weight-bold text-decoration-none"
|
|
7
12
|
style="color: unset"
|
|
8
13
|
:to="{ name: 'index' }"
|
|
9
14
|
>
|
|
@@ -38,14 +43,14 @@
|
|
|
38
43
|
variant="tonal"
|
|
39
44
|
:disabled="!isValid"
|
|
40
45
|
rounded="xl"
|
|
41
|
-
size="large"
|
|
46
|
+
size="x-large"
|
|
42
47
|
>
|
|
43
48
|
submit
|
|
44
49
|
</v-btn>
|
|
45
50
|
</v-row>
|
|
46
51
|
</v-col>
|
|
47
52
|
|
|
48
|
-
<v-col cols="12" class="mt-2 text-center">
|
|
53
|
+
<v-col cols="12" class="mt-2 text-center font-weight-bold text-h6">
|
|
49
54
|
All good? <nuxt-link :to="{ name: 'login' }">Login</nuxt-link>
|
|
50
55
|
</v-col>
|
|
51
56
|
</v-row>
|
|
@@ -68,8 +73,8 @@ const message = ref("");
|
|
|
68
73
|
async function submit(email = "") {
|
|
69
74
|
message.value = "";
|
|
70
75
|
try {
|
|
71
|
-
|
|
72
|
-
|
|
76
|
+
const result = await forgotPassword(email);
|
|
77
|
+
message.value = result.message;
|
|
73
78
|
} catch (error: any) {
|
|
74
79
|
message.value = error.response?._data?.message || "An error occurred.";
|
|
75
80
|
}
|
package/pages/index.vue
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<v-row
|
|
2
|
+
<v-row
|
|
3
|
+
no-gutters
|
|
4
|
+
class="fill-height pa-4"
|
|
5
|
+
justify="center"
|
|
6
|
+
align-content="center"
|
|
7
|
+
>
|
|
3
8
|
<v-col cols="12" class="text-center">
|
|
4
|
-
<span class="text-h3 text-sm-
|
|
5
|
-
APP_NAME
|
|
6
|
-
}}</span>
|
|
9
|
+
<span class="text-h3 text-sm-h1 font-weight-bold">{{ APP_NAME }}</span>
|
|
7
10
|
</v-col>
|
|
8
11
|
|
|
9
12
|
<v-col cols="12" class="text-center mt-6" v-if="currentUser">
|
|
@@ -45,20 +48,20 @@
|
|
|
45
48
|
|
|
46
49
|
<v-col cols="12" class="text-center mt-6" v-else>
|
|
47
50
|
<v-row justify="center">
|
|
48
|
-
<v-col cols="
|
|
51
|
+
<v-col cols="6" lg="2" md="3" sm="4">
|
|
49
52
|
<v-btn
|
|
50
53
|
block
|
|
51
|
-
class="text-
|
|
54
|
+
class="text-capitalize font-weight-bold text-h6"
|
|
52
55
|
rounded="xl"
|
|
53
56
|
variant="tonal"
|
|
54
|
-
size="large"
|
|
57
|
+
size="x-large"
|
|
55
58
|
:to="{ name: 'login' }"
|
|
56
59
|
>
|
|
57
60
|
Login
|
|
58
61
|
</v-btn>
|
|
59
62
|
</v-col>
|
|
60
63
|
|
|
61
|
-
<v-col cols="12">
|
|
64
|
+
<v-col cols="12" class="text-h6 font-weight-medium">
|
|
62
65
|
Don't have an account?
|
|
63
66
|
<nuxt-link :href="`${APP_MAIN}/sign-up`">Sign up</nuxt-link>
|
|
64
67
|
</v-col>
|
package/pages/login.vue
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<v-col cols="12">
|
|
16
16
|
<v-row no-gutters justify="center">
|
|
17
17
|
<nuxt-link
|
|
18
|
-
class="text-
|
|
18
|
+
class="text-h3 text-sm-h2 text-md-h2 text-lg-h2 text-xl-h2 font-weight-bold text-decoration-none"
|
|
19
19
|
style="color: unset"
|
|
20
20
|
:to="{ name: 'index' }"
|
|
21
21
|
>
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
variant="tonal"
|
|
60
60
|
:disabled="!isValid"
|
|
61
61
|
rounded="xl"
|
|
62
|
-
size="large"
|
|
62
|
+
size="x-large"
|
|
63
63
|
class="text-none"
|
|
64
64
|
:loading="loading"
|
|
65
65
|
>
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
</v-row>
|
|
69
69
|
</v-col>
|
|
70
70
|
|
|
71
|
-
<v-col cols="12" class="text-center font-weight-bold mt-4">
|
|
71
|
+
<v-col cols="12" class="text-center font-weight-bold mt-4 text-h6">
|
|
72
72
|
<nuxt-link
|
|
73
73
|
:to="{ name: 'forgot-password' }"
|
|
74
74
|
class="text-decoration-none text-primary"
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
variant="flat"
|
|
89
89
|
color="black"
|
|
90
90
|
rounded="xl"
|
|
91
|
-
size="large"
|
|
91
|
+
size="x-large"
|
|
92
92
|
class="text-none"
|
|
93
93
|
:to="{ name: 'sign-up' }"
|
|
94
94
|
>
|
package/pages/logout.vue
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<v-row no-gutters class="fill-height" justify="center" align-content="center">
|
|
3
|
-
<v-col cols="12" class="mt-2 text-center font-weight-bold">
|
|
3
|
+
<v-col cols="12" class="mt-2 text-center font-weight-bold text-h6">
|
|
4
4
|
You have been logged out.
|
|
5
5
|
<nuxt-link :to="{ name: 'login' }">Login</nuxt-link>
|
|
6
6
|
</v-col>
|
package/pages/sign-up/index.vue
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<v-row
|
|
2
|
+
<v-row
|
|
3
|
+
no-gutters
|
|
4
|
+
class="fill-height pa-8"
|
|
5
|
+
justify="center"
|
|
6
|
+
align-content="center"
|
|
7
|
+
>
|
|
3
8
|
<v-col cols="12" lg="3" md="4" sm="6">
|
|
4
9
|
<v-form
|
|
5
10
|
v-model="valid"
|
|
@@ -10,7 +15,7 @@
|
|
|
10
15
|
<v-col cols="12">
|
|
11
16
|
<v-row no-gutters justify="center">
|
|
12
17
|
<nuxt-link
|
|
13
|
-
class="text-h2 font-weight-bold text-decoration-none"
|
|
18
|
+
class="text-h3 text-sm-h2 font-weight-bold text-decoration-none"
|
|
14
19
|
style="color: unset"
|
|
15
20
|
:to="{ name: 'index' }"
|
|
16
21
|
>
|
|
@@ -57,7 +62,7 @@
|
|
|
57
62
|
variant="tonal"
|
|
58
63
|
:disabled="!valid"
|
|
59
64
|
rounded="xl"
|
|
60
|
-
size="large"
|
|
65
|
+
size="x-large"
|
|
61
66
|
class="text-none"
|
|
62
67
|
:loading="loading"
|
|
63
68
|
>
|
|
@@ -75,7 +80,7 @@
|
|
|
75
80
|
variant="flat"
|
|
76
81
|
color="black"
|
|
77
82
|
rounded="xl"
|
|
78
|
-
size="large"
|
|
83
|
+
size="x-large"
|
|
79
84
|
class="text-none"
|
|
80
85
|
:to="{ name: 'login' }"
|
|
81
86
|
>
|