Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Jobs/internship page #196

Merged
merged 58 commits into from Oct 16, 2022
Merged
Show file tree
Hide file tree
Changes from 52 commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
d595ed1
Add categories section
abdullmustyy Oct 3, 2022
20b686b
Update packages
abdullmustyy Oct 3, 2022
83ae4bd
Add Categories component
abdullmustyy Oct 3, 2022
935d8ed
Add styled components
abdullmustyy Oct 3, 2022
1a9b6d7
Merge branch 'thecyberworld:main' into quiz-categories
abdullmustyy Oct 4, 2022
ad34427
Add functionalities
abdullmustyy Oct 4, 2022
3f0924e
Update to fit functionlities
abdullmustyy Oct 4, 2022
05a4a2e
Add image and video demo
abdullmustyy Oct 4, 2022
7f8882d
Apply reset functionality on category change
abdullmustyy Oct 4, 2022
056faa2
fix: quiz design
kabir0x23 Oct 5, 2022
5dcb2c1
fix: conflicts - package-lock.json file
kabir0x23 Oct 5, 2022
f23783a
Merge branch 'thecyberworld:main' into quiz-categories
abdullmustyy Oct 5, 2022
9861261
Merge branch 'thecyberworld:main' into quiz-categories
abdullmustyy Oct 7, 2022
06602bb
Initial commit
abdullmustyy Oct 7, 2022
363b404
Merge branch 'thecyberworld:main' into community-page
abdullmustyy Oct 7, 2022
880fd63
Merge branch 'thecyberworld:main' into community-page
abdullmustyy Oct 7, 2022
f2dfbf5
Add Community Page section
abdullmustyy Oct 7, 2022
adc7649
Merge branch 'community-page' of https://github.com/abdullmustyy/thec…
abdullmustyy Oct 7, 2022
38210e4
Update dependencies
abdullmustyy Oct 7, 2022
7be66e0
Update package-lock.json
kabir0x23 Oct 7, 2022
a8faea4
Update package.json
kabir0x23 Oct 7, 2022
88f85e1
Update Community.jsx
kabir0x23 Oct 7, 2022
7240326
Update CommunityElements.jsx
kabir0x23 Oct 7, 2022
94bab2e
Merge branch 'thecyberworld:main' into community-page
abdullmustyy Oct 8, 2022
4a6d34e
Merge branch 'thecyberworld:main' into community-page
abdullmustyy Oct 8, 2022
4d66ed8
Make Quiz Category responsive
abdullmustyy Oct 8, 2022
03d440e
Update dependencies
abdullmustyy Oct 8, 2022
88b4fb3
Merge branch 'thecyberworld:main' into community-page
abdullmustyy Oct 9, 2022
ec54254
Fix mobile quiz dropdown spacing
abdullmustyy Oct 9, 2022
19289fd
Update dependencies
abdullmustyy Oct 9, 2022
3230b57
Update package-lock.json
kabir0x23 Oct 9, 2022
819dfba
Update Categories.jsx
kabir0x23 Oct 9, 2022
9b5be52
Update CategoriesButtons.jsx
kabir0x23 Oct 9, 2022
67ed55e
Update CategoriesElements.jsx
kabir0x23 Oct 9, 2022
7fb472d
Merge branch 'thecyberworld:main' into community-page
abdullmustyy Oct 9, 2022
e4b0583
Merge branch 'thecyberworld:main' into community-page
abdullmustyy Oct 12, 2022
f6b0916
Fix Navbar toggle bug
abdullmustyy Oct 12, 2022
82f79d2
Update dependencies
abdullmustyy Oct 12, 2022
7563f74
Merge branch 'community-page' of https://github.com/abdullmustyy/thec…
abdullmustyy Oct 12, 2022
04f0388
Update dependencies
abdullmustyy Oct 12, 2022
ba0e863
Update package-lock.json
kabir0x23 Oct 12, 2022
95fb0f4
Merge branch 'thecyberworld:main' into community-page
abdullmustyy Oct 13, 2022
195576f
Initial commit
abdullmustyy Oct 13, 2022
8f4bc66
Start building Jobs section
abdullmustyy Oct 14, 2022
5b1f69d
Merge branch 'thecyberworld:main' into jobs/internship-page
abdullmustyy Oct 14, 2022
91b95b3
Update branch
abdullmustyy Oct 14, 2022
7277d49
Update dependencies
abdullmustyy Oct 14, 2022
454ec2e
Merge branch 'thecyberworld:main' into jobs/internship-page
abdullmustyy Oct 16, 2022
0000745
Add Jobs/Internship page
abdullmustyy Oct 16, 2022
6fda41c
Resolve conflicts
abdullmustyy Oct 16, 2022
34ef975
Update dependencies
abdullmustyy Oct 16, 2022
513116e
Merge branch 'thecyberworld:main' into jobs/internship-page
abdullmustyy Oct 16, 2022
b67d827
Update package-lock.json
kabir0x23 Oct 16, 2022
85bbaee
Update package-lock.json
kabir0x23 Oct 16, 2022
285e5da
Update package.json
kabir0x23 Oct 16, 2022
172f790
fix & refractor data and code
kabir0x23 Oct 16, 2022
da1c9db
Update App.jsx
kabir0x23 Oct 16, 2022
5a1138f
Update Navbar.jsx
kabir0x23 Oct 16, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
84 changes: 24 additions & 60 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -41,4 +41,4 @@
"tailwindcss": "^3.0.24",
"vite": "^2.9.9"
}
}
}
1 change: 1 addition & 0 deletions src/components/Community/CommunityElements.jsx
Expand Up @@ -10,6 +10,7 @@ export const Header = styled.header`
justify-content: center;
align-items: center;
height: 100vh;
position: relative;
`;

