Skip to content

Commit 393f9dd

Browse files
feat(sections): add Home section
1 parent b64e31b commit 393f9dd

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

public/app.png

1.52 MB
Loading

src/components/sections/Home.astro

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1-
<section>
1+
<section class="text-center max-w-3xl mx-auto py-24 px-6">
2+
<h1 class="text-4xl md:text-6xl font-extrabold leading-tight">
3+
The NitroVim Experience
4+
</h1>
5+
<p class="text-xl text-gray-400 mt-6">
6+
Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo.
7+
Elit sunt amet fugiat veniam occaecat.
8+
</p>
29

10+
<div class="mt-8 flex justify-center gap-4">
11+
<a href="#"
12+
class="bg-black text-white px-6 py-3 rounded-lg font-medium hover:bg-indigo-600">
13+
Get started
14+
</a>
15+
<a href="#" class="text-black px-6 py-3 font-medium hover:underline">Learn more →</a>
16+
</div>
17+
</section>
18+
19+
<section class="flex justify-center items-center px-6 pb-24">
20+
<div class="border border-gray-700 rounded-2xl bg-gray-900 shadow-2xl max-w-6xl w-full overflow-hidden">
21+
<img
22+
src="/app.png"
23+
alt="App Screenshot"
24+
class="w-full h-auto object-cover"
25+
/>
26+
</div>
327
</section>

src/pages/index.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
import Layout from '../layouts/Layout.astro';
33
import Navbar from '../components/common/Navbar.astro';
44
import '../styles/global.css';
5+
import Home from '../components/sections/Home.astro';
56
---
67

78
<Layout>
89
<Navbar />
10+
<Home />
911
</Layout>

0 commit comments

Comments
 (0)