Skip to content

Commit 4ef0863

Browse files
committed
Refactored card headers in dashboard and user profile views
1 parent 4b58535 commit 4ef0863

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

resources/views/dashboard.blade.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<x-app-layout>
2-
<x-card>
3-
<x-slot:header>
4-
Welcome to the TallStackUI Starter Kit
5-
</x-slot:header>
2+
<x-card header="Welcome to the TallStackUI Starter Kit">
63
<div class="space-y-2">
74
<p>
85
👋🏻 This is the TallStackUI starter kit for Laravel 12. With this TallStackUI starter kit you will be able to enjoy a ready-to-use application to initialize your next Laravel 12 project with TallStackUI.

resources/views/livewire/user/profile.blade.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<div @updated="$dispatch('name-updated', { name: $event.detail.name })">
2-
<x-card>
3-
<x-slot:header>
4-
@lang('Edit Your Profile')
5-
</x-slot:header>
2+
<x-card :header="__('Edit Your Profile')">
63
<form id="update-profile" wire:submit="save">
74
<div class="space-y-6">
85
<div>

0 commit comments

Comments
 (0)