Skip to content

Commit 3d4039d

Browse files
committed
refactor: move home component to page.tsx
1 parent 073aa34 commit 3d4039d

File tree

2 files changed

+21
-22
lines changed

2 files changed

+21
-22
lines changed

src/app/page.tsx

+21-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1-
export { default } from '@features/home'
1+
export default function Home() {
2+
return (
3+
<div className="w-full h-96 flex flex-col items-center justify-center pt-24 px-8">
4+
<div className="mb-12">
5+
<h3 className="text-2xl font-semibold lg:text-6xl">
6+
Welcome to <span className="text-purple-500">Frontend Garage</span>
7+
</h3>
8+
<h3 className="text-2xl font-semibold lg:text-6xl">
9+
a place for <span className={'text-blue-500'}>Learn </span>
10+
and <span className={'text-green-500'}>Growth</span>.
11+
</h3>
12+
</div>
13+
<div className="flex flex-col">
14+
<p className="mb-2">
15+
Join the community who read my free weekly Newsletter.
16+
</p>
17+
<iframe src="https://frontendgarage.substack.com/embed"></iframe>
18+
</div>
19+
</div>
20+
)
21+
}

src/features/home/index.tsx

-21
This file was deleted.

0 commit comments

Comments
 (0)