mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-14 17:54:42 +00:00
Refactor authentication and account management with modular UI components (#242)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user