Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ec70859

Browse files
committed
2 parents 705d065 + 8e3edd8 commit ec70859

File tree

9 files changed

+246
-24
lines changed

9 files changed

+246
-24
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is a repo for the new CodeForGSO website.
44

55
## Previous site
66

7-
The previous site can be viewed [here](https://codeforgso.github.io/codeforgreensboro.org) or [here](https://codeforgreenbsoro.org)
7+
The previous site can be viewed [here](https://codeforgso.github.io/codeforgreensboro.org) or [here](https://codeforgreensboro.org)
88

99
It has several problems. The biggest concern is that the website is not responsive and does not scale properly on mobile. Meaning phone users cannot easily interact with the site.
1010
The other major issue is the color scheme. Our current color scheme works well together but using red as a primary color is a little aggressive.

components/join-button.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Link from 'next/link'
2+
import PropTypes from 'prop-types'
23

34
const JoinButton = props => {
45
return (
@@ -19,4 +20,8 @@ const JoinButton = props => {
1920
)
2021
}
2122

23+
JoinButton.propTypes = {
24+
location: PropTypes.string.isRequired,
25+
}
26+
2227
export default JoinButton

components/page.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from 'react'
2+
import PropTypes from 'prop-types'
23
import Head from '../components/head'
34
import Nav from '../components/nav'
45
import Footer from '../components/footer'
@@ -19,4 +20,9 @@ const Page = ({ children, title = '' }) => (
1920
</React.Fragment>
2021
)
2122

23+
Page.propTypes = {
24+
children: PropTypes.element.isRequired,
25+
title: PropTypes.string.isRequired,
26+
}
27+
2228
export default Page

docs/setup.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,31 @@ If giving back to open source is new,
3030
we highly recommend [this guide by the fine folks at GitHub][contrib].
3131

3232
1. Sign up or sign in to your [GitHub Account][github]
33-
1. Navigate to the [Code For Greensboro repository][repo]
34-
1. On the far right there will be a button labeled 'Fork', click it.
35-
1. Fork the repository into your account's repository list.
36-
1. (Easy): Use the GitHub Desktop client to download the code to your computer
37-
1. __Stop here if you want to use GitHub Desktop, you are all set, code away!__
38-
1. (Harder): Follow the below if you want to use the command line
39-
1. Clone the freshly forked repository to your computer.
40-
1. Check the upstream remote by 'cd ing' into the project's root folder and running the following command:
33+
2. Navigate to the [Code For Greensboro repository][repo]
34+
3. On the far right there will be a button labeled 'Fork', click it.
35+
4. Fork the repository into your account's repository list.
36+
37+
__If you are using the GitHub Desktop client (Easy)__:
38+
39+
5. Use the GitHub Desktop client to download the code to your computer
40+
6. Stop here, you are all set, code away!
41+
42+
__If you are using the command line (Harder)__:
43+
44+
5. Clone the freshly forked repository to your computer.
45+
6. Check the upstream remote by 'cd ing' into the project's root folder and running the following command:
4146

4247
git remote -v
4348

44-
The output should read: `origin [email protected]:{your GitHub username}/codeforgso.github.io.git (fetch)`
49+
The output should read:
50+
51+
`origin [email protected]:{your GitHub username}/codeforgso.github.io.git (fetch)`
4552
`origin [email protected]:{your GitHub username}/codeforgso.github.io.git (push)`
53+
54+
__OR__
55+
56+
`origin https://github.com/{your GitHub username}/codeforgso.github.io.git (fetch)`
57+
`origin https://github.com/{your GitHub username}/codeforgso.github.io.git (push)`
4658

4759
## Dependencies
4860

package-lock.json

Lines changed: 192 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)