10 Commits
Author SHA1 Message Date
DIYgod 110960a6f0 fix(ssr): restore shared user profiles 2026-07-25 15:06:20 +08:00
Innei 8db25e6157 Merge remote-tracking branch 'origin/dev' into mobile-main
Signed-off-by: Innei <tukon479@gmail.com>
2025-10-24 14:59:18 +08:00
Innei 49ef017af5 fix(ssr): jsx transformer error
Signed-off-by: Innei <tukon479@gmail.com>
2025-09-20 15:15:58 +08:00
Innei a9d70a9900 refactor(legal): remove legal package and update references
- Deleted the `@follow/legal` package and its associated files, including privacy and terms of service documents.
- Updated various components to remove dependencies on the legal package, replacing modal presentations with direct links to external privacy and terms pages.
- Adjusted configuration files and routes to reflect the removal of legal utilities, ensuring a cleaner codebase.

These changes streamline the project by eliminating unnecessary dependencies and improving the user experience with direct access to legal documents.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-24 01:46:30 +08:00
Innei 3cd4eebddd feat(footer): add PoweredByFooter component for enhanced branding
- Introduced a new PoweredByFooter component to display copyright information and social media links.
- Updated layout and styling for better responsiveness and visual appeal.
- Removed the old PoweredByFooter implementation from the internal components.

These changes collectively enhance the user experience by providing a consistent branding element across the application.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-12 23:18:59 +08:00
DIYgod 912866fabe feat: ssr layout 2025-07-10 18:59:26 +08:00
Innei db53bdb468 fix: ssr server move to esm (#3994)
* 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>
2025-06-24 13:16:20 +08:00
0-o0 3578188e02 fix(ssr):can't follow system theme switch issuse (#3917) 2025-06-13 22:59:48 +08:00
Innei 6981be9480 feat(ssr): implement custom 404 page and enhance error handling
- Replaced the existing NotFound component with a new 404 page featuring animations and improved user experience.
- Updated routing to utilize the new 404 component for better error handling.
- Introduced a NotFoundError class and a callNotFound function to streamline error management across the application.
- Refactored metadata fetching to handle not found scenarios gracefully.

Signed-off-by: Innei <tukon479@gmail.com>
2025-06-05 00:18:16 +08:00
Innei 3e84f73aec chore: extract ssr as single app
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-03 20:01:18 +08:00