- Eliminated redundant components, pages, and layouts related to authentication (`login`, `register`, `password-reset`, etc.), user settings, admin, and demos. - Simplified the frontend structure by removing unused dynamic imports, forms, and test code. - Refactored configurations and metadata imports to exclude references to removed features. - Streamlined the project for future development and improved maintainability by discarding legacy and unused code.
11 lines
192 B
TypeScript
11 lines
192 B
TypeScript
/**
|
|
* Root page - redirects to default locale
|
|
*/
|
|
|
|
import { redirect } from 'next/navigation';
|
|
|
|
export default function RootPage() {
|
|
// Redirect to default locale (en)
|
|
redirect('/en');
|
|
}
|