koel/resources/assets/js/components/screens/profile.vue

38 lines
1.1 KiB
Vue
Raw Normal View History

2022-04-15 14:24:30 +00:00
<template>
<section id="profileWrapper">
2022-04-15 17:00:08 +00:00
<ScreenHeader>Profile &amp; Preferences</ScreenHeader>
2022-04-15 14:24:30 +00:00
<div class="main-scroll-wrap">
2022-04-15 17:00:08 +00:00
<ProfileForm/>
<Themes/>
<Preferences/>
<LastfmIntegration/>
2022-04-15 14:24:30 +00:00
</div>
</section>
</template>
2022-04-15 17:00:08 +00:00
<script lang="ts" setup>
import { defineAsyncComponent } from 'vue'
2022-04-15 14:24:30 +00:00
2022-04-15 17:00:08 +00:00
const ScreenHeader = defineAsyncComponent(() => import('@/components/ui/screen-header.vue'))
const ProfileForm = defineAsyncComponent(() => import('@/components/profile-preferences/profile-form.vue'))
const LastfmIntegration = defineAsyncComponent(() => import('@/components/profile-preferences/lastfm-integration.vue'))
const Preferences = defineAsyncComponent(() => import('@/components/profile-preferences/preferences.vue'))
const Themes = defineAsyncComponent(() => import('@/components/profile-preferences/themes.vue'))
2022-04-15 14:24:30 +00:00
</script>
<style lang="scss">
#profileWrapper {
.main-scroll-wrap > * + * {
margin-top: 1.75rem;
padding-top: 1.75rem;
border-top: 1px solid var(--color-background-secondary);
}
.main-scroll-wrap h1 {
font-size: 1.85rem;
margin-bottom: 1.25rem;
}
}
</style>