repod/src/views/Discover.vue

43 lines
698 B
Vue
Raw Normal View History

2023-07-02 16:30:42 +00:00
<template>
<div class="main">
<p>
2023-07-03 15:30:09 +00:00
<NcTextField :value.sync="search" :label="t('Find a podcast')">
2023-07-03 14:57:35 +00:00
<Magnify size="20" />
2023-07-02 16:30:42 +00:00
</NcTextField>
</p>
2023-07-03 06:42:00 +00:00
<Top v-if="!search" />
2023-07-07 14:35:14 +00:00
<AddRss v-if="!search" />
2023-07-02 16:30:42 +00:00
</div>
</template>
<script>
2023-07-07 14:35:14 +00:00
import AddRss from '../components/AddRss.vue'
2023-07-02 16:30:42 +00:00
import Magnify from 'vue-material-design-icons/Magnify.vue'
2023-07-07 14:35:14 +00:00
import { NcTextField } from '@nextcloud/vue'
2023-07-02 22:12:40 +00:00
import Top from '../components/Top.vue'
2023-07-02 16:30:42 +00:00
export default {
name: 'Discover',
components: {
2023-07-07 14:35:14 +00:00
AddRss,
2023-07-02 16:30:42 +00:00
Magnify,
NcTextField,
2023-07-02 22:12:40 +00:00
Top,
2023-07-02 16:30:42 +00:00
},
data() {
return {
2023-07-03 06:42:00 +00:00
search: '',
2023-07-02 16:30:42 +00:00
}
},
}
</script>
<style scoped>
2023-07-02 22:12:40 +00:00
.main {
margin: 11px 55px;
display: flex;
flex-direction: column;
2023-07-03 06:42:00 +00:00
gap: 1rem;
2023-07-02 22:12:40 +00:00
}
2023-07-02 16:30:42 +00:00
</style>