This commit is contained in:
les
2020-07-29 02:18:46 +02:00
parent 2dc6e7adb3
commit 24a99d0eb0
8 changed files with 39 additions and 38 deletions

View File

@@ -1,10 +1,9 @@
<template lang="pug">
v-card.h-event.event.mt-1
nuxt-link(:to='`/event/${event.id}`')
v-img.align-end(:src="`/media/thumb/${event.image_path}`"
gradient="to bottom, rgba(255,255,255,.1), rgba(255,255,255,.9)"
height="250" position="top top"
:class="settings['theme.is_dark']?'light--text':'dark--text'")
v-img.align-end.white--text(:src="`/media/thumb/${event.image_path}`"
gradient="to bottom, rgba(0,0,0,.1), rgba(0,0,0,.7)"
height="250" position="top top")
v-card-title {{event.title}}
//- v-list-item
v-list-item-content
@@ -20,12 +19,15 @@
v-card-actions
v-chip.ml-1(v-for='tag in event.tags' link :key='tag' outlined color='primary' small) {{tag}}
v-spacer
v-btn(icon)
v-icon mdi-bookmark
v-btn(icon color='yellow')
//- v-btn(icon color='yellow')
v-icon mdi-share-variant
v-btn(icon color='primary' nuxt :to='`/event/${event.id}`')
v-icon mdi-chevron-right
v-menu(offset-y)
template(v-slot:activator="{on}")
v-btn(icon v-on='on' color='primary')
v-icon mdi-dots-vertical
v-list
v-list-item
v-list-item-title test
//- <!-- //- v-card.event.h-event.mt-1(max-width="400")
//- p ciao

View File

@@ -1,9 +1,9 @@
<template lang='pug'>
div
p(v-html="$t('event.follow_me_description', { title: settings.title, account: `@${settings.instance_name}@${domain}`})")
el-input(v-model='instance_hostname' ref='instance')
v-text-field(v-model='instance_hostname' ref='instance')
a(slot='append' :href='link' target='_blank')
el-button(:disabled='(!couldGo || !proceed)' plain type="primary" icon='el-icon-document') {{$t("common.follow")}}
v-btn(:disabled='(!couldGo || !proceed)' plain type="primary" icon='el-icon-document') {{$t("common.follow")}}
p.mt-2 <img class='instance_thumb' :src="instance.thumbnail"/> {{instance.title}}
</template>
<script>

View File

@@ -10,9 +10,6 @@
v-btn(small @click='resetLogo') Reset
v-img(:src='`${settings.baseurl}/favicon.ico?${logoKey}`'
max-width="100px" max-height="80px" contain)
//- el-button-group
el-button(size='small' type='primary' plain) Select file
el-button(size='small' type='success' plain @click='resetLogo') Reset
v-switch.mt-5(v-model='is_dark'
inset