Skip to content

Commit d3a71d9

Browse files
committed
feat: change the banner for gluestack-ui pro and ancghage the product section
also add the cta
1 parent bd55cb8 commit d3a71d9

File tree

2 files changed

+19
-6
lines changed
  • apps/website/components/page-components

2 files changed

+19
-6
lines changed

apps/website/components/page-components/header/index.tsx

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ const Header = ({
8282
{
8383
href: 'https://pro.gluestack.io/?utm_source=gluestack.io&utm_medium=header&utm_campaign=site-navigation',
8484
logo: {
85-
light: GluestackProLogo,
86-
dark: GluestackProLogo,
85+
light: StarterKitLogo,
86+
dark: StarterKitLogoDark,
8787
},
88-
title: 'Gluestack Pro (Preview)',
89-
description: 'Premium React Native templates that just work.',
88+
title: 'gluestack-ui pro',
89+
description: 'The only React Native templateyou’ll ever need.',
9090
badge: {
9191
text: 'PAID',
9292
action: 'info',
@@ -452,6 +452,16 @@ const Header = ({
452452
)}
453453
</Box>
454454
</Pressable>
455+
{!pathname.includes('/docs') && (
456+
<Link
457+
href="https://pro.gluestack.io/?utm_source=gluestack.io&utm_medium=banner_docs&utm_campaign=brand-awareness"
458+
className="border border-outline-200 px-4 py-1.5 xl:flex hidden rounded"
459+
>
460+
<Text className="text-sm text-typography-900">
461+
gluestack-ui pro
462+
</Text>
463+
</Link>
464+
)}
455465
{!pathname.includes('/docs') ? (
456466
<Link
457467
href="/ui/docs"
@@ -469,7 +479,10 @@ const Header = ({
469479
Get Updates
470480
</Text>
471481
</Link>
472-
<NewsletterModal showModal={showModal} setShowModal={setShowModal}/>
482+
<NewsletterModal
483+
showModal={showModal}
484+
setShowModal={setShowModal}
485+
/>
473486
<Link
474487
href="https://rapidnative.com/?utm_source=gluestack.io&utm_medium=banner_docs&utm_campaign=brand-awareness"
475488
className="bg-primary-500 px-4 py-1.5 xl:flex hidden rounded"

apps/website/components/page-components/landing-page/ProductHuntBanner/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const ProductHuntBanner = ({
3434
We're live on Product Hunt!
3535
<span className="hidden lg:inline">
3636
{' '}
37-
· If you like gluestack, please support us.
37+
· If you like gluestack-ui pro, please support us.
3838
</span>
3939
</p>
4040
<HStack className="gap-2">

0 commit comments

Comments
 (0)