Skip to content

Commit 38b4523

Browse files
committed
Format to fix build error [Fixes #137]
1 parent 5f14a04 commit 38b4523

3 files changed

Lines changed: 52 additions & 52 deletions

File tree

src/components/AboutUs/AboutUs.tsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Fade } from "react-awesome-reveal"
1+
import { Fade } from 'react-awesome-reveal';
22

33
export default function AboutUs() {
44
return (
@@ -7,18 +7,18 @@ export default function AboutUs() {
77
className="flex flex-col max-w-2xl justify-center items-center self-center space-y-4 px-4"
88
>
99
<Fade direction="down">
10-
<h2 className="text-3xl md:text-6xl tracking-wide md:font-light uppercase">
11-
About Us
12-
</h2>
13-
<p className="hidden md:inline-block text-4xl font-bold ">
14-
Empowering great talent
10+
<h2 className="text-3xl md:text-6xl tracking-wide md:font-light uppercase">
11+
About Us
12+
</h2>
13+
<p className="hidden md:inline-block text-4xl font-bold ">
14+
Empowering great talent
15+
</p>
16+
<p className="sm:text-sm md:text-xl tracking-wide text-center space-y-4">
17+
We bring together people who are passionate about React JS and{' '}
18+
<br className="hidden md:display" />
19+
it&apos;s ecosystem. We are a community of full-stack developers,
20+
frontend developers and so much more
1521
</p>
16-
<p className="sm:text-sm md:text-xl tracking-wide text-center space-y-4">
17-
We bring together people who are passionate about React JS and{' '}
18-
<br className="hidden md:display" />
19-
it&apos;s ecosystem. We are a community of full-stack developers,
20-
frontend developers and so much more
21-
</p>
2222
</Fade>
2323
</section>
2424
);

src/components/Events/Events.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Link from 'next/link';
22
import type { EventData } from '../../types/index';
33
import DisplayRC from './DisplayRC';
4-
import {Fade} from "react-awesome-reveal"
4+
import { Fade } from 'react-awesome-reveal';
55

66
const events: EventData[] = [
77
{
@@ -66,11 +66,11 @@ export default function Events() {
6666
id="events"
6767
className="relative flex flex-col items-center justify-center w-full py-16 bg-white md:py-20 gap-y-2 md:gap-y-5"
6868
>
69-
<Fade direction='down'>
70-
<h2 className="flex text-2xl items-center justify-center font-light tracking-wide">
71-
Events
72-
</h2>
73-
<h2 className="pb-2 text-2xl font-bold md:pb-10">Community Events</h2>
69+
<Fade direction="down">
70+
<h2 className="flex text-2xl items-center justify-center font-light tracking-wide">
71+
Events
72+
</h2>
73+
<h2 className="pb-2 text-2xl font-bold md:pb-10">Community Events</h2>
7474
</Fade>
7575
<div className="grid grid-cols-1 gap-y-4 md:gap-y-10 gap-x-6 sm:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 xl:gap-x-8 md:grid-cols-2 bg-[#09AFC6] px-4 md:px-10 lg:px-16 py-8 md:py-14 xl:py-16">
7676
{events.map((event) => (

src/components/MissionPillars/MissionPillars.tsx

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Image from 'next/image';
22
import Pillar from '../Pillar/Pillar';
3-
import {Fade} from "react-awesome-reveal"
3+
import { Fade } from 'react-awesome-reveal';
44

55
export default function MissionPillars() {
66
return (
@@ -11,65 +11,65 @@ export default function MissionPillars() {
1111
<div className="flex flex-col md:flex-row md:items-center md:justify-center w-full px-6 space-y-4 md:space-x-6">
1212
<div className="flex">
1313
<Fade direction="left">
14-
<Pillar count="01" label="Mentorship" />
14+
<Pillar count="01" label="Mentorship" />
1515
</Fade>
1616
</div>
1717
<div className="flex justify-end w-full md:w-2/5 lg:w-1/4">
1818
<div className="flex w-1/2 md:w-full">
1919
<div className="w-full overflow-hidden aspect-w-4 aspect-h-3">
20-
<Fade direction='right'>
21-
<Image
22-
src={
23-
'https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/mentorship-image_tz0mor.jpg'
24-
}
25-
alt="Mentorship Image"
26-
layout="fill"
27-
/>
28-
</Fade>
20+
<Fade direction="right">
21+
<Image
22+
src={
23+
'https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/mentorship-image_tz0mor.jpg'
24+
}
25+
alt="Mentorship Image"
26+
layout="fill"
27+
/>
28+
</Fade>
2929
</div>
3030
</div>
3131
</div>
3232
</div>
3333
<div className="flex flex-col md:flex-row-reverse md:items-center md:justify-center w-full px-6 space-y-4 md:space-x-6 md:space-x-reverse">
3434
<div className="flex justify-end">
35-
<Fade direction='right'>
36-
<Pillar count="02" label="Learning" />
37-
</Fade>
35+
<Fade direction="right">
36+
<Pillar count="02" label="Learning" />
37+
</Fade>
3838
</div>
3939
<div className="flex md:justify-start w-full md:w-2/5 lg:w-1/4">
4040
<div className="flex w-1/2 md:w-full">
4141
<div className="w-full overflow-hidden aspect-w-4 aspect-h-3">
42-
<Fade direction='left'>
43-
<Image
44-
src={
45-
'https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/learning-image_eylqwm.jpg'
46-
}
47-
alt="Learning Image"
48-
layout="fill"
49-
/>
50-
</Fade>
42+
<Fade direction="left">
43+
<Image
44+
src={
45+
'https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/learning-image_eylqwm.jpg'
46+
}
47+
alt="Learning Image"
48+
layout="fill"
49+
/>
50+
</Fade>
5151
</div>
5252
</div>
5353
</div>
5454
</div>
5555
<div className="flex flex-col md:flex-row md:items-center md:justify-center w-full px-6 space-y-4 md:space-x-6">
5656
<div className="flex">
57-
<Fade direction='left'>
58-
<Pillar count="03" label="Community" />
57+
<Fade direction="left">
58+
<Pillar count="03" label="Community" />
5959
</Fade>
6060
</div>
6161
<div className="flex justify-end w-full md:w-2/5 lg:w-1/4 ">
6262
<div className="flex w-1/2 md:w-full">
6363
<div className="w-full overflow-hidden aspect-w-4 aspect-h-3">
64-
<Fade direction='right'>
65-
<Image
66-
src={
67-
'https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/community-image_pkeqwj.jpg'
68-
}
69-
alt="Community Image"
70-
layout="fill"
71-
/>
72-
</Fade>
64+
<Fade direction="right">
65+
<Image
66+
src={
67+
'https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/community-image_pkeqwj.jpg'
68+
}
69+
alt="Community Image"
70+
layout="fill"
71+
/>
72+
</Fade>
7373
</div>
7474
</div>
7575
</div>

0 commit comments

Comments
 (0)