diff --git a/frontend/src/routeTree.gen.ts b/frontend/src/routeTree.gen.ts index 341ba5ce..17037882 100644 --- a/frontend/src/routeTree.gen.ts +++ b/frontend/src/routeTree.gen.ts @@ -1,12 +1,12 @@ -/* prettier-ignore-start */ - /* eslint-disable */ // @ts-nocheck // noinspection JSUnusedGlobalSymbols -// This file is auto-generated by TanStack Router +// This file was automatically generated by TanStack Router. +// You should NOT make any changes in this file as it will be overwritten. +// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. // Import Routes @@ -27,31 +27,37 @@ import { Route as AuthChatChatIdImport } from './routes/_auth.chat.$chatId' // Create/Update Routes const SignupRoute = SignupImport.update({ + id: '/signup', path: '/signup', getParentRoute: () => rootRoute, } as any) const ProofRoute = ProofImport.update({ + id: '/proof', path: '/proof', getParentRoute: () => rootRoute, } as any) const PricingRoute = PricingImport.update({ + id: '/pricing', path: '/pricing', getParentRoute: () => rootRoute, } as any) const PasswordResetRoute = PasswordResetImport.update({ + id: '/password-reset', path: '/password-reset', getParentRoute: () => rootRoute, } as any) const LoginRoute = LoginImport.update({ + id: '/login', path: '/login', getParentRoute: () => rootRoute, } as any) const AboutRoute = AboutImport.update({ + id: '/about', path: '/about', getParentRoute: () => rootRoute, } as any) @@ -62,26 +68,31 @@ const AuthRoute = AuthImport.update({ } as any) const IndexRoute = IndexImport.update({ + id: '/', path: '/', getParentRoute: () => rootRoute, } as any) const VerifyCodeRoute = VerifyCodeImport.update({ + id: '/verify/$code', path: '/verify/$code', getParentRoute: () => rootRoute, } as any) const PasswordResetConfirmRoute = PasswordResetConfirmImport.update({ + id: '/confirm', path: '/confirm', getParentRoute: () => PasswordResetRoute, } as any) const AuthProviderCallbackRoute = AuthProviderCallbackImport.update({ + id: '/auth/$provider/callback', path: '/auth/$provider/callback', getParentRoute: () => rootRoute, } as any) const AuthChatChatIdRoute = AuthChatChatIdImport.update({ + id: '/chat/$chatId', path: '/chat/$chatId', getParentRoute: () => AuthRoute, } as any) @@ -179,22 +190,149 @@ declare module '@tanstack/react-router' { // Create and export the route tree -export const routeTree = rootRoute.addChildren({ - IndexRoute, - AuthRoute: AuthRoute.addChildren({ AuthChatChatIdRoute }), - AboutRoute, - LoginRoute, - PasswordResetRoute: PasswordResetRoute.addChildren({ - PasswordResetConfirmRoute, - }), - PricingRoute, - ProofRoute, - SignupRoute, - VerifyCodeRoute, - AuthProviderCallbackRoute, -}) - -/* prettier-ignore-end */ +interface AuthRouteChildren { + AuthChatChatIdRoute: typeof AuthChatChatIdRoute +} + +const AuthRouteChildren: AuthRouteChildren = { + AuthChatChatIdRoute: AuthChatChatIdRoute, +} + +const AuthRouteWithChildren = AuthRoute._addFileChildren(AuthRouteChildren) + +interface PasswordResetRouteChildren { + PasswordResetConfirmRoute: typeof PasswordResetConfirmRoute +} + +const PasswordResetRouteChildren: PasswordResetRouteChildren = { + PasswordResetConfirmRoute: PasswordResetConfirmRoute, +} + +const PasswordResetRouteWithChildren = PasswordResetRoute._addFileChildren( + PasswordResetRouteChildren, +) + +export interface FileRoutesByFullPath { + '/': typeof IndexRoute + '': typeof AuthRouteWithChildren + '/about': typeof AboutRoute + '/login': typeof LoginRoute + '/password-reset': typeof PasswordResetRouteWithChildren + '/pricing': typeof PricingRoute + '/proof': typeof ProofRoute + '/signup': typeof SignupRoute + '/password-reset/confirm': typeof PasswordResetConfirmRoute + '/verify/$code': typeof VerifyCodeRoute + '/chat/$chatId': typeof AuthChatChatIdRoute + '/auth/$provider/callback': typeof AuthProviderCallbackRoute +} + +export interface FileRoutesByTo { + '/': typeof IndexRoute + '': typeof AuthRouteWithChildren + '/about': typeof AboutRoute + '/login': typeof LoginRoute + '/password-reset': typeof PasswordResetRouteWithChildren + '/pricing': typeof PricingRoute + '/proof': typeof ProofRoute + '/signup': typeof SignupRoute + '/password-reset/confirm': typeof PasswordResetConfirmRoute + '/verify/$code': typeof VerifyCodeRoute + '/chat/$chatId': typeof AuthChatChatIdRoute + '/auth/$provider/callback': typeof AuthProviderCallbackRoute +} + +export interface FileRoutesById { + __root__: typeof rootRoute + '/': typeof IndexRoute + '/_auth': typeof AuthRouteWithChildren + '/about': typeof AboutRoute + '/login': typeof LoginRoute + '/password-reset': typeof PasswordResetRouteWithChildren + '/pricing': typeof PricingRoute + '/proof': typeof ProofRoute + '/signup': typeof SignupRoute + '/password-reset/confirm': typeof PasswordResetConfirmRoute + '/verify/$code': typeof VerifyCodeRoute + '/_auth/chat/$chatId': typeof AuthChatChatIdRoute + '/auth/$provider/callback': typeof AuthProviderCallbackRoute +} + +export interface FileRouteTypes { + fileRoutesByFullPath: FileRoutesByFullPath + fullPaths: + | '/' + | '' + | '/about' + | '/login' + | '/password-reset' + | '/pricing' + | '/proof' + | '/signup' + | '/password-reset/confirm' + | '/verify/$code' + | '/chat/$chatId' + | '/auth/$provider/callback' + fileRoutesByTo: FileRoutesByTo + to: + | '/' + | '' + | '/about' + | '/login' + | '/password-reset' + | '/pricing' + | '/proof' + | '/signup' + | '/password-reset/confirm' + | '/verify/$code' + | '/chat/$chatId' + | '/auth/$provider/callback' + id: + | '__root__' + | '/' + | '/_auth' + | '/about' + | '/login' + | '/password-reset' + | '/pricing' + | '/proof' + | '/signup' + | '/password-reset/confirm' + | '/verify/$code' + | '/_auth/chat/$chatId' + | '/auth/$provider/callback' + fileRoutesById: FileRoutesById +} + +export interface RootRouteChildren { + IndexRoute: typeof IndexRoute + AuthRoute: typeof AuthRouteWithChildren + AboutRoute: typeof AboutRoute + LoginRoute: typeof LoginRoute + PasswordResetRoute: typeof PasswordResetRouteWithChildren + PricingRoute: typeof PricingRoute + ProofRoute: typeof ProofRoute + SignupRoute: typeof SignupRoute + VerifyCodeRoute: typeof VerifyCodeRoute + AuthProviderCallbackRoute: typeof AuthProviderCallbackRoute +} + +const rootRouteChildren: RootRouteChildren = { + IndexRoute: IndexRoute, + AuthRoute: AuthRouteWithChildren, + AboutRoute: AboutRoute, + LoginRoute: LoginRoute, + PasswordResetRoute: PasswordResetRouteWithChildren, + PricingRoute: PricingRoute, + ProofRoute: ProofRoute, + SignupRoute: SignupRoute, + VerifyCodeRoute: VerifyCodeRoute, + AuthProviderCallbackRoute: AuthProviderCallbackRoute, +} + +export const routeTree = rootRoute + ._addFileChildren(rootRouteChildren) + ._addFileTypes() /* ROUTE_MANIFEST_START { diff --git a/frontend/src/routes/pricing.tsx b/frontend/src/routes/pricing.tsx index 184de85b..1a108f0a 100644 --- a/frontend/src/routes/pricing.tsx +++ b/frontend/src/routes/pricing.tsx @@ -393,16 +393,16 @@ function PricingPage() { />
-
-
- +
+
+ Pay with Bitcoin