Compare commits

...

2 Commits

Author SHA1 Message Date
82789a300a using the new component 2026-01-30 01:52:15 +00:00
c04bbbc553 new rounded component :) 2026-01-30 01:52:02 +00:00
2 changed files with 22 additions and 1 deletions

View 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>

View File

@@ -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>