Skip to content

Commit 0b6be48

Browse files
committed
more improvements
1 parent fd117e4 commit 0b6be48

File tree

4 files changed

+17
-32
lines changed

4 files changed

+17
-32
lines changed

resources/js/Layouts/Admin/AuthenticatedLayout.vue

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ onMounted(() => {
8888
<div>
8989
<LinksBreadcrumb
9090
:model="breadcrumbs"
91-
class="py-3 lg:py-5"
91+
class="py-4"
9292
/>
9393
</div>
9494
<div>
@@ -103,27 +103,6 @@ onMounted(() => {
103103
</Container>
104104
</nav>
105105

106-
<!-- Page Title -->
107-
<section v-if="pageTitle">
108-
<Container
109-
fluid
110-
class="my-4 md:my-8"
111-
>
112-
<div class="flex items-end justify-between flex-wrap">
113-
<div>
114-
<h1 class="font-bold text-2xl md:text-3xl leading-tight">
115-
{{ pageTitle }}
116-
</h1>
117-
</div>
118-
<div>
119-
<div v-if="$slots.titleEnd">
120-
<slot name="titleEnd" />
121-
</div>
122-
</div>
123-
</div>
124-
</Container>
125-
</section>
126-
127106
<!-- Page Content -->
128107
<main
129108
id="page-content"

resources/js/Pages/Admin/Dashboard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<InertiaHead title="Dashboard" />
33
<AuthenticatedAdminLayout>
44
<Container
5+
vertical
56
fluid
6-
class="py-4 md:py-8"
77
>
88
<div>
99
<Card>

resources/js/Pages/Admin/Profile/Edit.vue

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,16 @@ const breadcrumbs = [
2424
<template>
2525
<InertiaHead :title="pageTitle" />
2626

27-
<AuthenticatedAdminLayout
28-
:page-title="pageTitle"
29-
:breadcrumbs="breadcrumbs"
30-
>
31-
<Container fluid>
27+
<AuthenticatedAdminLayout :breadcrumbs="breadcrumbs">
28+
<Container
29+
vertical
30+
fluid
31+
>
32+
<PageTitleSection>
33+
<template #title>
34+
{{ pageTitle }}
35+
</template>
36+
</PageTitleSection>
3237
<div class="space-y-4 md:space-y-8">
3338
<Card :pt="{
3439
body: {

resources/js/Pages/Admin/Users/Index.vue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,11 @@ const {
5454
<template>
5555
<InertiaHead :title="pageTitle" />
5656

57-
<AuthenticatedAdminLayout
58-
:breadcrumbs="breadcrumbs"
59-
>
60-
<Container vertical fluid>
57+
<AuthenticatedAdminLayout :breadcrumbs="breadcrumbs">
58+
<Container
59+
vertical
60+
fluid
61+
>
6162
<PageTitleSection>
6263
<template #title>
6364
{{ pageTitle }}

0 commit comments

Comments
 (0)