Spaces:
Paused
Paused
File size: 1,513 Bytes
83a59ca | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | <script setup lang="ts">
definePageMeta({
middleware: ['auth'],
})
useHead({
title: 'Threads - httpSMS',
})
const { lgAndUp } = useVDisplay()
const authStore = useAuthStore()
const phonesStore = usePhonesStore()
const threadsStore = useThreadsStore()
onMounted(async () => {
await authStore.loadUser()
await phonesStore.loadPhones()
await threadsStore.loadThreads()
})
</script>
<template>
<VContainer class="pa-0" fluid :class="{ 'fill-height': lgAndUp }">
<VRow
v-if="lgAndUp"
align="center"
:class="{ 'fill-height': lgAndUp }"
justify="center"
>
<div :class="{ 'mt-n16': lgAndUp }">
<VImg
class="mx-auto mb-4"
:class="{ 'mt-n16': lgAndUp }"
max-height="400"
max-width="90%"
:src="'/img/person-texting.svg'"
/>
<div class="text-center">
<h3 class="text-headline-medium mt-4 mb-0">Select a Message</h3>
<p class="text-medium-emphasis mt-0">
Don't hesitate to
<a
href="https://discord.gg/kGk8HVqeEZ"
target="_blank"
class="text-decoration-none hover:text-decoration-underline"
>message us on Discord</a
>
if you have any questions
</p>
</div>
</div>
</VRow>
<VRow v-else justify="end">
<VCol class="px-0 py-0">
<MessageThreadHeader />
<MessageThread />
</VCol>
</VRow>
</VContainer>
</template>
|