Compare commits
2 Commits
110cd52a95
...
82789a300a
| Author | SHA1 | Date | |
|---|---|---|---|
| 82789a300a | |||
| c04bbbc553 |
21
app/components/dashboard/rounded_header.vue
Normal file
21
app/components/dashboard/rounded_header.vue
Normal file
@@ -0,0 +1,21 @@
|
||||
<template>
|
||||
<UHeader toggle-side="left" class="rounded-full border top-3 mb-6 mx-auto">
|
||||
<template #left>
|
||||
<h1 class="text-xl font-bold">{{ props.title }}</h1>
|
||||
</template>
|
||||
<template #toggle>
|
||||
<UDashboardSidebarToggle class="rounded-xl" />
|
||||
</template>
|
||||
</UHeader>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
|
||||
const props = defineProps({
|
||||
title: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: "Title"
|
||||
}
|
||||
})
|
||||
</script>
|
||||
@@ -122,7 +122,7 @@ import { h } from 'vue'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<DashboardHeader title="Dashboard"/>
|
||||
<DashboardRoundedHeader title="Dashboard"/>
|
||||
<UContainer class="max-w-full">
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user