koel/resources/assets/js/components/screens/ProfileScreen.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-21 16:06:45 +00:00
const ScreenHeader = defineAsyncComponent(() => import('@/components/ui/ScreenHeader.vue'))
2022-04-21 22:51:48 +00:00
const ProfileForm = defineAsyncComponent(() => import('@/components/profile-preferences/ProfileForm.vue'))
const LastfmIntegration = defineAsyncComponent(() => import('@/components/profile-preferences/LastfmIntegration.vue'))
const Preferences = defineAsyncComponent(() => import('@/components/profile-preferences/PreferencesForm.vue'))
const Themes = defineAsyncComponent(() => import('@/components/profile-preferences/ThemeList.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>