Compare commits

...

4 Commits

Author SHA1 Message Date
c0b8e50045 footer links 2021-05-27 10:04:02 +02:00
265f31817b footer links 2021-05-27 09:19:14 +02:00
4a46f10843 readme description 2021-05-27 09:16:19 +02:00
3afd08cdb9 up runtime for osm fr 2021-05-25 11:14:25 +02:00
3 changed files with 74 additions and 19 deletions

View File

@ -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,

View File

@ -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

View File

@ -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;