Skip to content

Commit bd55cb8

Browse files
committed
feat: added prduct hunt banner
1 parent 94c970d commit bd55cb8

File tree

2 files changed

+7
-7
lines changed
  • apps/website/components/page-components/landing-page

2 files changed

+7
-7
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ const ProductHuntBanner = ({
1818
<div className="mx-auto w-[85%] max-w-[1440px] px-2 sm:px-2">
1919
<div className="flex items-center justify-between gap-3 py-2 md:py-2.5">
2020
<a
21-
href="https://www.producthunt.com/products/gluestack?embed=true&utm_source=badge-featured&utm_medium=badge&utm_source=badge-gluestack&#0045;v3"
21+
href="https://www.producthunt.com/products/gluestack-ui-pro?embed=true&utm_source=badge-featured&utm_medium=badge&utm_source=badge-gluestack&#0045;ui&#0045;pro"
2222
target="_blank"
2323
rel="noopener noreferrer"
2424
className="shrink-0 inline-flex"
2525
>
2626
<img
27-
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=1009919&theme=light&t=1756285092927"
28-
alt="gluestack&#0032;v3 Product Hunt featured badge"
27+
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=1036836&theme=light&t=1762942861229"
28+
alt="gluestack&#0032;ui&#0032;pro Product Hunt featured badge"
2929
width="110"
3030
className="h-6 md:h-7 w-auto"
3131
/>

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
22
import { Box } from '@/components/ui/box';
33
import Header from '@/components/page-components/header';
44
import ResponsiveSidebar from '@/components/page-components/landing-page/ResponsiveSidebar';
5-
// import ProductHuntBanner from '../ProductHuntBanner';
5+
import ProductHuntBanner from '../ProductHuntBanner';
66

77
function WebsiteLayout({
88
children,
@@ -11,7 +11,7 @@ function WebsiteLayout({
1111
children: any;
1212
}) {
1313
const [isOpenSidebar, setIsOpenSidebar] = useState(false);
14-
// const [showPHBanner, setShowPHBanner] = useState(true);
14+
const [showPHBanner, setShowPHBanner] = useState(true);
1515
useEffect(() => {
1616
if (isOpenSidebar) {
1717
document.body.style.overflow = 'hidden';
@@ -46,10 +46,10 @@ function WebsiteLayout({
4646
isOpenSidebar={isOpenSidebar}
4747
setIsOpenSidebar={setIsOpenSidebar}
4848
/>
49-
{/* <ProductHuntBanner
49+
<ProductHuntBanner
5050
showPHBanner={showPHBanner}
5151
setShowPHBanner={setShowPHBanner}
52-
/> */}
52+
/>
5353
{/* Remove this later */}
5454
<Box className={` ${isOpenSidebar ? 'opacity-0' : 'opacity-100'} `}>
5555
{children}

0 commit comments

Comments
 (0)