Skip to content

Commit 35d5981

Browse files
authored
Merge pull request #2 from msaaddev/master
📦 NEW: Coding Crows Website #1
2 parents bcefd00 + f6addd8 commit 35d5981

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+6631
-17
lines changed

.gitignore

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# next.js
12+
/.next/
13+
/out/
14+
15+
# production
16+
/build
17+
18+
# misc
19+
.DS_Store
20+
*.pem
21+
22+
# debug
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
27+
# local env files
28+
.env.local
29+
.env.development.local
30+
.env.test.local
31+
.env.production.local
32+
33+
# vercel
34+
.vercel

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License Copyright (c) 2020 msaaddev
2+
3+
Permission is hereby granted, free of
4+
charge, to any person obtaining a copy of this software and associated
5+
documentation files (the "Software"), to deal in the Software without
6+
restriction, including without limitation the rights to use, copy, modify, merge,
7+
publish, distribute, sublicense, and/or sell copies of the Software, and to
8+
permit persons to whom the Software is furnished to do so, subject to the
9+
following conditions:
10+
11+
The above copyright notice and this permission notice
12+
(including the next paragraph) shall be included in all copies or substantial
13+
portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
16+
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
18+
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
19+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<div align="center">
2+
<img src="https://i.imgur.com/pz4WpwS.png" alt="coding crows">
3+
<h1>Coding Crows Website</h1>
4+
</div>
5+
6+
## 👨🏻‍💻 Pod Leader
7+
8+
- [Arslan Dilawar](https://github.com/khattakdev)
9+
10+
## 👥 Pod Members
11+
12+
- [Saad Irfan](https://github.com/msaaddev)
13+
- [Angelina Gasharova](https://github.com/angelinag)
14+
- [Aneesh Kodali](https://github.com/aneeshkodali)
15+
- [Nkosilathi Tauro](https://github.com/nkosi-tauro)
16+
- [Levy Naibei](https://github.com/Levy-Naibei)
17+
- [Anna Tselikova](https://github.com/aniats)
18+
- [Egor Tarasov](https://github.com/Jorres)
19+
- [Arlyn Miles](https://github.com/Acrylami)
20+
- [Osarumense Azamegbe](https://github.com/david-osas)
21+
- [Yashika Sharma](https://github.com/yashika51)
22+
- [Jordan](https://github.com/nykez)
23+
- [Reda Tawfik](https://github.com/redatawfik)
24+
25+
## 🔑 License
26+
27+
- MIT

_config.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

components/Card.js

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
import { useState, useEffect } from 'react';
2+
import Link from 'next/link';
3+
import styles from '../styles/Card.module.css';
4+
5+
const Card = ({ url, name, pod, github, linkedin, bio, project, openPopupboxForPod }) => {
6+
const [podClass, setPodClass] = useState(styles.card);
7+
useEffect(() => {
8+
if (pod === true) {
9+
setPodClass(styles.pod);
10+
}
11+
}, []);
12+
13+
return (
14+
<div className={podClass}>
15+
<img src={url} alt={name} />
16+
<h3>{name}</h3>
17+
<div className={styles.social}>
18+
{pod === true && project === false ? (
19+
<>
20+
<Link href={github} passHref={true}>
21+
<a>
22+
<img src='./icons/github_logo.png' alt='github' />
23+
</a>
24+
</Link>
25+
<Link href={linkedin} passHref={true}>
26+
<a>
27+
<img src='./icons/linkedin_logo.png' alt='github' />
28+
</a>
29+
</Link>
30+
</>
31+
) : (
32+
<>
33+
<Link href='https://github.com/khattakdev' passHref={true}>
34+
<a>
35+
<img src='./icons/github_logo_white.png' alt='github' />
36+
</a>
37+
</Link>
38+
<Link href='https://linkedin.com/in/khattakdev' passHref={true}>
39+
<a>
40+
<img src='./icons/linkedin_logo_white.png' alt='github' />
41+
</a>
42+
</Link>
43+
</>
44+
)}
45+
</div>
46+
{(pod === true && project === false && (
47+
<div className={styles.read_more_btn}>
48+
<button onClick={() => openPopupboxForPod(bio)}>Read More</button>
49+
</div>
50+
)) ||
51+
(pod === true && project === true && (
52+
<div className={styles.read_more_btn}>
53+
<Link href={github} passHref={true}>
54+
<a>
55+
<button>Read More</button>
56+
</a>
57+
</Link>
58+
</div>
59+
)) ||
60+
(pod === false && project === false && (
61+
<div className={styles.read_more_btn}>
62+
<Link href='https://www.khattak.dev/' passHref={true}>
63+
<a>
64+
<button>Read More</button>
65+
</a>
66+
</Link>
67+
</div>
68+
))}
69+
</div>
70+
);
71+
};
72+
73+
export default Card;

components/Coding_Crow.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import styles from '../styles/Coding_Crow.module.css';
2+
3+
const Coding_Crow = () => {
4+
return (
5+
<div className={styles.pod_img}>
6+
<img src='/images/logo.png' alt='coding crow' />
7+
<h1>Coding Crows</h1>
8+
</div>
9+
);
10+
};
11+
12+
export default Coding_Crow;

components/Footer.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import styles from '../styles/Footer.module.css';
2+
3+
const Footer = () => {
4+
return (
5+
<div className={styles.footer}>
6+
<h3>Made With ❤️. © All Rights Reserved</h3>
7+
</div>
8+
);
9+
};
10+
11+
export default Footer;

components/Pod.js

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import { useState } from 'react';
2+
import data from '../data/podMembers';
3+
import Card from './Card';
4+
import styles from '../styles/Pod.module.css';
5+
6+
const Pod = ({ openPopupboxForPod }) => {
7+
const [podMembers] = useState(data);
8+
9+
return (
10+
<div className={styles.pod_details}>
11+
<h2>Meet the pod</h2>
12+
<div className={styles.pod_members}>
13+
{podMembers.map(member => (
14+
<Card
15+
url={member.url}
16+
name={member.name}
17+
github={member.github}
18+
linkedin={member.linkedin}
19+
bio={member.bio}
20+
pod={true}
21+
key={Math.floor(Math.random() * 10000)}
22+
openPopupboxForPod={openPopupboxForPod}
23+
project={false}
24+
/>
25+
))}
26+
</div>
27+
</div>
28+
);
29+
};
30+
31+
export default Pod;

components/Pod_Leader.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import styles from '../styles/Pod_leader.module.css';
2+
import Card from './Card';
3+
4+
const Pod_Leader = () => {
5+
return (
6+
<div className={styles.pod_leader}>
7+
<h2>Meet our pod leader</h2>
8+
<div className={styles.leader_description}>
9+
<Card
10+
url='/images/arsalan.jpg'
11+
name='Arslan Khattak'
12+
bio=''
13+
project={false}
14+
pod={false}
15+
/>
16+
<p>
17+
I'm a Computer Science Junior and a Full Stack (MERN) Developer and open source
18+
contributor. Being MLH'20 Fellow, I'm active Next.Js Contributor. Writing down
19+
what I have learned and sharing it with others is what I love to do. I love to
20+
write and speak about new technologies. I am also an active member of technical
21+
communities. I am DSC LEAD and Microsoft Student Partner.
22+
</p>
23+
</div>
24+
</div>
25+
);
26+
};
27+
28+
export default Pod_Leader;

components/Project.js

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import { useState } from 'react';
2+
import Card from './Card';
3+
import data from '../data/projects';
4+
import styles from '../styles/Project.module.css';
5+
6+
const Projects = ({ openPopupboxForPod }) => {
7+
const [projects] = useState(data);
8+
return (
9+
<>
10+
<div className={styles.main_projects}>
11+
<div className={styles.heading}>
12+
<h2>Take A Look At Our Projects</h2>
13+
</div>
14+
</div>
15+
<div className={styles.projects}>
16+
{projects.map(project => (
17+
<Card
18+
url={project.url}
19+
name={project.name}
20+
bio={project.info}
21+
github={project.github}
22+
pod={true}
23+
project={true}
24+
key={Math.floor(Math.random() * 10000)}
25+
openPopupboxForPod={openPopupboxForPod}
26+
/>
27+
))}
28+
</div>
29+
</>
30+
);
31+
};
32+
33+
export default Projects;

0 commit comments

Comments
 (0)