diff --git a/app/Livewire/Layouts/AppLayout.php b/app/Livewire/Layouts/AppLayout.php new file mode 100644 index 0000000..b6f21d7 --- /dev/null +++ b/app/Livewire/Layouts/AppLayout.php @@ -0,0 +1,13 @@ +bound('current_workspace') ? app('current_workspace') : null; + $nav = [ + ['label' => 'Dashboard', 'route' => 'dashboard', 'icon' => '⊞'], + ['label' => 'Links', 'route' => 'links.index', 'icon' => '↗'], + ['label' => 'QR Codes', 'route' => 'qr.index', 'icon' => '▦'], + ['label' => 'Link-in-Bio', 'route' => 'bio.index', 'icon' => '≡'], + ['label' => 'Analytics', 'route' => 'analytics.index', 'icon' => '↑'], + ['label' => 'Domains', 'route' => 'domains.index', 'icon' => '◎'], + ['label' => 'Settings', 'route' => 'settings.index', 'icon' => '⚙'], + ]; +@endphp + diff --git a/resources/views/components/topbar.blade.php b/resources/views/components/topbar.blade.php new file mode 100644 index 0000000..b17c108 --- /dev/null +++ b/resources/views/components/topbar.blade.php @@ -0,0 +1,14 @@ +
+
+ {{ $title ?? '' }} +
+
+ @auth + {{ auth()->user()->email }} +
+ @csrf + +
+ @endauth +
+
diff --git a/resources/views/layouts/nimuli-app.blade.php b/resources/views/layouts/nimuli-app.blade.php new file mode 100644 index 0000000..bb5f11f --- /dev/null +++ b/resources/views/layouts/nimuli-app.blade.php @@ -0,0 +1,23 @@ + + + + + + + {{ $title ?? 'Nimuli' }} + @vite(['resources/css/app.css', 'resources/js/app.js']) + @livewireStyles + + +
+ +
+ +
+ {{ $slot }} +
+
+
+ @livewireScripts + +