Skip to content

Commit 16107fb

Browse files
authored
Merge pull request #100 from AJ-Kulundu/about-section
2 parents d1a9250 + cad1b48 commit 16107fb

3 files changed

Lines changed: 29 additions & 2 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import React from 'react';
2+
3+
export default function AboutUs() {
4+
return (
5+
<section
6+
id="about-us"
7+
className="flex flex-col max-w-2xl justify-center items-center self-center space-y-4 px-4"
8+
>
9+
<p className="text-3xl md:text-6xl tracking-wide md:font-light ">
10+
ABOUT US
11+
</p>
12+
<p className="hidden md:inline-block text-4xl font-bold ">
13+
Empowering great talent
14+
</p>
15+
<p className="sm:text-sm md:text-xl tracking-wide text-center space-y-4">
16+
We bring together people who are passionate about React JS and{' '}
17+
<br className="hidden md:display" />
18+
it&apos;s ecosystem. We are a community of full-stack developers,
19+
frontend developers and so much more
20+
</p>
21+
</section>
22+
);
23+
}

src/pages/about/index.page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export default function AboutPage() {
77
<Head>
88
<title>Reactjs Developer Community in Kenya - About</title>
99
</Head>
10-
<main className="flex justify-center items-center min-h-screen">
11-
<h1 className="text-white">About page will be here</h1>
10+
<main className="flex justify-center items-center min-h-screen bg-white">
11+
About Page here
1212
</main>
1313
</>
1414
);

src/pages/index.page.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import Head from 'next/head';
22
import Image from 'next/image';
33
import logo from '../../public/reactdevske.svg';
44
import Events from '../components/Events/Events';
5+
import AboutUs from '../components/about-us/about-us';
56

67
export default function Home() {
78
return (
@@ -49,6 +50,9 @@ export default function Home() {
4950
</button>
5051
</a>
5152
</div>
53+
<div className="flex flex-col py-12 bg-white">
54+
<AboutUs />
55+
</div>
5256
<Events />
5357
</main>
5458
</div>

0 commit comments

Comments
 (0)