Skip to content

Commit ff2f6a0

Browse files
committed
Fix the login page
1 parent 982c7aa commit ff2f6a0

3 files changed

Lines changed: 25 additions & 16 deletions

File tree

web/app/components/FirebaseAuth.vue

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -111,22 +111,25 @@ function handleError(error: unknown) {
111111
<div class="text-center">
112112
<v-btn
113113
block
114+
color="white"
114115
size="large"
115-
variant="outlined"
116116
class="mb-3"
117117
:loading="loading"
118+
:disabled="loading"
118119
@click="signInWithGoogle"
119120
>
120-
<v-icon :icon="mdiGoogle" class="mr-2" />
121+
<v-icon color="red" :icon="mdiGoogle" class="mr-2" />
121122
Continue with Google
122123
</v-btn>
123124

124125
<v-btn
125126
block
126127
size="large"
127-
variant="outlined"
128+
variant="flat"
129+
color="black"
128130
class="mb-3"
129131
:loading="loading"
132+
:disabled="loading"
130133
@click="signInWithGithub"
131134
>
132135
<v-icon :icon="mdiGithub" class="mr-2" />
@@ -137,12 +140,14 @@ function handleError(error: unknown) {
137140
v-if="!showEmailForm"
138141
block
139142
size="large"
140-
variant="outlined"
143+
variant="flat"
144+
color="red"
141145
class="mb-3"
146+
:disabled="loading"
142147
@click="showEmailForm = true"
143148
>
144149
<v-icon :icon="mdiEmail" class="mr-2" />
145-
Continue with Email
150+
Continue with email
146151
</v-btn>
147152

148153
<v-form v-if="showEmailForm" class="mt-4" @submit.prevent="submitEmail">
@@ -190,12 +195,17 @@ function handleError(error: unknown) {
190195
</v-form>
191196

192197
<p class="text-body-small text-medium-emphasis mt-4">
193-
By continuing, you agree to the
194-
<a :href="appStore.appData.url + '/terms-and-conditions'">
195-
Terms & Conditions
198+
By continuing, you are indicating that you accept our
199+
<a
200+
:href="appStore.appData.url + '/terms-and-conditions'"
201+
class="text-decoration-none"
202+
>
203+
Terms of Service
196204
</a>
197205
and
198-
<a :href="appStore.appData.url + '/privacy-policy'">Privacy Policy</a>
206+
<a :href="appStore.appData.url + '/privacy-policy'" class="text-decoration-none">
207+
Privacy Policy.</a
208+
>
199209
</p>
200210
</div>
201211
</template>

web/app/components/Toast.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const notificationActive = computed({
1313

1414
<template>
1515
<v-snackbar
16+
variant="tonal"
1617
v-model="notificationActive"
1718
:color="notificationsStore.notification.type"
1819
:timeout="notificationsStore.notification.timeout"

web/app/pages/login.vue

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
<script setup lang="ts">
2-
import { mdiArrowLeft } from "@mdi/js";
3-
42
definePageMeta({
53
middleware: ["guest"],
64
layout: "blank",
75
});
86
97
useHead({
10-
title: "Login To Your Account - HTTP SMS",
8+
title: "Login To Your Account - httpSMS",
119
});
1210
1311
const route = useRoute();
@@ -19,18 +17,18 @@ const to = computed(() => (route.query.to as string) || "/threads");
1917
<VRow align="center" justify="center">
2018
<VCol cols="12" md="4" xl="3" class="mt-n16">
2119
<div class="text-center mb-5">
22-
<VAvatar size="45" class="mt-n8 mr-4">
20+
<VAvatar color="#121212" size="45" rounded="0" class="mt-n8 mr-4">
2321
<VImg :src="'/img/logo.svg'" />
2422
</VAvatar>
2523
<span class="text-display-small">Welcome</span>
2624
</div>
27-
<p class="text-title-large text-center text-medium-emphasis mt-1 mb-4">
25+
<p class="text-body-large text-center text-medium-emphasis mt-1 mb-4">
2826
Join <b>23,273+</b> users who send/receive more than
2927
<br />
3028
<b>500,000</b> messages per month
3129
</p>
32-
<VCard max-width="360" class="mx-auto">
33-
<VCardText class="px-0">
30+
<VCard max-width="500" class="mx-auto pa-4">
31+
<VCardText class="px-4 pt-2 pb-0">
3432
<ClientOnly>
3533
<FirebaseAuth :to="to" />
3634
</ClientOnly>

0 commit comments

Comments
 (0)