Files
auto-archiver-setup-tool/src/components/WelcomeCard.vue

81 lines
2.6 KiB
Vue

<template>
<v-container class="pane" fluid v-if="!user || !user.active">
<v-row>
<v-col>
<v-card>
<v-card-text>
<v-card-title class="text-center mb-4">
Welcome to the Auto Archiver Setup Tool
</v-card-title>
<v-alert color="#f2d97c" icon="mdi-alert">
This is a prototype demo service provided on a best-effort basis.
<br />Do not use for mission critical or sensitive data.
</v-alert>
<p>
Access to the tool has to be granted by Bellingcat's Auto Archiver team.
We only provide access to open source researchers, journalists, or other groups or individuals aligned
with Bellingcat's goals. Still, we can only provide a limited quota per user.
</p>
<p>
Do know that you can deploy
your own version of this tool by hosting the
<a href="https://github.com/bellingcat/auto-archiver-api">API</a> and
the
<a href="https://github.com/bellingcat/auto-archiver-setup-tool">UI</a>, all our code is free and open source under an MIT license.
</p>
<p>
You can always just run <a href="https://github.com/bellingcat/auto-archiver">Bellingcat's Auto Archiver</a>
locally via the command line to achieve similar results.
</p>
<div class="text-center">
<v-btn
v-if="!user && !loadingUserState"
@click="$store.dispatch('signin')"
size="large"
>Sign In</v-btn
>
</div>
<v-container
v-if="loadingUserState"
class="pane"
style="text-align: center"
>
<v-row justify="center">
<v-col cols="12">
<v-progress-circular
color="teal"
indeterminate
:size="82"
:width="7"
></v-progress-circular>
</v-col>
<v-col cols="12">
<h4>loading...</h4>
</v-col>
</v-row>
</v-container>
</v-card-text>
</v-card>
</v-col>
</v-row>
</v-container>
</template>
<script>
export default {
name: "WelcomeCard",
props: {},
computed: {
user() {
return this.$store.state.user;
},
loadingUserState() {
return this.$store.state?.loadingUserState;
},
},
};
</script>
<style scoped></style>