perbaikan name page
This commit is contained in:
@@ -53,10 +53,12 @@
|
||||
localStorage.clear();
|
||||
goto("/login");
|
||||
}
|
||||
|
||||
let pageName = "Dashboard";
|
||||
</script>
|
||||
|
||||
<div class="flex h-screen">
|
||||
<Sidebar />
|
||||
<Sidebar {pageName} on:changePage={(e) => pageName = e.detail} />
|
||||
|
||||
<!-- Main Content -->
|
||||
<div class="flex-1 flex flex-col bg-gray-100 overflow-hidden">
|
||||
@@ -64,7 +66,7 @@
|
||||
<div
|
||||
class="flex items-center justify-between bg-white shadow px-6 py-3 border-b"
|
||||
>
|
||||
<div class="text-lg font-semibold text-gray-700">Dashboard</div>
|
||||
<div class="text-lg font-semibold text-gray-700">{pageName}</div>
|
||||
|
||||
<div class="flex items-center gap-6">
|
||||
<!-- Notifications -->
|
||||
|
||||
Reference in New Issue
Block a user