2019-10-07 16:48:13 +02:00
|
|
|
<template>
|
2020-02-18 08:57:00 +01:00
|
|
|
<div>
|
2020-06-19 19:27:10 +02:00
|
|
|
<div class="hero intro is-small is-primary">
|
2020-02-18 08:57:00 +01:00
|
|
|
<div class="hero-body">
|
|
|
|
<div class="container">
|
|
|
|
<h1 class="title">{{ $t("About Mobilizon") }}</h1>
|
2020-06-19 19:27:10 +02:00
|
|
|
<p>
|
|
|
|
{{
|
|
|
|
$t(
|
|
|
|
"A user-friendly, emancipatory and ethical tool for gathering, organising, and mobilising."
|
|
|
|
)
|
|
|
|
}}
|
2020-02-18 08:57:00 +01:00
|
|
|
</p>
|
|
|
|
<b-button
|
|
|
|
icon-left="open-in-new"
|
|
|
|
size="is-large"
|
|
|
|
type="is-secondary"
|
|
|
|
tag="a"
|
|
|
|
href="https://joinmobilizon.org"
|
|
|
|
>{{ $t("Learn more") }}</b-button
|
|
|
|
>
|
2019-10-07 16:48:13 +02:00
|
|
|
</div>
|
2020-02-18 08:57:00 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-19 19:27:10 +02:00
|
|
|
<main class="container">
|
|
|
|
<div class="columns">
|
|
|
|
<div class="column is-one-quarter-desktop">
|
|
|
|
<aside class="menu">
|
|
|
|
<p class="menu-label">
|
|
|
|
{{ $t("About") }}
|
2020-02-18 08:57:00 +01:00
|
|
|
</p>
|
2020-06-19 19:27:10 +02:00
|
|
|
<ul class="menu-list">
|
|
|
|
<li>
|
|
|
|
<router-link :to="{ name: RouteName.ABOUT_INSTANCE }">{{
|
|
|
|
$t("About this instance")
|
|
|
|
}}</router-link>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<router-link :to="{ name: RouteName.ABOUT_MOBILIZON }">{{
|
|
|
|
$t("About Mobilizon")
|
|
|
|
}}</router-link>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<p class="menu-label">
|
|
|
|
{{ $t("Legal") }}
|
2020-02-18 08:57:00 +01:00
|
|
|
</p>
|
2020-06-19 19:27:10 +02:00
|
|
|
<ul class="menu-list">
|
|
|
|
<li>
|
|
|
|
<router-link :to="{ name: RouteName.TERMS }">{{
|
|
|
|
$t("Terms of service")
|
|
|
|
}}</router-link>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<router-link :to="{ name: RouteName.PRIVACY }">{{
|
|
|
|
$t("Privacy policy")
|
|
|
|
}}</router-link>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<router-link :to="{ name: RouteName.RULES }">{{
|
|
|
|
$t("Instance rules")
|
|
|
|
}}</router-link>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<router-link :to="{ name: RouteName.GLOSSARY }">{{ $t("Glossary") }}</router-link>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</aside>
|
2020-02-18 08:57:00 +01:00
|
|
|
</div>
|
2020-06-19 19:27:10 +02:00
|
|
|
<div class="column router">
|
|
|
|
<router-view />
|
2020-02-18 08:57:00 +01:00
|
|
|
</div>
|
2020-06-19 19:27:10 +02:00
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
|
2020-02-18 08:57:00 +01:00
|
|
|
<!-- We hide the "Find an instance button until https://joinmobilizon.org gets a instance picker -->
|
|
|
|
<div class="hero register is-primary is-medium" v-if="config && config.registrationsOpen">
|
|
|
|
<div class="hero-body">
|
|
|
|
<div class="container has-text-centered">
|
|
|
|
<div class="columns">
|
|
|
|
<div class="column">
|
2020-06-09 15:59:13 +02:00
|
|
|
<h2 class="title">{{ $t("Register on this instance") }}</h2>
|
2020-02-18 08:57:00 +01:00
|
|
|
<b-button
|
|
|
|
type="is-secondary"
|
|
|
|
size="is-large"
|
|
|
|
tag="router-link"
|
|
|
|
:to="{ name: RouteName.REGISTER }"
|
|
|
|
>{{ $t("Register") }}</b-button
|
|
|
|
>
|
|
|
|
</div>
|
|
|
|
<!-- <div class="column">
|
2019-10-07 16:48:13 +02:00
|
|
|
<h2 class="title">Find an instance</h2>
|
|
|
|
<b-button type="is-secondary" size="is-large" tag="a" href="https://joinmobilizon.org">{{ $t('Register') }}</b-button>
|
2020-02-18 08:57:00 +01:00
|
|
|
</div>-->
|
|
|
|
</div>
|
2019-10-07 16:48:13 +02:00
|
|
|
</div>
|
2020-02-18 08:57:00 +01:00
|
|
|
</div>
|
2019-10-07 16:48:13 +02:00
|
|
|
</div>
|
2020-02-18 08:57:00 +01:00
|
|
|
</div>
|
2019-10-07 16:48:13 +02:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
2020-02-18 08:57:00 +01:00
|
|
|
import { Component, Vue } from "vue-property-decorator";
|
|
|
|
import { CONFIG } from "@/graphql/config";
|
|
|
|
import { IConfig } from "@/types/config.model";
|
|
|
|
import RouteName from "../router/name";
|
2019-10-07 16:48:13 +02:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
apollo: {
|
|
|
|
config: {
|
|
|
|
query: CONFIG,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
export default class About extends Vue {
|
|
|
|
config!: IConfig;
|
|
|
|
|
|
|
|
RouteName = RouteName;
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2020-06-09 15:59:13 +02:00
|
|
|
@import "../variables.scss";
|
|
|
|
|
2020-06-17 15:54:24 +02:00
|
|
|
.hero.is-primary {
|
|
|
|
background: $background-color;
|
2020-06-09 15:59:13 +02:00
|
|
|
|
2020-06-19 19:27:10 +02:00
|
|
|
.title {
|
|
|
|
margin: 30px auto 1rem auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-bottom: 1rem;
|
2020-06-09 15:59:13 +02:00
|
|
|
}
|
|
|
|
}
|
2019-10-07 16:48:13 +02:00
|
|
|
|
2020-02-18 08:57:00 +01:00
|
|
|
.hero.register {
|
2020-06-24 10:05:22 +02:00
|
|
|
.title {
|
|
|
|
color: $violet-1;
|
|
|
|
}
|
|
|
|
background: $purple-2;
|
2020-02-18 08:57:00 +01:00
|
|
|
}
|
2019-10-07 16:48:13 +02:00
|
|
|
|
2020-06-19 19:27:10 +02:00
|
|
|
aside.menu {
|
|
|
|
position: sticky;
|
|
|
|
top: 2rem;
|
|
|
|
margin-top: 2rem;
|
2020-02-18 08:57:00 +01:00
|
|
|
}
|
2019-10-07 16:48:13 +02:00
|
|
|
|
2020-06-19 19:27:10 +02:00
|
|
|
.router.column {
|
|
|
|
background: $white;
|
|
|
|
}
|
2019-10-07 16:48:13 +02:00
|
|
|
|
2020-06-19 19:27:10 +02:00
|
|
|
ul.menu-list > li > a {
|
|
|
|
text-decoration: none;
|
2020-02-18 08:57:00 +01:00
|
|
|
}
|
|
|
|
</style>
|