Skip to content

Commit eaf5c94

Browse files
committed
added scroll and navs
1 parent a5486f4 commit eaf5c94

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

app/globals.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
@tailwind base;
22
@tailwind components;
3-
@tailwind utilities;
3+
@tailwind utilities;
4+
5+
html {
6+
scroll-behavior: smooth;
7+
}

app/page.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ export default function App() {
1818
<div className="border-t border-l border-r border-dashed border-neutral-400 p-1 md:p-1 mx-12">
1919
<Work/>
2020
</div>
21-
<div className="border-t border-l border-r border-dashed border-neutral-400 p-1 md:p-1 mx-12">
21+
<div id="features" className="border-t border-l border-r border-dashed border-neutral-400 p-1 md:p-1 mx-12">
2222
<Features/>
2323
</div>
24-
<div className="border-t border-l border-r border-dashed border-neutral-400 p-1 md:p-1 mx-12">
24+
<div id="reviews" className="border-t border-l border-r border-dashed border-neutral-400 p-1 md:p-1 mx-12">
2525
<Testimonial/>
2626
</div>
2727
<div className="border-t border-l border-r border-dashed border-neutral-400 p-1 md:p-1 mx-12">

0 commit comments

Comments
 (0)