new rounded component :)
This commit is contained in:
19
app/components/dashboard/rounded_header.vue
Normal file
19
app/components/dashboard/rounded_header.vue
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
<template>
|
||||||
|
<UHeader toggle-side="left" class="rounded-full border top-3 mb-6 mx-auto">
|
||||||
|
<template #left>
|
||||||
|
<h1 class="text-xl font-bold">Dashboard</h1>
|
||||||
|
</template>
|
||||||
|
<template #toggle>
|
||||||
|
<UDashboardSidebarToggle class="rounded-xl" />
|
||||||
|
</template>
|
||||||
|
</UHeader>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts" setup>
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -122,7 +122,7 @@ import { h } from 'vue'
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<DashboardHeader title="Dashboard"/>
|
<DashboardRoundedHeader title="Dashboard"/>
|
||||||
<UContainer class="max-w-full">
|
<UContainer class="max-w-full">
|
||||||
<div class="mt-3 mb-3 flex flex-col w-full relative z-0">
|
<div class="mt-3 mb-3 flex flex-col w-full relative z-0">
|
||||||
<ProseH2 class="text-center m-0.5 w-full">Hey there, user!</ProseH2>
|
<ProseH2 class="text-center m-0.5 w-full">Hey there, user!</ProseH2>
|
||||||
|
|||||||
Reference in New Issue
Block a user