Skip to content

Commit 81d12d7

Browse files
author
Muchael123
committed
Fix hero spacing, 'See more event' btn
1 parent 6c5d551 commit 81d12d7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/components/ContactUs/ContactUs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useEffect, useState } from 'react';
2-
import DesktopVersion from './DesktopVersion';
2+
// import DesktopVersion from './DesktopVersion';
33
import MobileVersion from './MobileVersion';
44
import Footer from './Footer';
55

@@ -25,7 +25,7 @@ export default function ContactUs() {
2525
<h2 className="font-montserrat text-lg uppercase w-fit mx-auto pt-5 font-semibold">
2626
Contact us
2727
</h2>
28-
<DesktopVersion />
28+
{/* <DesktopVersion /> */}
2929
<Footer/>
3030
</section>
3131
);

src/components/HeroHeader/DesktopHero.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ export default function HeroHeader() {
1212
}}
1313
>
1414

15-
<div className="w-full flex flex-col items-center justify-center z-10 bg-black bg-opacity-30">
15+
<div className="w-full flex py-20 flex-col items-center justify-center z-10 bg-black bg-opacity-80">
1616
<h1 className="font-montserrat font-bold text-center text-white text-[40px] leading-10 w-[388px] mx-auto mt-24">
1717
React Developer Community Kenya
1818
</h1>
1919
<p className="font-montserrat text-white w-[570px] mx-auto text-center mt-5 mb-[45px]">
2020
We are a tech community in Kenya focused on the React JS library and its ecosystem.
2121
</p>
22-
<div className="flex items-center justify-center mb-44 relative">
22+
<div className="flex items-center justify-center relative">
2323
<LinkButton
2424
className="flex justify-center items-center bg-[#EC0505] hover:bg-[#e12e2e] transition-all duration:200 hover:scale-105 w-[307px] h-[61px] rounded-md text-white font-montserrat font-bold"
2525
href="https://bit.ly/joinreactdevske"

src/components/HeroHeader/MobileHero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import backgroundImage from '/public/images/hero-image.jpg'; // Add your backgro
66
export default function MobileHero() {
77
return (
88
<div
9-
className="flex h-[80vh] bg-black bg-cover bg-center text-white mt-0"
9+
className="flex h-[50vh] items-center justify-center bg-black bg-cover bg-center text-white mt-0"
1010
style={{
1111
backgroundImage: `url(${backgroundImage.src})`
1212
}}

0 commit comments

Comments
 (0)