Skip to content

Commit a0f905b

Browse files
committed
Initial draft for OSCAFest 2025
1 parent 8c998fc commit a0f905b

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

src/components/2024/header.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ function Header() {
88
};
99

1010
return (
11-
<section id="home">
11+
<section id="home" className="flex-1 flex">
1212
<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">
1414
<div className="z-20 flex flex-wrap m-auto items-center">
1515
<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" />
1717
<div className="flex flex-col w-full ">
1818
<text className="font-clashDisplay lg:text-5xl text-3xl text-center justify-center tracking-widest text-white w-full">
1919
{" "}
@@ -24,13 +24,13 @@ function Header() {
2424
<div className="flex sm:flex-row flex-col mt-5 sm:mb-16 md:mb-10 lg:mb-0 lg:p-0">
2525
<a
2626
href="mailto:[email protected]"
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"
2828
>
2929
Become a Sponsor &nbsp;
3030
</a>
3131
<a
3232
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"
3434
>
3535
Become a Speaker &nbsp;
3636
</a>

src/components/2024/nav.js

+10-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ import { homeBackground } from "./cloudImages";
66
function Nav() {
77
const navbgWrapperStyles = {
88
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
1016
};
1117
const [isExpanded, toggleExpansion] = useState(false);
1218
/* eslint-disable no-unused-vars */
@@ -34,11 +40,11 @@ function Nav() {
3440
return (
3541
<div className="relative w-screen">
3642
<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"
3944
/* lg:w-[74%] */
4045
>
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">
4248
<Link className="z-20 flex items-center no-underline text-white" to="/">
4349
<img
4450
alt="Open Source Community Africa's Logo"

0 commit comments

Comments
 (0)