Compare commits
4 Commits
67d2e506f7
...
c0b8e50045
Author | SHA1 | Date | |
---|---|---|---|
c0b8e50045 | |||
265f31817b | |||
4a46f10843 | |||
3afd08cdb9 |
@ -4,7 +4,7 @@ import Config
|
||||
|
||||
config :mobilizon, Mobilizon.Web.Endpoint,
|
||||
server: true,
|
||||
url: [host: "mob.lan"],
|
||||
url: [host: "mobilizon.openstreetmap.fr"],
|
||||
http: [
|
||||
ip: {0, 0, 0, 0, 0, 0, 0, 1},
|
||||
port: 4000
|
||||
@ -16,14 +16,14 @@ config :mobilizon, Mobilizon.Web.Auth.Guardian,
|
||||
|
||||
config :mobilizon, :instance,
|
||||
name: "moblan",
|
||||
description: "Change this to a proper description of your instance",
|
||||
hostname: "mob.lan",
|
||||
registrations_open: false,
|
||||
description: "Le lieu pour se tenir au courant des évènements relatifs à OpenStreetMap",
|
||||
hostname: "mobilizon.openstreetmap.org",
|
||||
registrations_open: true,
|
||||
demo: false,
|
||||
allow_relay: true,
|
||||
federating: true,
|
||||
email_from: "noreply@mob.lan",
|
||||
email_reply_to: "noreply@mob.lan"
|
||||
email_from: "noreply@mobilizon.openstreetmap.org",
|
||||
email_reply_to: "noreply@mobilizon.openstreetmap.org"
|
||||
|
||||
config :mobilizon, Mobilizon.Storage.Repo,
|
||||
adapter: Ecto.Adapters.Postgres,
|
||||
|
@ -1,4 +1,8 @@
|
||||
# mobilizon
|
||||
|
||||
# Source de mobilizon.openstreetmap.fr
|
||||
|
||||
Thème aux couleurs d'openstreetmap fr, source du mobilizon sur https://mobilizon.openstreetmap.fr
|
||||
|
||||
|
||||
## Project setup
|
||||
|
||||
|
@ -1,6 +1,54 @@
|
||||
<template>
|
||||
<footer class="footer" ref="footer">
|
||||
<!-- <img :src="`/img/pics/footer_${random}.jpg`" alt="" />-->
|
||||
<div class="has-text-centered">
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<ul>
|
||||
<li class="footer-section-link-wrapper site-web">
|
||||
<a class="footer-section-link" href="https://openstreetmap.fr" target="">
|
||||
Site web FR
|
||||
</a>
|
||||
</li>
|
||||
<li class="footer-section-link-wrapper umap">
|
||||
<a class="footer-section-link" href="https://umap.openstreetmap.fr" target="">
|
||||
uMap
|
||||
</a>
|
||||
</li>
|
||||
<li class="footer-section-link-wrapper osmose">
|
||||
<a class="footer-section-link" href="https://osmose.openstreetmap.fr" target="">
|
||||
Osmose
|
||||
</a>
|
||||
</li>
|
||||
<li class="footer-section-link-wrapper mobilizon">
|
||||
<a class="footer-section-link" href="https://mobilizon.openstreetmap.fr/" target="">
|
||||
Mobilizon
|
||||
</a>
|
||||
</li>
|
||||
<li class="footer-section-link-wrapper peertube">
|
||||
<a class="footer-section-link" href="https://peertube.openstreetmap.fr/" target="">
|
||||
Peertube
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<div class="column">
|
||||
<ul>
|
||||
<li class="footer-section-link-wrapper site-web">
|
||||
<a class="footer-section-link" href="https://openstreetmap.org" target="">
|
||||
Openstreetmap.org
|
||||
</a>
|
||||
</li>
|
||||
<li class="footer-section-link-wrapper fondation">
|
||||
<a class="footer-section-link" href="https://wiki.osmfoundation.org/wiki/Main_Page" target="">
|
||||
Fondation
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a href="https://openstreetmap.fr">
|
||||
<h1 class="title is-1">OpenStreetMap.fr</h1>
|
||||
</a>
|
||||
@ -35,13 +83,15 @@
|
||||
</li>
|
||||
<li>
|
||||
<router-link :to="{ name: RouteName.ABOUT }">{{
|
||||
$t("About")
|
||||
}}</router-link>
|
||||
$t("About")
|
||||
}}
|
||||
</router-link>
|
||||
</li>
|
||||
<li>
|
||||
<router-link :to="{ name: RouteName.TERMS }">{{
|
||||
$t("Terms")
|
||||
}}</router-link>
|
||||
$t("Terms")
|
||||
}}
|
||||
</router-link>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
@ -53,25 +103,26 @@
|
||||
</li>
|
||||
</ul>
|
||||
<div class="content has-text-centered">
|
||||
|
||||
<i18n
|
||||
tag="span"
|
||||
path="Powered by {mobilizon}. © 2018 - {date} The Mobilizon Contributors - Made with the financial support of {contributors}."
|
||||
>
|
||||
<a slot="mobilizon" href="https://joinmobilizon.org">{{
|
||||
$t("Mobilizon")
|
||||
}}</a>
|
||||
$t("Mobilizon")
|
||||
}}</a>
|
||||
<span slot="date">{{ new Date().getFullYear() }}</span>
|
||||
<a href="https://joinmobilizon.org/hall-of-fame" slot="contributors">{{
|
||||
$t("more than 1360 contributors")
|
||||
}}</a>
|
||||
$t("more than 1360 contributors")
|
||||
}}</a>
|
||||
</i18n>
|
||||
</div>
|
||||
</footer>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { Component, Vue, Watch } from "vue-property-decorator";
|
||||
import { saveLocaleData } from "@/utils/auth";
|
||||
import { loadLanguageAsync } from "@/utils/i18n";
|
||||
import {Component, Vue, Watch} from "vue-property-decorator";
|
||||
import {saveLocaleData} from "@/utils/auth";
|
||||
import {loadLanguageAsync} from "@/utils/i18n";
|
||||
import RouteName from "../router/name";
|
||||
import langs from "../i18n/langs.json";
|
||||
|
||||
@ -97,7 +148,7 @@ export default class Footer extends Vue {
|
||||
}
|
||||
}
|
||||
|
||||
@Watch("$i18n.locale", { deep: true })
|
||||
@Watch("$i18n.locale", {deep: true})
|
||||
updateLocaleFromI18n(locale: string): void {
|
||||
if (locale) {
|
||||
this.locale = locale;
|
||||
|
Loading…
Reference in New Issue
Block a user