mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-08-30 14:10:42 +02:00
nicer message, button instead of blank page
This commit is contained in:
@@ -7,8 +7,12 @@
|
|||||||
<p class="mb-3 text-body-1">
|
<p class="mb-3 text-body-1">
|
||||||
<strong>You're about to join Discord</strong>
|
<strong>You're about to join Discord</strong>
|
||||||
</p>
|
</p>
|
||||||
|
<p class="mb-3 text-body-2">
|
||||||
|
DeFlock's Discord is a space for individuals and groups to meet and collaborate to campaign against mass surveillance infrastructure.
|
||||||
|
</p>
|
||||||
<v-alert color="warning" variant="outlined" class="mb-4">
|
<v-alert color="warning" variant="outlined" class="mb-4">
|
||||||
<b>Law enforcement</b> and <b>Flock employees</b> actively monitor the Discord server. Please act accordingly.
|
<b>Law enforcement</b> and <b>Flock employees</b> actively monitor the Discord server. Please act accordingly.
|
||||||
|
|
||||||
</v-alert>
|
</v-alert>
|
||||||
<p class="text-caption text-medium-emphasis mb-2">
|
<p class="text-caption text-medium-emphasis mb-2">
|
||||||
If you understand the risks and wish to continue, click <strong>Proceed</strong> below.
|
If you understand the risks and wish to continue, click <strong>Proceed</strong> below.
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<DefaultLayout>
|
<DefaultLayout>
|
||||||
<div class="loading-container">
|
<v-container class="narrow-text text-center">
|
||||||
(Intentionally blank)
|
<h1 class="mb-4">Join the DeFlock Discord</h1>
|
||||||
</div>
|
<v-btn color="primary" size="large" rounded @click="showDialog = true">
|
||||||
|
<v-icon start>mdi-discord</v-icon>
|
||||||
|
Join Discord
|
||||||
|
</v-btn>
|
||||||
|
</v-container>
|
||||||
|
|
||||||
<DiscordWarningDialog
|
<DiscordWarningDialog
|
||||||
v-model="showDialog"
|
v-model="showDialog"
|
||||||
@@ -29,14 +33,3 @@ function handleProceed(url: string) {
|
|||||||
window.open(url, '_blank');
|
window.open(url, '_blank');
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
.loading-container {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
min-height: 60vh;
|
|
||||||
font-size: 1.1rem;
|
|
||||||
color: var(--df-text-color);
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user