footer links
This commit is contained in:
parent
265f31817b
commit
c0b8e50045
@ -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,64 +103,26 @@
|
||||
</li>
|
||||
</ul>
|
||||
<div class="content has-text-centered">
|
||||
<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>
|
||||
<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>
|
||||
|
||||
<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";
|
||||
|
||||
@ -136,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