Skip to content

Commit f3d30b8

Browse files
committed
chore: wip
1 parent fa4d32a commit f3d30b8

File tree

25 files changed

+35
-43
lines changed

25 files changed

+35
-43
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<script setup lang="ts">
2+
// TODO: ensure these components are auto-imported
3+
import Sidebar from '../../../storage/framework/views/dashboard/src/components/Sidebar.stx'
4+
import MobileSidebar from '../../../storage/framework/views/dashboard/src/components/MobileSidebar.stx'
5+
import Navbar from '../../../storage/framework/views/dashboard/src/components/Navbar.stx'
6+
import Toast from '../../../storage/framework/views/dashboard/src/components/Modals/Popups/Toast.stx'
7+
</script>
8+
9+
<template>
10+
<div>
11+
<!-- Off-canvas menu for mobile, show/hide based on off-canvas menu state. -->
12+
<MobileSidebar />
13+
<Sidebar />
14+
15+
<div class="lg:pl-72">
16+
<Navbar />
17+
18+
<main class="bg-blue-gray-50 dark:bg-blue-gray-900">
19+
<RouterView />
20+
</main>
21+
22+
<Toast />
23+
</div>
24+
</div>
25+
</template>
26+
27+
<style>
28+
body {
29+
@apply dark:bg-blue-gray-900 bg-blue-gray-50;
30+
}
31+
</style>

resources/layouts/maintenance.stx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
<template>
22
<div class="bg-gray-900 h-full flex flex-col items-center justify-center">
33
<h1 class="text-gray-50 text-8xl">
4-
The XYZ Group
4+
Maintenance
55
</h1>
66
<h2 class="text-gray-200 text-3xl pt-6 italic">
7-
Coming soon, 2024—in a fresh paint.
7+
We'll be back soon!
88
</h2>
99

1010
<RouterView />
1111
</div>
1212
</template>
13-
14-
<route lang="yaml">
15-
meta:
16-
layout: home
17-
</route>

storage/framework/core/vite/src/dashboard.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,14 @@ export default defineConfig({
5757
extensions: ['.stx', '.md'],
5858
dts: p.frameworkPath('types/dashboard-router.d.ts'),
5959
routesFolder: [
60-
p.frameworkPath('views/dashboard/src/pages'),
60+
p.frameworkPath('views/dashboard/src/views'),
6161
],
6262
logs: config.app.debug || false,
6363
}),
6464

6565
layouts({
6666
extensions: ['stx'],
67-
layoutsDirs: p.frameworkPath('views/dashboard/src/layouts'),
68-
defaultLayout: p.frameworkPath('views/dashboard/src/layouts/default.stx'),
67+
layoutsDirs: p.layoutsPath('dashboard', { relative: true }),
6968
}),
7069
// autoImports(),
7170
// components(),

storage/framework/views/dashboard/src/layouts/default.stx

Lines changed: 0 additions & 33 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)