File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ import { cx } from "~/utils/cva"
9
9
export const Banner = ( { className, ...props } : ComponentProps < typeof Container > ) => {
10
10
const sponsor = BANNER_SPONSOR
11
11
12
+ if ( new Date ( ) < new Date ( "2024-09-05T09:00:00Z" ) ) {
13
+ return null
14
+ }
15
+
12
16
return (
13
17
< Container
14
18
className = { cx (
Original file line number Diff line number Diff line change @@ -119,8 +119,7 @@ export function Layout({ children }: PropsWithChildren) {
119
119
enableSystem
120
120
disableTransitionOnChange
121
121
>
122
- { false && < Banner /> }
123
-
122
+ < Banner />
124
123
< Header />
125
124
126
125
< Container className = "flex min-h-[calc(100dvh-var(--header-height))] flex-col py-8 gap-8 md:gap-10 md:py-10 lg:gap-12 lg:py-12" >
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export const HOSTING_SPONSOR: SponsoringOne = {
54
54
export const BANNER_SPONSOR : SponsoringOne = {
55
55
name : "Polar" ,
56
56
description : "An open source Lemon Squeezy alternative with 20% lower fees" ,
57
- website : "https://polar.sh" ,
57
+ website : "https://polar.sh/?utm_source=openalternative.co " ,
58
58
faviconUrl : "https://s3.us-east-1.amazonaws.com/openalternative/polar/favicon.png" ,
59
59
}
60
60
You can’t perform that action at this time.
0 commit comments