Skip to content

Commit bd8038c

Browse files
committed
feat: add Pricing page with cost calculator and usage details
1 parent 31f3307 commit bd8038c

5 files changed

Lines changed: 772 additions & 9 deletions

File tree

src/components/global/footer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const footerSections = [
2727
{
2828
title: "Company",
2929
links: [
30+
{ label: "Pricing", href: "/pricing" },
3031
{ label: "About", href: "/about" },
3132
{ label: "Blog", href: "#" },
3233
{ label: "Careers", href: "#" },

src/components/global/header.tsx

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,12 @@ export function Header() {
1414
<Link to="/" className="flex items-center space-x-2 mr-6">
1515
<Logo />
1616
</Link>
17-
<a href="#platform" className="nav-link-3d px-3 py-1.5 text-sm font-medium text-zinc-800 transition-colors">
18-
Platform
19-
</a>
20-
<a href="#how-it-works" className="nav-link-3d px-3 py-1.5 text-sm font-medium text-zinc-800 transition-colors">
21-
How It Works
22-
</a>
23-
<a href="#use-cases" className="nav-link-3d px-3 py-1.5 text-sm font-medium text-zinc-800 transition-colors">
24-
Use Cases
25-
</a>
2617
<Link to="/docs" className="nav-link-3d px-3 py-1.5 text-sm font-medium text-zinc-800 transition-colors">
2718
Docs
2819
</Link>
20+
<Link to="/pricing" className="nav-link-3d px-3 py-1.5 text-sm font-medium text-zinc-800 transition-colors">
21+
Pricing
22+
</Link>
2923
</nav>
3024

3125
<div className="flex items-center gap-3">

src/routeTree.gen.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import { Route as rootRouteImport } from './routes/__root'
1212
import { Route as TermsRouteImport } from './routes/terms'
1313
import { Route as PrivacyRouteImport } from './routes/privacy'
14+
import { Route as PricingRouteImport } from './routes/pricing'
1415
import { Route as DocsRouteImport } from './routes/docs'
1516
import { Route as AboutRouteImport } from './routes/about'
1617
import { Route as IndexRouteImport } from './routes/index'
@@ -28,6 +29,11 @@ const PrivacyRoute = PrivacyRouteImport.update({
2829
path: '/privacy',
2930
getParentRoute: () => rootRouteImport,
3031
} as any)
32+
const PricingRoute = PricingRouteImport.update({
33+
id: '/pricing',
34+
path: '/pricing',
35+
getParentRoute: () => rootRouteImport,
36+
} as any)
3137
const DocsRoute = DocsRouteImport.update({
3238
id: '/docs',
3339
path: '/docs',
@@ -63,6 +69,7 @@ export interface FileRoutesByFullPath {
6369
'/': typeof IndexRoute
6470
'/about': typeof AboutRoute
6571
'/docs': typeof DocsRouteWithChildren
72+
'/pricing': typeof PricingRoute
6673
'/privacy': typeof PrivacyRoute
6774
'/terms': typeof TermsRoute
6875
'/docs/$': typeof DocsSplatRoute
@@ -72,6 +79,7 @@ export interface FileRoutesByFullPath {
7279
export interface FileRoutesByTo {
7380
'/': typeof IndexRoute
7481
'/about': typeof AboutRoute
82+
'/pricing': typeof PricingRoute
7583
'/privacy': typeof PrivacyRoute
7684
'/terms': typeof TermsRoute
7785
'/docs/$': typeof DocsSplatRoute
@@ -83,6 +91,7 @@ export interface FileRoutesById {
8391
'/': typeof IndexRoute
8492
'/about': typeof AboutRoute
8593
'/docs': typeof DocsRouteWithChildren
94+
'/pricing': typeof PricingRoute
8695
'/privacy': typeof PrivacyRoute
8796
'/terms': typeof TermsRoute
8897
'/docs/$': typeof DocsSplatRoute
@@ -95,6 +104,7 @@ export interface FileRouteTypes {
95104
| '/'
96105
| '/about'
97106
| '/docs'
107+
| '/pricing'
98108
| '/privacy'
99109
| '/terms'
100110
| '/docs/$'
@@ -104,6 +114,7 @@ export interface FileRouteTypes {
104114
to:
105115
| '/'
106116
| '/about'
117+
| '/pricing'
107118
| '/privacy'
108119
| '/terms'
109120
| '/docs/$'
@@ -114,6 +125,7 @@ export interface FileRouteTypes {
114125
| '/'
115126
| '/about'
116127
| '/docs'
128+
| '/pricing'
117129
| '/privacy'
118130
| '/terms'
119131
| '/docs/$'
@@ -125,6 +137,7 @@ export interface RootRouteChildren {
125137
IndexRoute: typeof IndexRoute
126138
AboutRoute: typeof AboutRoute
127139
DocsRoute: typeof DocsRouteWithChildren
140+
PricingRoute: typeof PricingRoute
128141
PrivacyRoute: typeof PrivacyRoute
129142
TermsRoute: typeof TermsRoute
130143
}
@@ -145,6 +158,13 @@ declare module '@tanstack/react-router' {
145158
preLoaderRoute: typeof PrivacyRouteImport
146159
parentRoute: typeof rootRouteImport
147160
}
161+
'/pricing': {
162+
id: '/pricing'
163+
path: '/pricing'
164+
fullPath: '/pricing'
165+
preLoaderRoute: typeof PricingRouteImport
166+
parentRoute: typeof rootRouteImport
167+
}
148168
'/docs': {
149169
id: '/docs'
150170
path: '/docs'
@@ -208,6 +228,7 @@ const rootRouteChildren: RootRouteChildren = {
208228
IndexRoute: IndexRoute,
209229
AboutRoute: AboutRoute,
210230
DocsRoute: DocsRouteWithChildren,
231+
PricingRoute: PricingRoute,
211232
PrivacyRoute: PrivacyRoute,
212233
TermsRoute: TermsRoute,
213234
}

0 commit comments

Comments
 (0)