diff options
| author | Bobby <[email protected]> | 2026-02-27 15:27:39 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2026-02-27 15:27:39 +0530 |
| commit | f2c9b615129c4842bdaa9bdc7b33f99e873b772e (patch) | |
| tree | 0298600bc6fc53bfe8a7db7a911dd5bfbca63019 /garden/src/errors | |
| parent | e81976e219ae274c4cd8511e86d928b232de4ecf (diff) | |
| download | pagoda-f2c9b615129c4842bdaa9bdc7b33f99e873b772e.tar.xz pagoda-f2c9b615129c4842bdaa9bdc7b33f99e873b772e.zip | |
feat(garden): initialize Solid.js project with basic structure and routing
- Added package.json with dependencies for Solid.js and Vite.
- Created main application component (App) with layout and suspense handling.
- Implemented Layout component with navigation and sidebar sections.
- Added NavSection and Sidebar components for structured navigation.
- Configured API URL based on environment.
- Created 404 error page for handling non-existent routes.
- Set up global styles and theme variables for consistent design.
- Established routing with lazy loading for the 404 page.
- Added TypeScript configuration for Solid.js.
- Configured Vite for development and production builds.
- Created Makefile for building and running the Go application in the shrine directory.
- Added .gitignore for ignoring build artifacts and environment files.
Diffstat (limited to 'garden/src/errors')
| -rw-r--r-- | garden/src/errors/404.tsx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/garden/src/errors/404.tsx b/garden/src/errors/404.tsx new file mode 100644 index 0000000..03af709 --- /dev/null +++ b/garden/src/errors/404.tsx @@ -0,0 +1,10 @@ +import { A } from "@solidjs/router"; + +export default function NotFound() { + return ( + <section> + <h1>404</h1> + <p>This page does not exist. <A href="/">Return home</A>.</p> + </section> + ); +}
\ No newline at end of file |
