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";
22
33const About = ( ) => {
44 return (
5- < section className = "py-8 xl:px-24 px-10" >
5+ < section className = "py-8 xl:px-24 px-10" id = "about" >
66 < div className = "text-center my-10" >
77 < p className = "text-[#3977F8] font-game text-xl" > 01</ p >
88 < 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";
22
33const Landing = ( ) => {
44 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" >
66 < Navbar />
77 < div className = "flex justify-between items-end" >
88 < div >
Original file line number Diff line number Diff line change 11import Image from "next/image" ;
2+ import Link from "next/link" ;
23
34const Navbar = ( ) => {
45 return (
56 < nav className = "flex justify-between items-center" >
6- < div >
7+ < Link href = "#landing" >
78 < Image src = "/assets/csesoc_logo.svg" alt = "CSESoc Logo" width = { 200 } height = { 200 } draggable = { false } />
89 < p className = "mt-3 text-xs" > C:\INTERNAL STRUCTURE\HOME</ p >
9- </ div >
10+ </ Link >
1011 < div >
1112 < div className = "md:flex xl:gap-36 lg:gap-20 md:gap-10 text-right font-bold hidden" >
12- < div >
13+ < Link href = "#about" >
1314 < p className = "text-[0.6rem] text-[#C4C5C8]" > 01</ p >
1415 < div > { "//" } about us</ div >
15- </ div >
16- < div >
16+ </ Link >
17+ < Link href = "#events" >
1718 < p className = "text-[0.6rem] text-[#C4C5C8]" > 02</ p >
1819 < div > { "//" } events</ div >
19- </ div >
20- < div >
20+ </ Link >
21+ < Link href = "#resources" >
2122 < p className = "text-[0.6rem] text-[#C4C5C8]" > 03</ p >
2223 < div > { "//" } resources</ div >
23- </ div >
24- < div >
24+ </ Link >
25+ < Link href = "#sponsors" >
2526 < p className = "text-[0.6rem] text-[#C4C5C8]" > 04</ p >
2627 < div > { "//" } sponsors</ div >
27- </ div >
28+ </ Link >
2829 </ div >
2930 </ div >
3031 </ nav >
Original file line number Diff line number Diff line change 22@tailwind components;
33@tailwind utilities;
44
5+ html , body {
6+ scroll-behavior : smooth;
7+ }
58
69body {
710 color : white;
You can’t perform that action at this time.
0 commit comments