Skip to content

Navigation Menu

Sign in
Sign up

# 🔄 PR: Upgrade TailwindCSS from v3 → v4 #151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
festus-sulumeti wants to merge 3 commits into reactdeveloperske:prod
base: prod
Choose a base branch
Loading
from festus-sulumeti:development
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'prod' into development
  • Loading branch information
festus-sulumeti authored Oct 29, 2025
commit 7f45e478391f8495ff952bb08a03beff11ac15c4
34 changes: 14 additions & 20 deletions src/components/HeroHeader/DesktopHero.tsx
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,29 @@ import LinkButton from '../LinkButton/LinkButton';
export default function HeroHeader() {
return (
<div
className="relative h-[90vh] bg-cover bg-center bg-no-repeat flex flex-col"
className="relative bg-cover bg-center bg-no-repeat"
style={{
backgroundImage: `url('/images/hero-image.jpg')`,
}}
>
{/* Black translucent overlay */}
<div className="absolute inset-0 bg-black/50"></div>

{/* Navbar */}
<div className="relative z-10">
<Navbar />
</div>

{/* Hero content */}
<div className="relative z-10 flex flex-col items-center justify-center flex-1 text-center px-4">
<h1 className="font-montserrat font-bold text-white text-[40px] leading-tight max-w-[388px] mt-24">

<div className="w-full flex py-20 flex-col items-center justify-center z-10 bg-black bg-opacity-80">
<h1 className="font-montserrat font-bold text-center text-white text-[40px] leading-10 w-[388px] mx-auto mt-24">
React Developer Community Kenya
</h1>
<p className="font-montserrat text-white max-w-[570px] mt-5 mb-[45px]">
We are a tech community in Kenya focused on the React JS library and its ecosystem.
</p>
<LinkButton
className="flex justify-center items-center bg-[#EC0505] w-[307px] h-[61px] rounded-md text-white font-montserrat font-bold hover:bg-[#d10404] transition-colors"
href="https://bit.ly/joinreactdevske"
target="_blank"
rel="noopener noreferrer"
>
Join ReactDevsKe
</LinkButton>
<div className="flex items-center justify-center relative">
<LinkButton
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"
href="https://bit.ly/joinreactdevske"
target="_blank"
rel="noopener noreferrer"
>
Join ReactDevsKe
</LinkButton>
</div>
</div>
</div>
);
Expand Down
23 changes: 5 additions & 18 deletions src/components/HeroHeader/MobileHero.tsx
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,11 @@ export default function MobileHero() {
backgroundImage: `url(${backgroundImage.src})`
}}
>
<div className="mx-6 pt- pb-5 flex justify-between">
<Link href={HOME}>
<a>
<Logo size={60} />
</a>
</Link>
<a
target="_blank"
href="https://github.com/reactdeveloperske/reactdevske-website"
rel="noopener noreferrer"
className="pt-[13px]"
>
<Image src={githubIcon} alt="GitHub Logo" width={35} height={35} />
</a>
<DropdownMenu />
</div>
<div className="bg-black bg-opacity-50 p-6 rounded-md"> {/* Adds opacity to make text more legible */}
<h1 className="font-roboto-mono font-medium text-2xl text-center mb-2 text-white">

<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"
> {/* Adds opacity to make text more legible */}
<h1 className="font-robotoMono font-medium text-2xl text-center mb-2 text-white">
React Developer Community Kenya
</h1>
<div className="flex justify-center items-center mb-[34px]">
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.

AltStyle によって変換されたページ (->オリジナル) /