File tree 2 files changed +15
-9
lines changed
2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ function Header() {
8
8
} ;
9
9
10
10
return (
11
- < section id = "home" >
11
+ < section id = "home" className = "flex-1 flex" >
12
12
< div className = "center flex flex-col flex-1 w-screen object-cover bg-no-repeat" >
13
- < div style = { bgWrapperStyles } className = "flex flex-col z-30 left-0 w-full min-h-screen lg:pt-16 overflow-hidden" >
13
+ < div style = { bgWrapperStyles } className = "flex flex-1 flex- col z-30 left-0 w-full lg:pt-16 overflow-hidden" >
14
14
< div className = "z-20 flex flex-wrap m-auto items-center" >
15
15
< div className = "w-full h-full sm:mt-36 sm:m-auto sm:my-24 sm:px-10 sm:container lg:mt-16 m-auto lg:w-7/12 text-white flex flex-col items-center" >
16
- < img alt = "OSCAFest Title 2025" src = { homeBackground . title } className = "mb-5 lg:px-7 " />
16
+ < img alt = "OSCAFest Title 2025" src = { homeBackground . title } className = "mb-5" />
17
17
< div className = "flex flex-col w-full " >
18
18
< text className = "font-clashDisplay lg:text-5xl text-3xl text-center justify-center tracking-widest text-white w-full" >
19
19
{ " " }
@@ -24,13 +24,13 @@ function Header() {
24
24
< div className = "flex sm:flex-row flex-col mt-5 sm:mb-16 md:mb-10 lg:mb-0 lg:p-0" >
25
25
< a
26
26
27
- className = "font-clashDisplay font-bold bg-white p-6 m-4 text-lg text-black tracking-wider mx-5 w-fit flex items-center"
27
+ className = "font-clashDisplay font-bold bg-white p-6 m-4 lg: text-lg md:text-base text-black tracking-wider mx-5 w-fit flex items-center"
28
28
>
29
29
Become a Sponsor
30
30
</ a >
31
31
< a
32
32
href = "/"
33
- className = "font-clashDisplay font-bold bg-yellow-500 m-4 p-6 w-fit flex items-center text-black tracking-wider text-lg mx-5"
33
+ className = "font-clashDisplay font-bold bg-yellow-500 m-4 p-6 w-fit flex items-center text-black tracking-wider lg: text-lg md:text-base mx-5"
34
34
>
35
35
Become a Speaker
36
36
</ a >
Original file line number Diff line number Diff line change @@ -6,7 +6,13 @@ import { homeBackground } from "./cloudImages";
6
6
function Nav ( ) {
7
7
const navbgWrapperStyles = {
8
8
backgroundImage : `url(${ homeBackground . darkNavBackground } )` ,
9
- backgroundSize : "cover"
9
+ backgroundSize : "cover" ,
10
+ opacity : 0.7 ,
11
+ position : "absolute" ,
12
+ left : 0 ,
13
+ right : 0 ,
14
+ top : 0 ,
15
+ bottom : 0
10
16
} ;
11
17
const [ isExpanded , toggleExpansion ] = useState ( false ) ;
12
18
/* eslint-disable no-unused-vars */
@@ -34,11 +40,11 @@ function Nav() {
34
40
return (
35
41
< div className = "relative w-screen" >
36
42
< div
37
- className = "relative top-0 z-40 bg-white opacity-70 w-screen flex flex-wrap items-center justify-between"
38
- style = { navbgWrapperStyles }
43
+ className = "relative top-0 z-40 bg-white w-screen flex flex-wrap items-center justify-between"
39
44
/* lg:w-[74%] */
40
45
>
41
- < div className = "container flex flex-row mx-auto justify-between p-5 w-screen" >
46
+ < div style = { navbgWrapperStyles } className = "h-full" />
47
+ < div className = "container flex flex-row mx-auto justify-between p-5 w-screen h-full" >
42
48
< Link className = "z-20 flex items-center no-underline text-white" to = "/" >
43
49
< img
44
50
alt = "Open Source Community Africa's Logo"
You can’t perform that action at this time.
0 commit comments