Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
176 changes: 157 additions & 19 deletions frontend/src/routeTree.gen.ts
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -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<FileRouteTypes>()

/* ROUTE_MANIFEST_START
{
Expand Down
8 changes: 4 additions & 4 deletions frontend/src/routes/pricing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -393,16 +393,16 @@ function PricingPage() {
/>

<div className="w-full max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 flex justify-center">
<div className="inline-flex items-center gap-3 px-4 py-1 rounded-full bg-black/50 backdrop-blur-sm border border-white/10">
<div className="flex items-center gap-1.5 text-[#F7931A] text-sm font-light">
<Bitcoin className="w-3.5 h-3.5" />
<div className="inline-flex items-center gap-4 px-6 py-2.5 rounded-full bg-black/50 backdrop-blur-sm border border-white/10">
<div className="flex items-center gap-2 text-[#F7931A] text-base font-light">
<Bitcoin className="w-4.5 h-4.5" />
<span>Pay with Bitcoin</span>
</div>
<Switch
id="bitcoin-toggle"
checked={useBitcoin}
onCheckedChange={setUseBitcoin}
className="data-[state=checked]:bg-[#F7931A] scale-75"
className="data-[state=checked]:bg-[#F7931A] scale-100"
/>
</div>
</div>
Expand Down