├── src ├── routes │ ├── auth │ │ ├── +page.svelte │ │ ├── login │ │ │ ├── +page.server.ts │ │ │ └── +page.svelte │ │ ├── success │ │ │ └── +page.svelte │ │ ├── create-account │ │ │ ├── +page.server.ts │ │ │ └── +page.svelte │ │ └── forgot-password │ │ │ └── +page.svelte │ ├── dashboard │ │ ├── +page.svelte │ │ ├── [slug] │ │ │ ├── +page.ts │ │ │ ├── [subslug] │ │ │ │ ├── +page.ts │ │ │ │ └── +page.svelte │ │ │ └── +page.svelte │ │ ├── +layout.server.ts │ │ └── +layout.svelte │ ├── +layout.server.ts │ ├── +layout.svelte │ └── +page.svelte ├── lib │ ├── index.ts │ ├── supabase.ts │ └── leftnavoptions │ │ ├── Title1.svelte │ │ ├── SectionsMinimal.svelte │ │ ├── SectionsUI.svelte │ │ ├── Avatar.svelte │ │ ├── SectionsIcons.svelte │ │ ├── SectionsLine.svelte │ │ └── LeftAlert.svelte ├── app.css ├── stores │ ├── navigation.ts │ └── leftNavData.ts ├── app.html └── app.d.ts ├── .npmrc ├── .prettierignore ├── static ├── favicon.png ├── forest.jpg └── productimage.png ├── postcss.config.js ├── .prettierrc ├── vite.config.ts ├── .gitignore ├── tsconfig.json ├── svelte.config.js ├── README.md ├── tailwind.config.ts └── package.json /src/routes/auth/+page.svelte: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | engine-strict=true 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | # Package Managers 2 | package-lock.json 3 | pnpm-lock.yaml 4 | yarn.lock 5 | -------------------------------------------------------------------------------- /src/lib/index.ts: -------------------------------------------------------------------------------- 1 | // place files you want to import through the `$lib` alias in this folder. 2 | -------------------------------------------------------------------------------- /static/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomaslappenbusch/svelte-5-dashboard/HEAD/static/favicon.png -------------------------------------------------------------------------------- /static/forest.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomaslappenbusch/svelte-5-dashboard/HEAD/static/forest.jpg -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {} 5 | } 6 | }; 7 | -------------------------------------------------------------------------------- /src/app.css: -------------------------------------------------------------------------------- 1 | @import 'tailwindcss/base'; 2 | @import 'tailwindcss/components'; 3 | @import 'tailwindcss/utilities'; 4 | -------------------------------------------------------------------------------- /src/stores/navigation.ts: -------------------------------------------------------------------------------- 1 | import { writable } from 'svelte/store'; 2 | 3 | export const isNavOpen = writable(true); -------------------------------------------------------------------------------- /static/productimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thomaslappenbusch/svelte-5-dashboard/HEAD/static/productimage.png -------------------------------------------------------------------------------- /src/lib/supabase.ts: -------------------------------------------------------------------------------- 1 | import { createClient } from '@supabase/supabase-js' 2 | 3 | export const supabase = createClient( 4 | import.meta.env.VITE_SUPABASE_URL, 5 | import.meta.env.VITE_SUPABASE_ANON_KEY 6 | ) -------------------------------------------------------------------------------- /src/routes/dashboard/+page.svelte: -------------------------------------------------------------------------------- 1 |
A dashboard boilerplate built with Svelte 5, Tailwind CSS, TypeScript and Supabase.
184 |© 2024 CoastalUI. All rights reserved.
210 |A CoastalUI Project
211 |