-
- Profile
-
-
-
-
-
-
-
-
-
- Profile Overview
-
-
-
-
-
-
![]()
-
-
-
- Welcome back,
-
-
- {{ user.name }}
-
-
- {{ user.role }}
-
-
-
-
-
-
-
-
- {{ stat.value }}
- {{ ' ' }}
- {{ stat.label }}
-
-
-
-
+
+
-
-
-
+
+
+
+
+
+
+ Announcements
+
+
+
-
- Quick links
-
-
-
-
-
-
-
-
-
-
- Doloribus dolores nostrum quia qui natus officia quod et dolorem. Sit
- repellendus qui ut at blanditiis et quo et molestiae.
+
+ {{ announcement.preview }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Announcements
-
-
-
-
-
-
-
-
-
-
-
-
- Recent Hires
-
-
-
- -
-
-
-
![]()
-
-
-
- {{ person.name }}
-
-
- {{ '@' + person.handle }}
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ View all
+
+
-
-
-
diff --git a/resources/js/Shared/MainMenu.vue b/resources/js/Shared/MainMenu.vue
new file mode 100644
index 0000000..97e7175
--- /dev/null
+++ b/resources/js/Shared/MainMenu.vue
@@ -0,0 +1,285 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Open main menu
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
![]()
+
+
+
+ {{ user.name }}
+
+
+ {{ user.email }}
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/resources/js/app.js b/resources/js/app.js
index 1ef93aa..9cab07a 100644
--- a/resources/js/app.js
+++ b/resources/js/app.js
@@ -1,14 +1,24 @@
import {createApp, h} from 'vue';
-import {createInertiaApp} from '@inertiajs/inertia-vue3';
+import {createInertiaApp, Head, Link} from '@inertiajs/inertia-vue3';
import {InertiaProgress} from '@inertiajs/progress';
+import Layout from '@/Shared/Layout';
createInertiaApp({
- resolve: name => require(`./Pages/${name}`),
+ resolve: name => {
+ const page = require(`./Pages/${name}`).default;
+
+ page.layout = page.layout || Layout;
+
+ return page;
+ },
setup({el, App, props, plugin}) {
createApp({render: () => h(App, props)})
.use(plugin)
+ .component('InertiaLink', Link)
+ .component('InertiaHead', Head)
.mount(el);
},
+ title: title => `${title} - Toby`,
});
InertiaProgress.init();
diff --git a/resources/views/app.blade.php b/resources/views/app.blade.php
index 90d965c..2d9199a 100644
--- a/resources/views/app.blade.php
+++ b/resources/views/app.blade.php
@@ -3,6 +3,7 @@
+
diff --git a/tailwind.config.js b/tailwind.config.js
index 40210da..cda7b7e 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -9,6 +9,20 @@ module.exports = {
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
},
+ colors: {
+ 'blumilk': {
+ '50': '#D5DFEE',
+ '100': '#C7D4E9',
+ '200': '#AABDDD',
+ '300': '#8CA7D1',
+ '400': '#6F90C6',
+ '500': '#527ABA',
+ '600': '#3C5F97',
+ '700': '#2C466F',
+ '800': '#1C2D47',
+ '900': '#0C141F'
+ },
+ }
},
},
plugins: [