job changes
This commit is contained in:
parent
e0b947da0e
commit
6ecf830639
12 changed files with 183 additions and 56 deletions
|
@ -3,11 +3,8 @@ import React from "react";
|
|||
export default function Footer() {
|
||||
return (
|
||||
<footer>
|
||||
<div style={{minHeight: "10vh"}}>
|
||||
<p className={"m-0"}>Copyright © 2021 Nicholas Orlowsky</p>
|
||||
<p className={"m-0"}>Licensed under GNU General Public License v3</p>
|
||||
<p className={"m-0"}>Original source available <a
|
||||
href={"https://github.com/nickorlow/personal-site"}>here</a></p>
|
||||
<div style={{height: 12, marginTop: -50}}>
|
||||
<p style={{color: "grey"}} className={"m-0"}>Created by 2021 Nicholas Orlowsky - Licensed under GNU General Public License v3 - Original source available <a href={"https://github.com/nickorlow/personal-site"}>here</a></p>
|
||||
</div>
|
||||
</footer>
|
||||
)
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
@media only screen and (min-width: 993px) {
|
||||
.center-card {
|
||||
border-left: .5px rgba(255,255,255,.25) solid;
|
||||
border-right: .5px rgba(255,255,255,.25) solid;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
|
||||
|
|
|
@ -3,18 +3,22 @@ import React from "react";
|
|||
import Job from "../../types/Job";
|
||||
import "./JobCard.css";
|
||||
|
||||
export default function JobCard(props: {style?: any, className?: string, job: Job, isCenter: boolean}){
|
||||
export default function JobCard(props: {style?: any, className?: string, job: Job}){
|
||||
return (
|
||||
<ScrollAnimation className={"job-card "+(props.isCenter ? "center-card " : "")+(props.className || "")} style={props.style} animateIn="fade-up" duration={2} animateOnce={true} offset={50} delay={200}>
|
||||
<div style={{padding: 20}}>
|
||||
<img alt={props.job.company+" company logo"} src={props.job.image} style={{maxHeight: 70, padding: 10,width: "auto", maxWidth: "100%"}}/>
|
||||
<h2>{props.job.title}</h2>
|
||||
{props.job.uri == null && <h5>{props.job.company}</h5>}
|
||||
{props.job.uri != null && <a href={props.job.uri}><h5>{props.job.company}</h5></a>}
|
||||
<p>{props.job.timespan}</p>
|
||||
<ul>
|
||||
{props.job.items.map((s) => <li>{s}</li>)}
|
||||
</ul>
|
||||
<ScrollAnimation className={"job-card "+(props.className || "")} style={props.style} animateIn="fade-up" duration={2} animateOnce={true} offset={50} delay={200}>
|
||||
<div className={"row"} style={{padding: 20}}>
|
||||
<img className={"col-md-4"} alt={props.job.company+" company logo"} src={props.job.image} style={{objectFit: "contain" ,maxHeight: 70, padding: 10,width: "auto", maxWidth: "100%"}}/>
|
||||
<div className={"col-md-8 row"}>
|
||||
<div className={"col-md-6 text-left"}>
|
||||
<h2>{props.job.title}</h2>
|
||||
{props.job.uri == null && <h5>{props.job.company}</h5>}
|
||||
{props.job.uri != null && <a href={props.job.uri}><h5>{props.job.company}</h5></a>}
|
||||
<p>{props.job.timespan}</p>
|
||||
</div>
|
||||
<ul className={"col-md-6 text-left"}>
|
||||
{props.job.items.map((s) => <li>{s}</li>)}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</ScrollAnimation>
|
||||
);
|
||||
|
|
|
@ -6,12 +6,9 @@ import "./Jobs.css";
|
|||
export default function Jobs() {
|
||||
return (
|
||||
<div className={"child"} style={{minHeight: "100vh"}}>
|
||||
<div className={"row"} style={{justifyContent: "center", alignItems: "center", alignContent: "center"}}>
|
||||
<h1 className={"col-12"} style={{marginBottom: 20}}>Work</h1>
|
||||
|
||||
{AllJobs.map((job, i) =><JobCard className={"col-md-4"} job={job}
|
||||
isCenter={i % 2 === 1}/>)}
|
||||
|
||||
<div style={{alignContent: "center", padding: 50}}>
|
||||
<h1 style={{marginBottom: 40}}>Work</h1>
|
||||
{AllJobs.map((job, i) =><JobCard job={job}/>)}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue