Skip to content

Commit 18ea3ac

Browse files
peterfoxJubeki
andauthored
Passes the title down to the head view (#38)
* Passes the title down to the head view * Update resources/views/components/layouts/app/sidebar.blade.php Co-authored-by: Julius Kiekbusch <[email protected]> --------- Co-authored-by: Julius Kiekbusch <[email protected]>
1 parent cf109fe commit 18ea3ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

resources/views/components/layouts/app.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<x-layouts.app.sidebar>
1+
<x-layouts.app.sidebar :title="$title ?? null">
22
<flux:main>
33
{{ $slot }}
44
</flux:main>

resources/views/dashboard.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<x-layouts.app>
1+
<x-layouts.app title="Dashboard">
22
<div class="flex h-full w-full flex-1 flex-col gap-4 rounded-xl">
33
<div class="grid auto-rows-min gap-4 md:grid-cols-3">
44
<div class="relative aspect-video overflow-hidden rounded-xl border border-neutral-200 dark:border-neutral-700">

0 commit comments

Comments
 (0)