Complete task 7

This commit is contained in:
Thuan Bui
2025-04-03 10:48:19 +09:00
parent 03db7feece
commit 108c55abd6
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -21,6 +21,8 @@
<tr class="bg-red-100">
{{-- Task: include file resources/views/includes/row.blade.php --}}
{{-- passing the $user variable to it --}}
@include('includes.rowm', ['user' => $user])
</tr>
@endforeach
</tbody>
+1 -1
View File
@@ -6,7 +6,7 @@
<meta name="csrf-token" content="{{ csrf_token() }}">
{{-- Task: edit one file to pass $metaTitle as "Blade Test" to all views --}}
<title>{{ $metaTitle ?? 'Laravel' }}</title>
<title>{{ $metaTitle ?? 'Blade Test' }}</title>
<!-- Fonts -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap">