Skip to content

Commit a2d554f

Browse files
committed
feat(images): add the remaining CDN images
1 parent 5047517 commit a2d554f

3 files changed

Lines changed: 27 additions & 19 deletions

File tree

CONTRIBUTING.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ Please note we have a [code of conduct](https://github.com/reactdeveloperske/rea
44

55
## Contributing procedure
66

7-
87
### Find an issue to work on
98

109
- You can contribute to this project by either creating an issue or by checking out the open issues available.
@@ -83,18 +82,15 @@ git checkout -b new_branch_name
8382

8483
2. start development server
8584

86-
87-
8885
```bash
8986
npm run dev
9087
```
9188

9289
<br>
9390

94-
***
95-
##### :warning: RoadBlock: Missing environment variables
96-
91+
---
9792

93+
##### :warning: RoadBlock: Missing environment variables
9894

9995
You may have noticed some error about providing a form key. This is because we use [Formspree](https://formspree.io/) to handle our contact form. To get around this, you can:
10096

@@ -104,30 +100,31 @@ You may have also noticed a second error about missing required parameters: site
104100

105101
- Use your own [reCAPTCHA](https://www.google.com/recaptcha/about/) account and set the `RECAPTCHA_SITE_KEY` environment variable to your keys. (refer to the .env.example file for guidance on where to put your recaptcha site key).
106102

107-
108103
Both of these changes will require you to create a `.env` file in the root directory of the project. You can copy the contents of the `.env.example` file and paste them into the `.env` file. Then, you can add your keys to the appropriate variables.
109104

110-
***
105+
---
106+
111107
<br>
112108

113109
3. Make changes to the codebase
114110

115111
- Open this directory in your favorite text editor / IDE, and see your changes live by visiting `localhost:3000` from your browser
116112
- Pro Tip: Explore scripts within `package.json` for more build options
113+
- Pro Tip: Use [Prettier](https://prettier.io/) to format your code before committing by running `npm run prettier:check` and `npm run prettier:format` to check and fix formatting issues
117114

118-
1. Add changes made to the repo addressing an issue
115+
4. Add changes made to the repo addressing an issue
119116

120117
```bash
121118
git add [file_name]
122119
```
123120

124-
2. Commit and prepare for pull request (PR). In your PR commit message, reference the issue it resolves (see [how to link a commit message to an issue using a keyword](https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword).
121+
5. Commit and prepare for pull request (PR). In your PR commit message, reference the issue it resolves (see [how to link a commit message to an issue using a keyword](https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword).
125122

126123
```bash
127124
git commit -m "brief description of changes [Fixes #1234]"
128125
```
129126

130-
1. Push to your GitHub account
127+
6. Push to your GitHub account
131128

132129
```bash
133130
git push -u origin [feature_branch]

src/components/Events/Events.tsx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ const events: EventData[] = [
77
id: 1,
88
title: 'Physical Meetups',
99
description: 'Physical meetups where we share, learn and network.',
10-
image_url: '/images/physical_meetup.jpg',
10+
image_url:
11+
'https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532589/website-images/physical_meetup_fqkitv.jpg',
1112
target:
1213
'https://kommunity.com/reactjs-developer-community-kenya-reactdevske/events',
1314
},
@@ -16,15 +17,17 @@ const events: EventData[] = [
1617
title: 'Weekly Online Standups',
1718
description:
1819
'Weekly open calls in the community’s Telegram group discussing industry-related topics.',
19-
image_url: 'https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532589/website-images/weekly_standups_lg3rth.jpg',
20+
image_url:
21+
'https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532589/website-images/weekly_standups_lg3rth.jpg',
2022
target: 'https://bit.ly/joinreactdevske',
2123
},
2224
{
2325
id: 3,
2426
title: 'Community Power Sessions',
2527
description:
2628
'Community members meet and share technical concepts with other members of the community.',
27-
image_url: 'https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532589/website-images/community_sessions_xsyd8d.jpg',
29+
image_url:
30+
'https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532589/website-images/community_sessions_xsyd8d.jpg',
2831
target: 'https://www.youtube.com/channel/UC9_eVcPBk4T-DcZLHpQfy4w/videos',
2932
},
3033
{
@@ -40,7 +43,8 @@ const events: EventData[] = [
4043
title: 'Monthly Online Standups',
4144
description:
4245
'Monthly open calls on Google Meet bringing together people from different communities.',
43-
image_url: '/images/physical_meetup.jpg',
46+
image_url:
47+
'https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532589/website-images/physical_meetup_fqkitv.jpg',
4448
target:
4549
'https://kommunity.com/reactjs-developer-community-kenya-reactdevske/events',
4650
},
@@ -49,7 +53,8 @@ const events: EventData[] = [
4953
title: 'Community Challenges',
5054
description:
5155
'We organize open source challenges to keep the community engaged.',
52-
image_url: '/images/physical_meetup.jpg',
56+
image_url:
57+
'https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532589/website-images/physical_meetup_fqkitv.jpg',
5358
target: 'https://github.com/reactdeveloperske/community-coding-challenges',
5459
},
5560
];

src/components/MissionPillars/MissionPillars.tsx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ export default function MissionPillars() {
1515
<div className="flex w-1/2 md:w-full">
1616
<div className="w-full overflow-hidden aspect-w-4 aspect-h-3">
1717
<Image
18-
src={'/images/mentorship-image.jpg'}
18+
src={
19+
'https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/mentorship-image_tz0mor.jpg'
20+
}
1921
alt="Mentorship Image"
2022
layout="fill"
2123
/>
@@ -31,7 +33,9 @@ export default function MissionPillars() {
3133
<div className="flex w-1/2 md:w-full">
3234
<div className="w-full overflow-hidden aspect-w-4 aspect-h-3">
3335
<Image
34-
src={'/images/learning-image.jpg'}
36+
src={
37+
'https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/learning-image_eylqwm.jpg'
38+
}
3539
alt="Learning Image"
3640
layout="fill"
3741
/>
@@ -47,7 +51,9 @@ export default function MissionPillars() {
4751
<div className="flex w-1/2 md:w-full">
4852
<div className="w-full overflow-hidden aspect-w-4 aspect-h-3">
4953
<Image
50-
src={'https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/community-image_pkeqwj.jpg'}
54+
src={
55+
'https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/community-image_pkeqwj.jpg'
56+
}
5157
alt="Community Image"
5258
layout="fill"
5359
/>

0 commit comments

Comments
 (0)