2020-08-27 14:44:21 +02:00
|
|
|
<template>
|
|
|
|
<div>
|
|
|
|
<header>
|
2020-09-02 10:17:50 +02:00
|
|
|
<interface-language-dropdown class="interface-language-dropdown"></interface-language-dropdown>
|
|
|
|
|
2020-08-27 14:44:21 +02:00
|
|
|
<h1>{{indexName}}</h1>
|
|
|
|
|
2020-09-01 11:50:55 +02:00
|
|
|
<h4 v-translate>A video index developed by <a href="https://framasoft.org" target="_blank">Framasoft</a></h4>
|
2020-08-27 14:44:21 +02:00
|
|
|
|
2020-09-02 10:17:50 +02:00
|
|
|
<img class="search-home" src="/img/search-home.png" alt="">
|
2020-08-27 14:44:21 +02:00
|
|
|
</header>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
@import '../scss/_variables';
|
|
|
|
|
|
|
|
header {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
font-family: monospace;
|
|
|
|
|
2020-09-02 10:17:50 +02:00
|
|
|
.interface-language-dropdown {
|
|
|
|
width: 20px;
|
|
|
|
position: absolute;
|
|
|
|
right: 10px;
|
|
|
|
top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-home {
|
2020-08-27 14:44:21 +02:00
|
|
|
width: 300px;
|
|
|
|
margin: 30px 0 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 50px;
|
|
|
|
margin: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 14px;
|
|
|
|
margin: 0;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #000;
|
|
|
|
font-weight: $font-semibold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: $small-screen) {
|
|
|
|
h1 {
|
|
|
|
font-size: 30px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 300px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import Vue from 'vue'
|
2020-09-02 10:17:50 +02:00
|
|
|
import InterfaceLanguageDropdown from './InterfaceLanguageDropdown.vue'
|
2020-08-27 14:44:21 +02:00
|
|
|
|
|
|
|
export default Vue.extend({
|
2020-09-02 10:17:50 +02:00
|
|
|
components: {
|
|
|
|
'interface-language-dropdown': InterfaceLanguageDropdown
|
|
|
|
},
|
2020-08-27 14:44:21 +02:00
|
|
|
props: {
|
|
|
|
indexName: String
|
|
|
|
}
|
|
|
|
})
|
|
|
|
</script>
|