* chore: fix prettier error
* refactor: migrate to ES modules and update global constants handling
- Changed the global constants definition to use Object.assign for better clarity.
- Replaced usage of `isDev` with `__DEV__` throughout the codebase for consistency.
- Updated imports to use ES module syntax, including dynamic imports where necessary.
- Removed the deprecated `env.ts` file and adjusted related logic in the build scripts.
- Ensured compatibility with ES module format in various files, including Vite and API client configurations.
Signed-off-by: Innei <tukon479@gmail.com>
* refactor(api): migrate handler to ES module syntax
- Updated the API handler to use ES module export syntax.
- Removed commented-out configuration for Node.js runtime.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(404): enhance 404 page with animations and improve accessibility
- Replaced `motion` components with `m` shorthand for better readability.
- Introduced animation controls for various elements on the 404 page to enhance user experience.
- Updated the glitch text array for consistency.
- Adjusted layout and styling for improved visual presentation.
- Removed unused `framer-lazy-feature` file and updated `MotionProvider` to use `domMax` for performance optimization.
Signed-off-by: Innei <tukon479@gmail.com>
* feat(og): replace Folo text with SVG logo in OGCanvas component
- Updated the OGCanvas component to replace the static "Folo" text with a new LogoText SVG component for improved branding.
- Added the LogoText function that defines the SVG structure for the logo.
Signed-off-by: Innei <tukon479@gmail.com>
* refactor(tsdown): update font imports to use dynamic loading
- Modified font imports in `tsdown.config.ts` to utilize dynamic loading with `then` for improved performance and error handling.
- Introduced a no-operation function to handle the promise resolution of font imports.
Signed-off-by: Innei <tukon479@gmail.com>
* refactor(404): replace Jotai provider with RootProviders for improved context management
- Updated the 404 component to use `RootProviders` instead of the Jotai store provider for better context handling.
- Simplified the component structure while maintaining functionality.
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>