Spaces:
Paused
Paused
ML Intern deploy
Deploy httpSMS gateway to Hugging Face Spaces (Docker SDK): nginx :7860 -> Go API :8000, Nuxt SPA, Android APK, bootstrap-mode entrypoint
83a59ca Download web/app/pages/threads/index.vue from red-kit/httpsms-gateway: direct link, hf CLI and curl.
- Browser
- Download file 1.51 kB
-
https://huggingface.co/spaces/red-kit/httpsms-gateway/resolve/main/web/app/pages/threads/index.vue
- Command line
-
hf download hf://spaces/red-kit/httpsms-gateway/web/app/pages/threads/index.vue
-
curl -L -o index.vue https://huggingface.co/spaces/red-kit/httpsms-gateway/resolve/main/web/app/pages/threads/index.vue
1.51 kB
| <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> | |