brutalism design
This commit is contained in:
22
new-client/src/widgets/channel-list/ui/ChannelList.vue
Normal file
22
new-client/src/widgets/channel-list/ui/ChannelList.vue
Normal file
@@ -0,0 +1,22 @@
|
||||
<template>
|
||||
<div class="channel-list">
|
||||
<ul class="channel-list__list">
|
||||
<ChannelItem v-for="channel in channels" :key="channel.id" :channel="channel" />
|
||||
</ul>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { qChannelList } from '../api/qChannelList.ts'
|
||||
import ChannelItem from './ChannelItem.vue'
|
||||
|
||||
const { data: channels } = qChannelList()
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.channel-list {
|
||||
> *:not(:last-child) {
|
||||
margin-bottom: var(--space-6);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user