export const Overlay = styled.div`
Expand Down
2 changes: 1 addition & 1 deletion src/components/Homepage/Info/Info.jsx
Expand Up @@ -20,7 +20,7 @@ import {
Img,
ScrollText,
} from "./InfoElements";
import {Link} from "react-router-dom";
import { Link } from "react-router-dom";

const InfoSection = ({
id,
Expand Down
71 changes: 71 additions & 0 deletions src/components/Prep/Jobs/Job.jsx
@@ -0,0 +1,71 @@
import {
JobContainer,
JobHero,
JobHeader,
JobTitle,
JobRole,
JobRoleTitle,
JobRating,
JobLocation,
JobDetails,
JobReq,
JobTimeline,
} from "./JobsElements";

import { FaEllipsisV } from "react-icons/fa";

export default function Job(props) {
return (
<>
<JobContainer>
<JobHero>
<JobHeader>
{props.status && <span className="status">{props.status}</span>}
<JobTitle>{props.jobTitle}</JobTitle>
<JobRole>
<JobRoleTitle>{props.jobRoleTitle}</JobRoleTitle>
<JobRating>{props.jobRating}</JobRating>
</JobRole>
<JobLocation>
<span>{props.jobLocation}</span>
</JobLocation>
</JobHeader>
<FaEllipsisV />
</JobHero>
<JobDetails>
{props.jobDetails.map((item, i) => (
<div key={i}>
<span>{item.item}</span>
{item.badge && (
<div className="badge">
<span>{item.badge}</span>
</div>
)}
</div>
))}
</JobDetails>
<JobDetails>
{props.jobDetails2.map((item, i) => (
<div key={i}>
<span>{item}</span>
</div>
))}
</JobDetails>
<JobReq>
<ul>
{props.jobReq.map((item, i) => (
<li key={i}>{item}</li>
))}
</ul>
</JobReq>
<JobTimeline>
<span>{props.jobTimeline.datePosted}</span>
<span className="dot">{props.jobTimeline.separator}</span>
<span>
From <span className="remote">{props.jobTimeline.directory}</span>
</span>
</JobTimeline>
</JobContainer>
</>
);
}
76 changes: 66 additions & 10 deletions src/components/Prep/Jobs/Jobs.jsx
@@ -1,14 +1,70 @@
import React from 'react';
import {Section} from "../../Resources/WriteUps/WriteUpsElements";
import { useState, useCallback } from "react";
import { Link as ScrollLink } from "react-scroll";

import {
Overlay,
Container,
Heading,
Paragraph,
} from "../../Community/CommunityElements";
import { ScrollButton, JobIntroHeader } from "./JobsElements";

import Job from "./Job";
import { JobsData } from "./JobsData";
import { JobSection } from "./JobsElements";

import { FaChevronDown, FaChevronUp } from "react-icons/fa";
import { auto } from "@popperjs/core";

const Jobs = () => {
return (
<Section>
<h1>
Under Development
</h1>
</Section>
);
const [viewMore, setViewMore] = useState(false);

const toggleViewMore = useCallback(() => {
setViewMore((prevView) => !prevView);
}, []);

const allJobs = JobsData.map((data) => <Job key={data.id} {...data} />);

return (
<JobSection viewMore={viewMore}>
<JobIntroHeader>
<Overlay></Overlay>
<Container>
<Heading>
Searching for a job? <br /> Look no futher!
</Heading>
<Paragraph>
We have collated several areas/field where there are job
vacancy(ies). <br /> Go through the <span>Job Section</span>, and
find one that is best match for you.
</Paragraph>
<ScrollLink
to={"jobs"}
smooth={true}
duration={600}
spy={true}
exact={"true"}
offset={-80}
>
<ScrollButton>
<FaChevronDown />
<span>Find A Job</span>
</ScrollButton>
</ScrollLink>
</Container>
</JobIntroHeader>
<div id="jobs" className="grid">
{allJobs}
</div>
<button className="view" onClick={toggleViewMore}>
{!viewMore ? (
<FaChevronDown size={20} style={{ color: "white" }} />
) : (
<FaChevronUp size={20} style={{ color: "white" }} />
)}
</button>
</JobSection>
);
};

export default Jobs;
export default Jobs;