Skip to content

Commit e2893d8

Browse files
committed
Run prettier
1 parent 5813ef2 commit e2893d8

20 files changed

Lines changed: 6194 additions & 3278 deletions

File tree

web/app/components/BlogSidebar.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ const appStore = useAppStore();
1717
<a
1818
class="text-decoration-none"
1919
href="https://github.com/NdoleStudio/httpsms"
20-
>open source</a>
20+
>open source</a
21+
>
2122
application that converts your android phone into an SMS gateway so you
2223
can send and receive SMS messages using a simple HTTP API.
2324
</p>

web/app/components/CopyButton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async function copy() {
4040
<template>
4141
<v-btn
4242
:disabled="disabled"
43-
:color="disabled? 'default': color"
43+
:color="disabled ? 'default' : color"
4444
:size="smAndDown ? 'small' : large ? 'large' : 'default'"
4545
:block="block"
4646
variant="flat"

web/app/components/FirebaseAuth.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function handleError(error: unknown, isSocial = false) {
129129
:disabled="loading"
130130
@click="signInWithGoogle"
131131
>
132-
<v-icon color="red" :icon="mdiGoogle" class="mr-2" />
132+
<v-icon color="red" :icon="mdiGoogle" class="mr-2" />
133133
Continue with Google
134134
</v-btn>
135135

@@ -214,7 +214,10 @@ function handleError(error: unknown, isSocial = false) {
214214
Terms of Service
215215
</a>
216216
and
217-
<a :href="appStore.appData.url + '/privacy-policy'" class="text-decoration-none">
217+
<a
218+
:href="appStore.appData.url + '/privacy-policy'"
219+
class="text-decoration-none"
220+
>
218221
Privacy Policy.</a
219222
>
220223
</p>

web/app/components/MessageThread.vue

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
<script setup lang="ts">
22
import { useDisplay } from "vuetify";
3-
import {
4-
mdiPlus,
5-
mdiDownload,
6-
mdiCheckAll,
7-
mdiCheck,
8-
mdiAlert,
9-
} from "@mdi/js";
3+
import { mdiPlus, mdiDownload, mdiCheckAll, mdiCheck, mdiAlert } from "@mdi/js";
104
import { formatPhoneNumber } from "~/utils/filters";
115
import type { MessageThread } from "~~/shared/types/message-thread";
126
@@ -164,4 +158,3 @@ function onInstallApp() {
164158
</v-list>
165159
</div>
166160
</template>
167-

web/app/components/MessageThreadHeader.vue

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,7 @@ async function logout() {
8080
</script>
8181

8282
<template>
83-
<v-sheet
84-
class="pa-4 d-flex"
85-
:elevation="lgAndUp ? 0 : 2"
86-
color="black"
87-
>
83+
<v-sheet class="pa-4 d-flex" :elevation="lgAndUp ? 0 : 2" color="black">
8884
<div :class="{ 'px-2': mdAndDown }">
8985
<v-toolbar-title>
9086
<div class="d-flex pt-2" style="width: 245px">
@@ -148,7 +144,11 @@ async function logout() {
148144
<v-icon :icon="mdiDotsVertical" />
149145
</v-btn>
150146
</template>
151-
<v-list class="pa-0" :density="mdAndDown ? 'compact' : 'default'" prepend-gap="20">
147+
<v-list
148+
class="pa-0"
149+
:density="mdAndDown ? 'compact' : 'default'"
150+
prepend-gap="20"
151+
>
152152
<v-list-item @click.prevent="toggleArchive">
153153
<template #prepend>
154154
<v-icon
@@ -181,7 +181,9 @@ async function logout() {
181181
</v-list-item>
182182
<v-list-item :to="{ name: 'phone-api-keys' }">
183183
<template #prepend><v-icon :icon="mdiCellphoneKey" /></template>
184-
<v-list-item-title :class="{'pr-16': lgAndUp}">Phone API Keys</v-list-item-title>
184+
<v-list-item-title :class="{ 'pr-16': lgAndUp }"
185+
>Phone API Keys</v-list-item-title
186+
>
185187
</v-list-item>
186188
<v-list-item
187189
v-if="phonesStore.owner"

web/app/components/Toast.vue

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

1414
<template>
1515
<v-snackbar
16-
variant="tonal"
16+
variant="tonal"
1717
v-model="notificationActive"
1818
:color="notificationsStore.notification.type"
1919
:timeout="notificationsStore.notification.timeout"

web/app/layouts/website.vue

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ function goToPricing() {
2828
} else {
2929
router.push("/").then(() => {
3030
setTimeout(() => {
31-
document.getElementById("pricing")?.scrollIntoView({ behavior: "smooth" });
31+
document
32+
.getElementById("pricing")
33+
?.scrollIntoView({ behavior: "smooth" });
3234
}, 300);
3335
});
3436
}
@@ -41,11 +43,14 @@ function goToPricing() {
4143
<v-container>
4244
<v-row>
4345
<v-col class="w-full d-flex">
44-
<NuxtLink
45-
to="/"
46-
class="text-decoration-none d-flex"
47-
>
48-
<v-avatar color="#121212" class="mt-6 pa-1" rounded="0" :image="'/img/logo.svg'" :size="38" />
46+
<NuxtLink to="/" class="text-decoration-none d-flex">
47+
<v-avatar
48+
color="#121212"
49+
class="mt-6 pa-1"
50+
rounded="0"
51+
:image="'/img/logo.svg'"
52+
:size="38"
53+
/>
4954
<h3
5055
v-if="lgAndUp"
5156
class="text-headline-large mb-0 ml-1 mt-6 text-white"
@@ -118,7 +123,13 @@ function goToPricing() {
118123
<v-row>
119124
<v-col cols="12" md="3">
120125
<NuxtLink to="/" class="text-decoration-none d-flex mt-n6">
121-
<v-avatar color="#212121" class="mt-8 pa-1" rounded="0" :image="'/img/logo.svg'" :size="38" />
126+
<v-avatar
127+
color="#212121"
128+
class="mt-8 pa-1"
129+
rounded="0"
130+
:image="'/img/logo.svg'"
131+
:size="38"
132+
/>
122133
<h3 class="text-headline-large ml-1 mb-0 text-white">httpSMS</h3>
123134
</NuxtLink>
124135
<div class="text-title-medium mb-4 text-medium-emphasis">

0 commit comments

Comments
 (0)