diff options
| author | Bertrand Yuan <bert.yuan@outlook.com> | 2025-12-16 00:25:04 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-16 00:25:04 +0800 |
| commit | 39c83fbb69ef06d2d56790d75abc254ba7e34394 (patch) | |
| tree | dd006593448c3500bdcb414af3b4656f7a7683d4 /src/app/(main)/(home)/_components/call-to-action.tsx | |
| parent | 48b07bc308a35734a6a7a305c8fdccbfa47de7d8 (diff) | |
| parent | 785371bb3eccca455e5ce5fccbe9b6e3752a03f6 (diff) | |
Merge pull request #1 from bertyuan/feat-introduce-payloadv1.0
Feat: introduce payload
Diffstat (limited to 'src/app/(main)/(home)/_components/call-to-action.tsx')
| -rw-r--r-- | src/app/(main)/(home)/_components/call-to-action.tsx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/app/(main)/(home)/_components/call-to-action.tsx b/src/app/(main)/(home)/_components/call-to-action.tsx new file mode 100644 index 0000000..b75298e --- /dev/null +++ b/src/app/(main)/(home)/_components/call-to-action.tsx @@ -0,0 +1,23 @@ +import { NewsletterForm } from '@/components/newsletter-form'; +import { Section } from '@/components/section'; +import type React from 'react'; + +export function CTA(): React.ReactElement { + return ( + <Section className='relative grid gap-8 px-4 py-10 sm:grid-cols-2 md:py-14 lg:px-6 lg:py-16'> + <div className='max-w-xl space-y-2'> + <h2 className='font-semibold text-2xl md:text-3xl lg:text-4xl'> + Subscribe to the Newsletter + </h2> + <p className='text-muted-foreground text-sm md:text-base'> + Get the latest articles and updates delivered straight to your inbox. + No spam, unsubscribe anytime. + </p> + </div> + + <div className='flex w-full items-center'> + <NewsletterForm /> + </div> + </Section> + ); +} |
