Refactor authentication and account management with modular UI components (#242)

This commit is contained in:
2026-08-23 01:30:58 -04:00
committed by Aaron Po
parent 6a44afd6b6
commit bfd45842fe
109 changed files with 14743 additions and 10792 deletions

View File

@@ -1,14 +1,16 @@
import { type RouteConfig, index, route } from '@react-router/dev/routes';
export default [
index('routes/home.tsx'),
route('theme', 'routes/theme.tsx'),
route('login', 'routes/login.tsx'),
route('register', 'routes/register.tsx'),
route('logout', 'routes/logout.tsx'),
route('dashboard', 'routes/dashboard.tsx'),
route('confirm', 'routes/confirm.tsx'),
route('beers', 'routes/beers.tsx'),
route('breweries', 'routes/breweries.tsx'),
route('beer-styles', 'routes/beer-styles.tsx'),
index('features/home/routes/home.tsx'),
route('theme', 'features/theme/routes/theme.tsx'),
route('login', 'features/auth/routes/login.tsx'),
route('register', 'features/auth/routes/register.tsx'),
route('logout', 'features/auth/routes/logout.tsx'),
route('dashboard', 'features/account/routes/dashboard.tsx'),
route('account', 'features/account/routes/account.tsx'),
route('confirm', 'features/auth/routes/confirm.tsx'),
route('beers', 'features/catalog/routes/beers.tsx'),
route('breweries', 'features/breweries/routes/breweries.tsx'),
route('breweries/:id', 'features/breweries/routes/brewery-detail.tsx'),
route('beer-styles', 'features/catalog/routes/beer-styles.tsx'),
] satisfies RouteConfig;