豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit ba57c55

Browse files
authored
feat: eddiehub newletter (#287)
1 parent 7868a88 commit ba57c55

File tree

3 files changed

+21
-32
lines changed

3 files changed

+21
-32
lines changed

src/app/page.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { CallToAction } from '@/components/CallToAction'
1+
import { Newsletter } from '@/components/Newsletter'
22
import { Faqs } from '@/components/Faqs'
33
import { Footer } from '@/components/Footer'
44
import { Header } from '@/components/Header'
@@ -16,7 +16,7 @@ export default function Home() {
1616
<Hero />
1717
<PrimaryFeatures />
1818
<SecondaryFeatures />
19-
<CallToAction />
19+
<Newsletter />
2020
<Testimonials />
2121
<Moderators />
2222
<Faqs />

src/components/CallToAction.jsx

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/components/Newsletter.jsx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import { Container } from '@/components/Container'
2+
3+
export function Newsletter() {
4+
return (
5+
<section
6+
id="get-started-today"
7+
className="relative overflow-hidden bg-primary-600 py-32"
8+
>
9+
<Container className="relative">
10+
<div className="mx-auto max-w-lg text-center">
11+
<h2 className="font-display text-3xl tracking-tight text-white sm:text-4xl">
12+
Subscribe to the EddieHub Newsletter
13+
</h2>
14+
<div className="my-4"><iframe src="https://eddiehub.substack.com/embed" className='rounded' width="480" height="150" frameBorder="0" scrolling="no"></iframe></div>
15+
</div>
16+
</Container>
17+
</section>
18+
)
19+
}

0 commit comments

Comments
 (0)