repod/src/views/Discover.vue

56 lines
972 B
Vue
Raw Normal View History

2023-07-02 16:30:42 +00:00
<template>
<div class="main">
<p>
2023-07-03 06:42:00 +00:00
<NcTextField :value.sync="search" :label="t('repod', '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-03 14:57:35 +00:00
<ul v-if="!search">
<NcAppNavigationNewItem :title="t('', 'Add a RSS link')">
<template #icon>
<Plus size="20" />
</template>
</NcAppNavigationNewItem>
</ul>
2023-07-02 16:30:42 +00:00
</div>
</template>
<script>
2023-07-03 14:57:35 +00:00
import { NcAppNavigationNewItem, NcTextField } from '@nextcloud/vue'
2023-07-02 16:30:42 +00:00
import Magnify from 'vue-material-design-icons/Magnify.vue'
2023-07-03 14:57:35 +00:00
import Plus from 'vue-material-design-icons/Plus.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: {
Magnify,
2023-07-03 14:57:35 +00:00
NcAppNavigationNewItem,
2023-07-02 16:30:42 +00:00
NcTextField,
2023-07-03 14:57:35 +00:00
Plus,
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
}
},
computed: {
},
async mounted() {
},
methods: {
},
}
</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>