Skip to content

Commit c8b80bb

Browse files
committed
Fix build
1 parent fb00cd6 commit c8b80bb

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

src/components/Events/Events.tsx

+4-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ export default function Events() {
6161
id="events"
6262
className="relative flex flex-col items-center justify-center w-full pt-16 bg-[#023e8a] md:py-20 gap-y-2 md:gap-y-5"
6363
>
64-
65-
<h2 className="pb-2 text-3xl text-white font-bold md:pb-10">Community Events</h2>
64+
<h2 className="pb-2 text-3xl text-white font-bold md:pb-10">
65+
Community Events
66+
</h2>
6667
<div className="grid grid-cols-1 gap-y-4 md:gap-y-10 gap-x-6 sm:grid-cols-2 lg:grid-cols-3 xl:gap-x-8 md:grid-cols-2 px-4 md:px-10 lg:px-16 pt-8 md:pt-14 xl:pt-16">
6768
{events.map((event) => (
6869
<DisplayRC
@@ -84,6 +85,7 @@ export default function Events() {
8485
See More Events
8586
</Link>
8687
</div>
88+
</div>
8789
</section>
8890
);
8991
}

src/components/HeroHeader/DesktopHero.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export default function HeroHeader() {
1010
backgroundColor: '#160c0c',
1111
}}
1212
>
13-
1413
<div className="w-full flex py-20 flex-col items-center justify-center z-10 bg-black bg-opacity-80">
1514
<h1 className="font-montserrat font-bold text-center text-white text-[40px] leading-10 w-[388px] mx-auto mt-24">
1615
React Developer Community Kenya

src/components/HeroHeader/MobileHero.tsx

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import React from 'react';
32
import LinkButton from '../LinkButton/LinkButton';
43
import backgroundImage from '/public/images/hero-image.jpg'; // Add your background image here
@@ -11,10 +10,9 @@ export default function MobileHero() {
1110
backgroundImage: `url(${backgroundImage.src})`,
1211
}}
1312
>
14-
15-
<div
16-
className="bg-black pt-[20vh] h-full justify-end items-center pb-[5vh] flex-col bg-opacity-50 p-6 rounded-md flex bg-cover bg-center text-white mt-0"
17-
> {/* Adds opacity to make text more legible */}
13+
<div className="bg-black pt-[20vh] h-full justify-end items-center pb-[5vh] flex-col bg-opacity-50 p-6 rounded-md flex bg-cover bg-center text-white mt-0">
14+
{' '}
15+
{/* Adds opacity to make text more legible */}
1816
<h1 className="font-robotoMono font-medium text-2xl text-center mb-2 text-white">
1917
React Developer Community Kenya
2018
</h1>

src/pages/index.page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default function Home() {
2424
</Head>
2525
<main className="">
2626
<Navbar />
27-
27+
2828
<HeroHeader />
2929
<div className="flex flex-col py-12 bg-[#030e30] text-white">
3030
<AboutUs />

0 commit comments

Comments
 (0)