Skip to content

Commit 0a7a04e

Browse files
committed
Update Stripe and tailwind-merge, adjust NavBar items
Upgraded 'stripe' to 18.1.0 and 'tailwind-merge' to 2.2.1 in package files. Modified NavBar to use 'size-7' when scrolled and updated navigation constants to move 'Pricing' under demo navigation items.
1 parent 92a56af commit 0a7a04e

File tree

4 files changed

+33
-10
lines changed

4 files changed

+33
-10
lines changed

opensaas-sh/app_diff/package-lock.json.diff

Lines changed: 14 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

opensaas-sh/app_diff/package.json.diff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
"react-hot-toast": "^2.4.1",
1919
+ "react-icons": "^5.5.0",
2020
"react-router-dom": "^6.26.2",
21-
"stripe": "11.15.0",
22-
"tailwind-merge": "^2.6.0",
21+
"stripe": "18.1.0",
22+
"tailwind-merge": "^2.2.1",

opensaas-sh/app_diff/src/client/components/NavBar/NavBar.tsx.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
</div>
116116
</div>
117117
@@ -217,6 +237,6 @@
118-
'size-6': isScrolled,
118+
'size-7': isScrolled,
119119
})}
120120
src={logo}
121121
- alt='Your SaaS App'
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
--- template/app/src/client/components/NavBar/constants.ts
2+
+++ opensaas-sh/app/src/client/components/NavBar/constants.ts
3+
@@ -9,12 +9,12 @@
4+
5+
export const marketingNavigationItems: NavigationItem[] = [
6+
{ name: 'Features', to: '/#features' },
7+
- { name: 'Pricing', to: routes.PricingPageRoute.to },
8+
...staticNavigationItems,
9+
] as const;
10+
11+
export const demoNavigationitems: NavigationItem[] = [
12+
{ name: 'AI Scheduler', to: routes.DemoAppRoute.to },
13+
{ name: 'File Upload', to: routes.FileUploadRoute.to },
14+
+ { name: 'Pricing', to: routes.PricingPageRoute.to },
15+
...staticNavigationItems,
16+
] as const;

0 commit comments

Comments
 (0)