mirror of
https://github.com/asimonson1125/asimonson1125.github.io.git
synced 2026-02-25 05:09:49 -06:00
Construct timeline
This commit is contained in:
@@ -20,6 +20,11 @@
|
||||
src: url("../fonts/SunsetClub.otf")
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "robotoreg";
|
||||
src: url("../fonts/RobotoCondensed-Regular.ttf")
|
||||
}
|
||||
|
||||
html, body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
@@ -596,7 +601,6 @@ a {
|
||||
|
||||
.chess {
|
||||
width: 300px;
|
||||
height: calc(125px + 2em);
|
||||
border: none;
|
||||
/* transform: scale(.8);
|
||||
float: right; */
|
||||
@@ -702,6 +706,40 @@ a {
|
||||
color: #db7e3b;
|
||||
}
|
||||
|
||||
.timeline-item{
|
||||
border-left: solid #AAAAAA 3px;
|
||||
}
|
||||
|
||||
.timeline-item h2{
|
||||
margin-top: 0px;
|
||||
margin-left: .5em;
|
||||
font-family: robotoreg;
|
||||
}
|
||||
|
||||
.timeline-item p{
|
||||
margin-bottom: 0px;
|
||||
padding-bottom: 2em;
|
||||
padding-left: 3em;
|
||||
font-family: robotoreg;
|
||||
}
|
||||
|
||||
/* .timeline-item::before{
|
||||
content: "";
|
||||
background-color: red;
|
||||
border: solid black 3px;
|
||||
border-radius: 100%;
|
||||
padding: 5px;
|
||||
position: absolute;
|
||||
margin-left: -8px;
|
||||
} */
|
||||
|
||||
.datetext {
|
||||
margin: .25em;
|
||||
font-size: small;
|
||||
margin-left: -1.5em;
|
||||
font-family: robotoreg;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Chess New;
|
||||
src: url('https://www.chess.com/bundles/web/fonts/chessglyph-new.0cc8115c.woff2');
|
||||
@@ -803,7 +841,7 @@ a {
|
||||
padding-bottom: .5rem;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
width: 400px;
|
||||
width: min(100vw, 400px);
|
||||
}
|
||||
|
||||
.socials * {
|
||||
|
||||
BIN
src/assets/fonts/RobotoCondensed-Regular.ttf
Normal file
BIN
src/assets/fonts/RobotoCondensed-Regular.ttf
Normal file
Binary file not shown.
20
src/componets/TimeItem.js
Normal file
20
src/componets/TimeItem.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import React from "react";
|
||||
|
||||
export default class TimeItem extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.date = props.date;
|
||||
this.item = (
|
||||
<>
|
||||
<h2>{props.title}</h2>
|
||||
<div className="timeline-deets">
|
||||
<p>{props.children}</p>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
render() {
|
||||
return <><p className="datetext">{this.date}</p><div className="timeline-item">{this.item}</div></>;
|
||||
}
|
||||
}
|
||||
16
src/componets/Timeline.js
Normal file
16
src/componets/Timeline.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import React from "react";
|
||||
|
||||
export default class Timeline extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
this.items = props.children;
|
||||
}
|
||||
|
||||
componentDidMount() {}
|
||||
|
||||
render() {
|
||||
return <div className="timeline">
|
||||
{this.items}
|
||||
</div>;
|
||||
}
|
||||
}
|
||||
@@ -1,15 +1,17 @@
|
||||
import React from "react";
|
||||
import MyCarousel from "../componets/Carousel.js";
|
||||
// import MyCarousel from "../componets/Carousel.js";
|
||||
import ChessBed from "../componets/ChessBed.js";
|
||||
// import HexGrid from "../componets/HexGrid";
|
||||
import Skills from "../componets/Skills";
|
||||
import Timeline from '../componets/Timeline';
|
||||
import TimeItem from "../componets/TimeItem.js";
|
||||
// import img1 from '../assets/photos/itsa_me.JPG'
|
||||
// import img2 from '../assets/photos/me_robot.jpeg'
|
||||
import img3 from "../assets/photos/AcademicTeam.jpg";
|
||||
import img4 from "../assets/photos/hagerstownVex2019.jpg";
|
||||
import img5 from "../assets/photos/WeThePeople_Districts.jpg";
|
||||
import img6 from "../assets/photos/WeThePeople.jpg";
|
||||
import img7 from "../assets/photos/WeThePeople_NationalsSetup.jpg";
|
||||
// import img3 from "../assets/photos/AcademicTeam.jpg";
|
||||
// import img4 from "../assets/photos/hagerstownVex2019.jpg";
|
||||
// import img5 from "../assets/photos/WeThePeople_Districts.jpg";
|
||||
// import img6 from "../assets/photos/WeThePeople.jpg";
|
||||
// import img7 from "../assets/photos/WeThePeople_NationalsSetup.jpg";
|
||||
|
||||
export default function AboutMe() {
|
||||
return (
|
||||
@@ -51,9 +53,6 @@ export default function AboutMe() {
|
||||
</p> */}
|
||||
{/*<img src={img1} alt='Me' className='boxedImg' />*/}
|
||||
</div>
|
||||
<div className="chess">
|
||||
<ChessBed username="asimonson1125"></ChessBed>
|
||||
</div>
|
||||
</div>
|
||||
<div className="col">
|
||||
<div id="skills" data-aos="fade-up">
|
||||
@@ -99,8 +98,11 @@ export default function AboutMe() {
|
||||
"ArcGIS",
|
||||
]}
|
||||
</Skills>
|
||||
<div className="chess">
|
||||
<ChessBed username="asimonson1125"></ChessBed>
|
||||
</div>
|
||||
</div>
|
||||
<div data-aos="fade-up" className="elementBlock">
|
||||
{/* <div data-aos="fade-up" className="elementBlock">
|
||||
<h2>Extracirricular Awards</h2>
|
||||
<MyCarousel className="carousel" data-aos="fade-up">
|
||||
{[
|
||||
@@ -129,7 +131,13 @@ export default function AboutMe() {
|
||||
},
|
||||
]}
|
||||
</MyCarousel>
|
||||
</div>
|
||||
</div> */}
|
||||
</div>
|
||||
<div className="col">
|
||||
<Timeline>
|
||||
<TimeItem date='01/2023' title="Co-op @ Dow Chemical">Bottomtext</TimeItem>
|
||||
<TimeItem date='08/2021' title='Started Computer Science BS at RIT'></TimeItem>
|
||||
</Timeline>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user