add photos on home

This commit is contained in:
Tykayn 2020-12-18 15:16:19 +01:00 committed by tykayn
parent 8014836878
commit 2fa54ba4ab
4 changed files with 14 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

View File

@ -1,9 +1,12 @@
<template> <template>
<footer class="footer" ref="footer"> <footer class="footer" ref="footer">
<!-- <img :src="`/img/pics/footer_${random}.jpg`" alt="" />-->
<a href="https://openstreetmap.fr">
OpenStreetMap.fr
<!-- <img :src="`/img/pics/footer_${random}.jpg`" alt="" />-->
<a href="https://openstreetmap.fr">
<h1 class="title is-1">
OpenStreetMap.fr
</h1>
</a> </a>
<ul> <ul>
<li> <li>
@ -26,14 +29,14 @@
<a slot="mobilizon" href="https://joinmobilizon.org">{{ $t("Mobilizon") }}</a> <a slot="mobilizon" href="https://joinmobilizon.org">{{ $t("Mobilizon") }}</a>
<span slot="date">{{ new Date().getFullYear() }}</span> <span slot="date">{{ new Date().getFullYear() }}</span>
<a href="https://joinmobilizon.org/hall-of-fame" slot="contributors">{{ <a href="https://joinmobilizon.org/hall-of-fame" slot="contributors">{{
$t("more than 1360 contributors") $t("more than 1360 contributors")
}}</a> }}</a>
</i18n> </i18n>
</div> </div>
</footer> </footer>
</template> </template>
<script lang="ts"> <script lang="ts">
import { Component, Vue } from "vue-property-decorator"; import {Component, Vue} from "vue-property-decorator";
import RouteName from "../router/name"; import RouteName from "../router/name";
@Component @Component
@ -80,6 +83,7 @@ footer.footer {
li { li {
display: inline-flex; display: inline-flex;
margin: auto 5px; margin: auto 5px;
a { a {
font-size: 1.1rem; font-size: 1.1rem;
} }

View File

@ -54,7 +54,7 @@
</div> </div>
<div id="picture" v-if="config && (!currentUser.id || !currentActor.id)"> <div id="picture" v-if="config && (!currentUser.id || !currentActor.id)">
<div class="picture-container"> <div class="picture-container">
<img src="/img/pics/2020-10-06-mobilizon-illustration-A_homepage.jpg" alt="" /> <img src="/img/pics/Heidelberg_Altstadt_Schloss_Luftbild.JPG" alt="photo Heidelberg_Altstadt_Schloss_Luftbild" />
</div> </div>
<div class="container section"> <div class="container section">
<div class="columns"> <div class="columns">
@ -168,6 +168,8 @@
<b-message v-else type="is-danger">{{ $t("No events found") }}</b-message> <b-message v-else type="is-danger">{{ $t("No events found") }}</b-message>
</section> </section>
</div> </div>
<img width="100%" src="/img/pics/SOTM_2019_Group_Photo.jpg" alt="photo Heidelberg_Altstadt_Schloss_Luftbild"/>
</div> </div>
</template> </template>
@ -477,7 +479,7 @@ section.hero {
#featured_events { #featured_events {
padding: 1rem 0; padding: 1rem 0;
min-height: calc(100vh - 400px); min-height: calc(50vh - 400px);
z-index: 10; z-index: 10;
.title { .title {