File tree Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import Image from "next/image";
2
2
3
3
const About = ( ) => {
4
4
return (
5
- < section className = "py-8 xl:px-24 px-10" >
5
+ < section className = "py-8 xl:px-24 px-10" id = "about" >
6
6
< div className = "text-center my-10" >
7
7
< p className = "text-[#3977F8] font-game text-xl" > 01</ p >
8
8
< h1 className = "font-bold text-6xl" > ABOUT</ h1 >
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import Navbar from "../Navbar";
2
2
3
3
const Landing = ( ) => {
4
4
return (
5
- < section className = "flex flex-col min-h-screen justify-between py-8 xl:px-24 md:px-10 px-5" >
5
+ < section className = "flex flex-col min-h-screen justify-between py-8 xl:px-24 md:px-10 px-5" id = "landing" >
6
6
< Navbar />
7
7
< div className = "flex justify-between items-end" >
8
8
< div >
Original file line number Diff line number Diff line change 1
1
import Image from "next/image" ;
2
+ import Link from "next/link" ;
2
3
3
4
const Navbar = ( ) => {
4
5
return (
5
6
< nav className = "flex justify-between items-center" >
6
- < div >
7
+ < Link href = "#landing" >
7
8
< Image src = "/assets/csesoc_logo.svg" alt = "CSESoc Logo" width = { 200 } height = { 200 } draggable = { false } />
8
9
< p className = "mt-3 text-xs" > C:\INTERNAL STRUCTURE\HOME</ p >
9
- </ div >
10
+ </ Link >
10
11
< div >
11
12
< div className = "md:flex xl:gap-36 lg:gap-20 md:gap-10 text-right font-bold hidden" >
12
- < div >
13
+ < Link href = "#about" >
13
14
< p className = "text-[0.6rem] text-[#C4C5C8]" > 01</ p >
14
15
< div > { "//" } about us</ div >
15
- </ div >
16
- < div >
16
+ </ Link >
17
+ < Link href = "#events" >
17
18
< p className = "text-[0.6rem] text-[#C4C5C8]" > 02</ p >
18
19
< div > { "//" } events</ div >
19
- </ div >
20
- < div >
20
+ </ Link >
21
+ < Link href = "#resources" >
21
22
< p className = "text-[0.6rem] text-[#C4C5C8]" > 03</ p >
22
23
< div > { "//" } resources</ div >
23
- </ div >
24
- < div >
24
+ </ Link >
25
+ < Link href = "#sponsors" >
25
26
< p className = "text-[0.6rem] text-[#C4C5C8]" > 04</ p >
26
27
< div > { "//" } sponsors</ div >
27
- </ div >
28
+ </ Link >
28
29
</ div >
29
30
</ div >
30
31
</ nav >
Original file line number Diff line number Diff line change 2
2
@tailwind components;
3
3
@tailwind utilities;
4
4
5
+ html , body {
6
+ scroll-behavior : smooth;
7
+ }
5
8
6
9
body {
7
10
color : white;
You can’t perform that action at this time.
0 commit comments