|
1 | 1 | import React from "react";
|
2 | 2 | import { homeBackground } from "./cloudImages";
|
| 3 | +import { Link } from "gatsby"; |
3 | 4 |
|
4 | 5 | function Register() {
|
5 | 6 | return (
|
@@ -54,76 +55,38 @@ function Register() {
|
54 | 55 | function Header() {
|
55 | 56 | const bgWrapperStyles = {
|
56 | 57 | backgroundImage: `url(${homeBackground.background})`,
|
57 |
| - backgroundSize: "contain" |
| 58 | + backgroundSize: "cover" |
58 | 59 | };
|
| 60 | + const navbgWrapperStyles = { |
| 61 | + backgroundImage: `url(${homeBackground.navBackground})`, |
| 62 | + } |
| 63 | + |
59 | 64 | return (
|
60 |
| - <section id="header"> |
61 |
| - <div className="center overflow-hidden flex flex-col w-screen object-cover lg:pt-10"> |
| 65 | + <section id="home"> |
| 66 | + <div className="center flex flex-col flex-1 w-screen object-cover bg-no-repeat"> |
62 | 67 | <div
|
63 |
| - className="px-5 md:px-10 lg:px-0 flex flex-col z-30 left-0 w-full min-h-screen lg:pt-16 relative" |
64 | 68 | style={bgWrapperStyles}
|
| 69 | + className="flex flex-col z-30 left-0 w-full min-h-screen lg:pt-16 overflow-hidden" |
65 | 70 | >
|
66 |
| - <span |
67 |
| - className="lg:block w-[400px] lg:w-[600px] h-[400px] lg:h-[600px] z-5 absolute blur-[54px] right-[-170px] top-[-76.95px] lg:top-[-181.36px]" /* left-[175.64px] lg:left-[850.81px] top-[-96.95px] lg:top-[-181.36px] */ |
68 |
| - style={{ |
69 |
| - background: |
70 |
| - "radial-gradient(34.85% 34.85% at 50% 50%, rgba(245, 185, 255, 0.5) 0%, rgba(121, 255, 191, 0.125) 50.52%, rgba(187, 251, 255, 0.02) 100%)" |
71 |
| - }} |
72 |
| - ></span> |
73 |
| - <div className="container mt-10 lg:mt-20 mx-auto lg:px-14 flex justify-between sm:flex-row flex-col mb-6 lg:mb-10 lg:items-center"> |
74 |
| - <h1 className="font-humane text-white text-4xl lg:text-6xl m-0 uppercase"> |
75 |
| - OPEN SOURCE FESTIVAL 2023 + SUSTAIN |
76 |
| - </h1> |
77 |
| - <div className="hidden lg:block"> |
78 |
| - <Register /> |
79 |
| - </div> |
80 |
| - </div> |
81 |
| - <div className="z-10 flex flex-wrap items-center"> |
82 |
| - <div className="w-full h-full mx-auto container text-white flex flex-col items-center"> |
83 |
| - <div> |
84 |
| - <span |
85 |
| - className="lg:block w-[400px] lg:w-[600px] h-[400px] lg:h-[600px] z-10 absolute blur-[100px] left-[-252.98px] lg:left-[-48px] top-[289.83px] lg:top-[477px]" |
86 |
| - style={{ |
87 |
| - background: |
88 |
| - "radial-gradient(50% 50% at 50% 50%, rgba(255, 0, 26, 0.41) 0%, rgba(255, 2, 230, 0.27) 50.52%, rgba(212, 0, 255, 0) 100%)" |
89 |
| - }} |
90 |
| - ></span> |
91 |
| - <img |
92 |
| - alt="OSCAFest Title 2023 Sustainability For Growth" |
93 |
| - src={homeBackground.titleLarge} |
94 |
| - className="mb-10" |
95 |
| - /> |
96 |
| - <div className="flex flex-col mb-14 lg:mb-8 uppercase text-right lg:-mt-48 lg:-mr-32"> |
97 |
| - <div className="font-clashDisplay text-xs md:text-lg lg:text-base tracking-widest m-0 mb-3 text-right"> |
98 |
| - <h3>June 15TH -</h3> |
99 |
| - <h3>17TH.</h3> |
100 |
| - </div> |
101 |
| - <div className="font-humane font-wide text-4xl md:text-5xl lg:text-5xl m-0 tracking-wider"> |
102 |
| - <h2>Landmark Event Center,</h2> |
103 |
| - <h2>Lagos, Nigeria.</h2> |
104 |
| - </div> |
105 |
| - </div> |
| 71 | + <div className="z-20 flex flex-wrap m-auto items-center"> |
| 72 | + <div className="w-full h-full sm:mt-36 sm:m-auto sm:my-24 lg:mt-16 m-auto lg:w-7/12 text-white flex flex-col items-center"> |
| 73 | + <img Alt="OSCAFest Title 2025" src={homeBackground.title} className="mb-5 lg:px-7" /> |
| 74 | + <div className="flex flex-col w-full "> |
| 75 | + <text className="font-clashDisplay text-6xl text-center justify-center tracking-widest text-white0 w-full"> MAY 30TH - JUNE 1ST</text> |
106 | 76 | </div>
|
107 |
| - |
108 |
| - <div className="flex flex-col items-center"> |
109 |
| - <div className="block lg:hidden w-full mx-auto mb-3"> |
110 |
| - <Register /> |
111 |
| - </div> |
112 |
| - <div className="mb-20"> |
| 77 | + <div className="lg:mx-5"> |
| 78 | + <div className="flex sm:flex-row flex-col mt-5 sm:mb-16 md:mb-10 lg:mb-0 lg:p-0"> |
| 79 | + <a |
| 80 | + href="https://opencollective.com/osca/events/open-source-festival-2023-e17954c1" |
| 81 | + className="font-clashDisplay font-bold bg-white p-6 m-4 text-lg text-black tracking-wider mx-5 w-fit flex items-center" |
| 82 | + > |
| 83 | + Become a Sponsor |
| 84 | + </a> |
113 | 85 | <a
|
114 |
| - href="/2022" |
115 |
| - className="font-clashDisplay font-semibold bg-transparent text-white border-2 border-solid border-white-400 uppercase p-3 text-l tracking-wider w-fit flex items-center" |
| 86 | + href="/" |
| 87 | + 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" |
116 | 88 | >
|
117 |
| - View Past Events | |
118 |
| - <svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg"> |
119 |
| - <path |
120 |
| - d="M0.75 13.75L13.25 1.25M13.25 1.25H3.875M13.25 1.25V10.625" |
121 |
| - stroke="white" |
122 |
| - strokeWidth="1.5" |
123 |
| - strokeLinecap="round" |
124 |
| - strokeLinejoin="round" |
125 |
| - /> |
126 |
| - </svg> |
| 89 | + Become a Speaker |
127 | 90 | </a>
|
128 | 91 | </div>
|
129 | 92 | </div>
|
|
0 commit comments