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

--fixes: colors, styling and layout, --added: animation #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/About/About.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
margin: auto;
justify-content: center;
column-gap: 15px;

z-index: 2;
.ProfileSkills {
display: grid;
justify-content: center;
Expand Down
6 changes: 3 additions & 3 deletions components/Header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ const Header = () => {
}

return (
<div>
<>
<ParticlesBG />
<div className={Styles.Header}>
<div className={Styles.CenterText}>
<h1>{info.name}</h1>
<h1 className={Styles.Name}>{info.name}</h1>
<p className={Styles.Slogan}>{info.slogan}</p>
</div>
<label id="theme-switcher" className={Styles.Switch}>
Expand All @@ -47,7 +47,7 @@ const Header = () => {
<div className={Styles.BackToTopBtn} >
<img id="not-dark" onClick={scrollTo} alt="ScrollUp" title="ScrollUp" width="128" height="128" src="/thor.svg" />
</div>
</div>
</>
)

}
Expand Down
10 changes: 7 additions & 3 deletions components/Header/Header.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
flex-direction: column;
height: 100vh;
font-family: Montserrat, sans-serif;

z-index: 2;
.CenterText {
position: absolute;
margin: auto;
Expand All @@ -16,6 +16,10 @@
color: #000;
font-size: max(7vw, 64px);
}

.Name{
color: var(--primary-color);
}

.Slogan {
font-family: "Anonymous Pro", monospace !important;
Expand Down Expand Up @@ -77,8 +81,8 @@
display: inline-block;
width: 60px;
height: 34px;
top: 2.5%;
right: 2.5%;
top: 25px;
right: 25px;

input {
opacity: 0;
Expand Down
19 changes: 13 additions & 6 deletions components/Particles/ParticlesBG.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,33 @@ function ParticlesBG() {
position: "absolute",
top: "0",
left: "0",
margin: "0",
padding: "0",
height: "100vh",
pointerEvents: "none",
color: 'black'
zIndex: 0
}}
params={{
"particles": {
"color": "#0000ff",
"number": {
"value": 50
},
"size": {
"value": 3
"value": 10,
"random": true
},
"move": {
"direction": "bottom",
"out_mode": "out"
},
"line_linked": {
"enable": false
}
},
"interactivity": {
"events": {
"onhover": {
"onClick": {
"enable": true,
"mode": "repulse"
"mode": "push",
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/Projects/Projects.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
flex-direction: column;
margin: auto;
align-items: center;

z-index: 2;
.ProjectList {
display: flex;
flex-direction: row;
Expand Down
42 changes: 23 additions & 19 deletions components/Timeline/Timeline.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
import React from 'react'
import { timelineData as jobs } from '../../content'
import React from "react";
import { timelineData as jobs } from "../../content";

import Styles from './Timeline.module.scss'
import Styles from "./Timeline.module.scss";

const Timeline = () => (
<div className={Styles.Timeline}>
<h2>Job Timeline</h2>
<div className={Styles.TimelineContainer}>
{jobs.map((data, idx) => (
<div className={Styles.TimelineItem} key={idx}>
<div className={Styles.TimelineContent}>
<h4>{data.company}</h4>
<h5>{data.title}</h5>
<time>{data.date}</time>
<p>{data.text}</p>
<span className={Styles.Circle} />
</div>
</div>
))}
<div className={Styles.Timeline}>
<h2>Job Timeline</h2>
<div className={Styles.TimelineContainer}>
{jobs.map((data, idx) => (
<div
data-aos={idx % 2 == 0 ? "fade-left" : "fade-right"}
className={Styles.TimelineItem}
key={idx}
>
<div className={Styles.TimelineContent}>
<h4>{data.company}</h4>
<h5>{data.title}</h5>
<time>{data.date}</time>
<p>{data.text}</p>
<span className={Styles.Circle} />
</div>
</div>
))}
</div>
)
</div>
);

export default Timeline
export default Timeline;
5 changes: 2 additions & 3 deletions components/Timeline/Timeline.module.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.Timeline {
text-align: center;
margin: auto;

z-index: 2;
h2 {
color: var(--primary-color);
font-weight: 500;
Expand Down Expand Up @@ -109,8 +109,7 @@
}

.Circle {
background-color: #fff;
border: 3px solid var(--primary-color);
background-color: var(--primary-color);
border-radius: 50%;
position: absolute;
top: calc(50% - 10px);
Expand Down
Loading