Refactor header and layout components, remove About page, and introduce Background component for improved UI structure
This commit is contained in:
@@ -22,7 +22,6 @@ import { Route as OnboardVerifyRouteImport } from './routes/onboard/verify'
|
||||
import { Route as OnboardCreateComplexRouteImport } from './routes/onboard/create-complex'
|
||||
import { Route as OnboardCompleteRouteImport } from './routes/onboard/complete'
|
||||
import { Route as AppProfileRouteImport } from './routes/_app/profile'
|
||||
import { Route as AppAboutRouteImport } from './routes/_app/about'
|
||||
import { Route as ComplexSlugBookingRouteImport } from './routes/$complexSlug/booking'
|
||||
import { Route as AppAuthenticatedRouteRouteImport } from './routes/_app/_authenticated/route'
|
||||
import { Route as AppAuthenticatedIndexRouteImport } from './routes/_app/_authenticated/index'
|
||||
@@ -94,11 +93,6 @@ const AppProfileRoute = AppProfileRouteImport.update({
|
||||
path: '/profile',
|
||||
getParentRoute: () => AppRouteRoute,
|
||||
} as any)
|
||||
const AppAboutRoute = AppAboutRouteImport.update({
|
||||
id: '/about',
|
||||
path: '/about',
|
||||
getParentRoute: () => AppRouteRoute,
|
||||
} as any)
|
||||
const ComplexSlugBookingRoute = ComplexSlugBookingRouteImport.update({
|
||||
id: '/$complexSlug/booking',
|
||||
path: '/$complexSlug/booking',
|
||||
@@ -140,7 +134,6 @@ export interface FileRoutesByFullPath {
|
||||
'/reset-password': typeof ResetPasswordRoute
|
||||
'/select-complex': typeof SelectComplexRoute
|
||||
'/$complexSlug/booking': typeof ComplexSlugBookingRouteWithChildren
|
||||
'/about': typeof AppAboutRoute
|
||||
'/profile': typeof AppProfileRoute
|
||||
'/onboard/complete': typeof OnboardCompleteRoute
|
||||
'/onboard/create-complex': typeof OnboardCreateComplexRoute
|
||||
@@ -158,7 +151,6 @@ export interface FileRoutesByTo {
|
||||
'/login': typeof LoginRoute
|
||||
'/reset-password': typeof ResetPasswordRoute
|
||||
'/select-complex': typeof SelectComplexRoute
|
||||
'/about': typeof AppAboutRoute
|
||||
'/profile': typeof AppProfileRoute
|
||||
'/onboard/complete': typeof OnboardCompleteRoute
|
||||
'/onboard/create-complex': typeof OnboardCreateComplexRoute
|
||||
@@ -180,7 +172,6 @@ export interface FileRoutesById {
|
||||
'/select-complex': typeof SelectComplexRoute
|
||||
'/_app/_authenticated': typeof AppAuthenticatedRouteRouteWithChildren
|
||||
'/$complexSlug/booking': typeof ComplexSlugBookingRouteWithChildren
|
||||
'/_app/about': typeof AppAboutRoute
|
||||
'/_app/profile': typeof AppProfileRoute
|
||||
'/onboard/complete': typeof OnboardCompleteRoute
|
||||
'/onboard/create-complex': typeof OnboardCreateComplexRoute
|
||||
@@ -203,7 +194,6 @@ export interface FileRouteTypes {
|
||||
| '/reset-password'
|
||||
| '/select-complex'
|
||||
| '/$complexSlug/booking'
|
||||
| '/about'
|
||||
| '/profile'
|
||||
| '/onboard/complete'
|
||||
| '/onboard/create-complex'
|
||||
@@ -221,7 +211,6 @@ export interface FileRouteTypes {
|
||||
| '/login'
|
||||
| '/reset-password'
|
||||
| '/select-complex'
|
||||
| '/about'
|
||||
| '/profile'
|
||||
| '/onboard/complete'
|
||||
| '/onboard/create-complex'
|
||||
@@ -242,7 +231,6 @@ export interface FileRouteTypes {
|
||||
| '/select-complex'
|
||||
| '/_app/_authenticated'
|
||||
| '/$complexSlug/booking'
|
||||
| '/_app/about'
|
||||
| '/_app/profile'
|
||||
| '/onboard/complete'
|
||||
| '/onboard/create-complex'
|
||||
@@ -359,13 +347,6 @@ declare module '@tanstack/react-router' {
|
||||
preLoaderRoute: typeof AppProfileRouteImport
|
||||
parentRoute: typeof AppRouteRoute
|
||||
}
|
||||
'/_app/about': {
|
||||
id: '/_app/about'
|
||||
path: '/about'
|
||||
fullPath: '/about'
|
||||
preLoaderRoute: typeof AppAboutRouteImport
|
||||
parentRoute: typeof AppRouteRoute
|
||||
}
|
||||
'/$complexSlug/booking': {
|
||||
id: '/$complexSlug/booking'
|
||||
path: '/$complexSlug/booking'
|
||||
@@ -428,13 +409,11 @@ const AppAuthenticatedRouteRouteWithChildren =
|
||||
|
||||
interface AppRouteRouteChildren {
|
||||
AppAuthenticatedRouteRoute: typeof AppAuthenticatedRouteRouteWithChildren
|
||||
AppAboutRoute: typeof AppAboutRoute
|
||||
AppProfileRoute: typeof AppProfileRoute
|
||||
}
|
||||
|
||||
const AppRouteRouteChildren: AppRouteRouteChildren = {
|
||||
AppAuthenticatedRouteRoute: AppAuthenticatedRouteRouteWithChildren,
|
||||
AppAboutRoute: AppAboutRoute,
|
||||
AppProfileRoute: AppProfileRoute,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user