-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy pathDesktopHero.tsx
More file actions
33 lines (31 loc) · 1.25 KB
/
DesktopHero.tsx
File metadata and controls
33 lines (31 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import React from 'react';
import LinkButton from '../LinkButton/LinkButton';
export default function HeroHeader() {
return (
<div
className="relative bg-cover bg-center bg-no-repeat"
style={{
backgroundImage: `url('/images/hero-image.jpg')`,
}}
>
<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>
<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>
);
}