File tree Expand file tree Collapse file tree 6 files changed +30
-15
lines changed Expand file tree Collapse file tree 6 files changed +30
-15
lines changed Original file line number Diff line number Diff line change 1
1
import Background from '@/components/Background' ;
2
- import Navbar from '@/components/Navbar' ;
3
2
4
3
const Landing = ( ) => {
5
4
return (
6
5
< section
7
- className = "flex flex-col min-h-screen justify-between py-8 xl:px-24 md:px-10 px-5 relative overflow-hidden"
6
+ className = "flex flex-col min-h-screen justify-end py-8 xl:px-24 md:px-10 px-5 relative overflow-hidden"
8
7
id = "landing"
9
8
>
10
- < Navbar />
9
+
11
10
< Background />
12
11
< div className = "flex justify-between items-end" >
13
12
< div >
Original file line number Diff line number Diff line change @@ -4,10 +4,14 @@ import React from 'react';
4
4
5
5
const Layout = ( { children } : { children : React . ReactNode } ) => {
6
6
return (
7
- < section className = "flex flex-col min-h-screen justify-between py-8 xl:px-24 md:px-10 px-5 relative overflow-hidden " >
7
+ < section className = "flex flex-col min-h-screen justify-between py-8 relative" >
8
8
< Navbar />
9
- { children }
10
- < Footer />
9
+
10
+ < div className = 'xl:px-24 md:px-10 px-5 ' >
11
+ { children }
12
+ < Footer />
13
+ </ div >
14
+
11
15
</ section >
12
16
) ;
13
17
} ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const Navbar = () => {
12
12
} , [ ] ) ;
13
13
14
14
return (
15
- < nav className = "flex justify-between items-center relative z-10" >
15
+ < nav className = "sticky top-0 flex justify-between items-center relative z-10 shadow-lg rounded-md bg-black/15 backdrop-blur-md xl:px-24 md:px-10 px-5 py-6 " >
16
16
< Link href = "/" >
17
17
< Image
18
18
src = "/assets/csesoc_logo.svg"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import Navbar from '@/components/Navbar';
3
3
4
4
export default function Custom404 ( ) {
5
5
return (
6
- < section className = "flex flex-col min-h-screen justify-between py-8 xl:px-24 md:px-10 px-5 relative overflow-hidden " >
6
+ < section className = "flex flex-col min-h-screen justify-between py-8 xl:px-24 md:px-10 px-5 relative" >
7
7
< div className = "items-center text-center" >
8
8
< Navbar />
9
9
< h1 className = "text-5xl font-bold pt-24" > 404 - Page Not Found</ h1 >
Original file line number Diff line number Diff line change @@ -5,10 +5,14 @@ import Events from '@/components/Event';
5
5
6
6
export default function EventsPage ( ) {
7
7
return (
8
- < section className = "flex flex-col min-h-screen justify-between py-8 xl:px-24 md:px-10 px-5 relative overflow-hidden " >
8
+ < section className = "flex flex-col min-h-screen justify-between py-8 relative" >
9
9
< Navbar />
10
- < Events />
11
- < Footer />
10
+
11
+ < div className = 'xl:px-24 md:px-10 px-5 ' >
12
+ < Events />
13
+ < Footer />
14
+ </ div >
15
+
12
16
</ section >
13
17
) ;
14
18
}
Original file line number Diff line number Diff line change
1
+ import Navbar from '@/components/Navbar' ;
1
2
import Landing from '@/components/Landing' ;
2
3
import Sponsors from '@/components/Sponsors/index' ;
3
4
import AboutHomePage from '@/components/About/AboutHomepage' ;
@@ -6,10 +7,17 @@ import EventsBrief from '@/components/Event/EventsBrief';
6
7
export default function HomePage ( ) {
7
8
return (
8
9
< section >
9
- < Landing />
10
- < AboutHomePage />
11
- < EventsBrief />
12
- < Sponsors />
10
+ < div className = "h-8" > </ div >
11
+
12
+ < Navbar />
13
+
14
+ < div className = "-mt-36" >
15
+ < Landing />
16
+ </ div >
17
+
18
+ < AboutHomePage />
19
+ < EventsBrief />
20
+ < Sponsors />
13
21
</ section >
14
22
) ;
15
23
}
You can’t perform that action at this time.
0 commit comments