flockstr/app/(app)/explore/_sections/CreateEvents.tsx

37 lines
1.4 KiB
TypeScript
Raw Normal View History

2023-10-20 15:26:55 -04:00
"use client";
2023-10-14 12:09:44 -04:00
import Image from "next/image";
import { Button } from "@/components/ui/button";
2023-10-20 15:26:55 -04:00
import { useModal } from "@/app/_providers/modal/provider";
import CreateSubscriptionTier from "@/components/Modals/CreateSubscriptionTier";
2023-10-14 12:09:44 -04:00
export default function BecomeACreator() {
2023-10-20 15:26:55 -04:00
const modal = useModal();
2023-10-14 12:09:44 -04:00
return (
2023-10-14 18:57:37 -04:00
<div className="padded-container overflow-x-clip pb-8 max-sm:-mx-5 md:py-[120px]">
2023-10-14 12:09:44 -04:00
<div className="flex w-full flex-col items-center justify-between gap-8 lg:flex-row">
<Image
alt="creator icons"
width={512}
height={210.82}
src={
"https://whop.com/_next/image/?url=%2Fv2%2Fhomepage-whop-sellers-grid.png&w=1080&q=75"
}
className="h-44 object-cover object-bottom lg:h-auto"
/>
2023-10-14 18:57:37 -04:00
<div className="max-sm:px-5 md:self-start lg:max-w-lg lg:self-center">
2023-10-14 12:09:44 -04:00
<h2 className="font-condensed text-2xl font-bold text-foreground sm:text-3xl">
2023-10-27 20:26:51 -04:00
Create Events on Nostr
2023-10-14 12:09:44 -04:00
</h2>
<div className="mb-6 mt-2 text-muted-foreground">
2023-10-27 20:26:51 -04:00
Start organizing your events an calendar on directly on Nostr.
Seamlessly collect payments and engage with your community.
2023-10-14 12:09:44 -04:00
</div>
2023-10-20 15:26:55 -04:00
<Button onClick={() => modal?.show(<CreateSubscriptionTier />)}>
Become a Creator
</Button>
2023-10-14 12:09:44 -04:00
</div>
</div>
</div>
);
}