Skip to content

Commit

Permalink
Add skill progress bars
Browse files Browse the repository at this point in the history
  • Loading branch information
tin0312 committed Sep 21, 2023
1 parent 2f9a8af commit beea573
Show file tree
Hide file tree
Showing 17 changed files with 626 additions and 106 deletions.
428 changes: 395 additions & 33 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
"dependencies": {
"airtable": "^0.12.2",
"boostrap": "^2.0.0",
"bootstrap": "^5.3.1",
"bootstrap": "^5.3.2",
"react": "^18.2.0",
"react-bootstrap": "^2.8.0",
"react-dom": "^18.2.0",
"react-router": "^6.14.2",
"react-router-dom": "^6.14.2"
Expand Down
31 changes: 26 additions & 5 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ nav a:hover {
display: flex;
align-items: center;
width: 80%;
margin: 0 auto;
margin-top: 5%;
margin: 7% auto 0;
}
.greeting {
font-family: "Space Grotesk", sans-serif;
font-weight: 700;
font-size: 70px;
margin-bottom: 43px;
line-height: 95px;
}
#name {
overflow: hidden;
Expand Down Expand Up @@ -148,13 +148,34 @@ nav a:hover {
/* Tech stacks icons*/

.technology-icon {
width: 5%;
width: 8%;
}
.skill-set {
.skill-set-container{
display: flex;
margin-top: 5%;
width: 100%;
height: 80vh;
}
.skill-set-container-one,
.skill-set-container-two
{
width: 50%;
height: 100%;
display: flex;
flex-direction: column;
gap: 5%;
}
.progress-container{
display: flex;
gap: 3%;
align-items: center;
width: 100%;
}
.two{
justify-content: flex-end;
}
.progress-bar{
width: 50% ;
background-color:#00cc00
}
/* Project section*/
.project-page {
Expand Down
2 changes: 0 additions & 2 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,3 @@ export default function App() {
)
}

// route branch is also route / when the page first loads

203 changes: 193 additions & 10 deletions src/Pages/About.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
import React from "react";
import * as Images from "../images";
import { ProgressBar } from "react-bootstrap";

export default function About() {
const JavaScript = 90;
const html = 95;
const css = 90;
const react = 85;
const bootstrap = 85;
const mySQL = 80;
const Python = 80;
const Flask = 70;
const jQuery = 70;
const Firebase = 70;
const Git = 80;
const Figma = 90
return (
<div className="about-container">
<div className="skill-introduction-container">
Expand All @@ -15,16 +28,186 @@ export default function About() {
as a knack for enhancing user experiences with jQuery.
</p>
</div>
<div className="skill-set">
<img className="technology-icon" src={Images.html} alt="html-icon" />
<img className="technology-icon" src={Images.css} alt="css-icon" />
<img className="technology-icon" src={Images.js} alt="js-icon" />
<img className="technology-icon" src={Images.mySQL} alt="mySQL-icon"/>
<img className="technology-icon" src={Images.react} alt="react-icon" />
<img className="technology-icon" src={Images.bootstrap} alt="bootstrap-icon"/>
<img className="technology-icon" src={Images.netlify} alt="netlify-icon" />
<img className="technology-icon" src={Images.figma} alt="figma-icon"/>
<img className="technology-icon" src={Images.npm} alt="npm-icon"/>

<div className="skill-set-container">
<div className="skill-set-container-one">
<div className="progress-container">
<img className="technology-icon" src={Images.js} alt="js-icon" />
<ProgressBar
className="progress-bar"
variant="success"
animated
now={JavaScript}
label={`${JavaScript}%`}
visuallyHidden
/>
</div>
<div className="progress-container">
<img
className="technology-icon"
src={Images.html}
alt="html-icon"
/>
<ProgressBar
className="progress-bar"
variant="success"
animated
now={html}
label={`${html}%`}
visuallyHidden
/>
</div>
<div className="progress-container">
<img className="technology-icon" src={Images.css} alt="css-icon" />
<ProgressBar
className="progress-bar"
variant="success"
animated
now={css}
label={`${css}%`}
visuallyHidden
/>
</div>
<div className="progress-container">
<img
className="technology-icon"
src={Images.bootstrap}
alt="bootstrap-icon"
/>
<ProgressBar
className="progress-bar"
variant="success"
animated
now={bootstrap}
label={`${bootstrap}%`}
visuallyHidden
/>
</div>
<div className="progress-container">
<img
className="technology-icon"
src={Images.react}
alt="react-icon"
/>
<ProgressBar
className="progress-bar"
variant="success"
animated
now={react}
label={`${react}%`}
visuallyHidden
/>
</div>
<div className="progress-container">
<img
className="technology-icon"
src={Images.mySQL}
alt="mySQL-icon"
/>
<ProgressBar
className="progress-bar"
variant="success"
animated
now={mySQL}
label={`${mySQL}%`}
visuallyHidden
/>
</div>
</div>
{/* skill-set-container-two section */}
<div className="skill-set-container-two">
<div className="progress-container two">
<img
className="technology-icon"
src={Images.git}
alt="git-icon"
/>
<ProgressBar
className="progress-bar"
variant="success"
animated
now={Git}
label={`${Git}%`}
visuallyHidden
/>
</div>
<div className="progress-container two">
<img
className="technology-icon"
src={Images.firebase}
alt="firebase-icon"
/>
<ProgressBar
className="progress-bar"
variant="success"
animated
now={Firebase}
label={`${Firebase}%`}
visuallyHidden
/>
</div>
<div className="progress-container two">
<img
className="technology-icon"
src={Images.jQuery}
alt="jQuery-icon"
/>
<ProgressBar
className="progress-bar"
variant="success"
animated
now={jQuery}
label={`${jQuery}%`}
visuallyHidden
/>
</div>
<div className="progress-container two">
<img
className="technology-icon"
src={Images.python}
alt="python-icon"
/>
<ProgressBar
className="progress-bar"
variant="success"
animated
now={Python}
label={`${Python}%`}
visuallyHidden
/>
</div>
<div className="progress-container two">
<img
className="technology-icon"
src={Images.flask}
alt="flask-icon"
/>
<ProgressBar
className="progress-bar"
id = "flask"
variant="success"
animated
now={Flask}
label={`${Flask}%`}
visuallyHidden
/>
</div>
<div className="progress-container two">
<img
className="technology-icon"
src={Images.figma}
alt="figma-icon"
/>
<ProgressBar
className="progress-bar"
variant="success"
animated
now={Figma}
label={`${Figma}%`}
visuallyHidden
/>
</div>
</div>
</div>
</div>
);
Expand Down
10 changes: 4 additions & 6 deletions src/Pages/Brand.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,16 @@ export default function Brand() {
<div className="home-container ">
{/* Name && Introduction */}
<div className="introduction-container">
<div>
<h1 className="greeting">
Nice to meet you!
<br />
Nice to meet you!{""}
<br />
I’m <span id = "name" >Justin</span>
</h1>
<p className="introduction-message">
Based in the Toronto, I’m a front-end developer
<br /> passionate about building accessible web apps
<br /> that users love.
passionate about building accessible web apps
that users love.
</p>
</div>
</div>
{/* image */}
<div className="image-container">
Expand Down
Binary file added src/images/figmaIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 0 additions & 22 deletions src/images/figmaIcon.svg

This file was deleted.

Binary file added src/images/firebaseIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/flaskIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/flaskIcon.webp
Binary file not shown.
Binary file added src/images/gitIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 6 additions & 3 deletions src/images/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ export { default as js } from "./jsIcon.png"
export { default as html } from "./htmlIcon.png"
export { default as css } from "./cssIcon.png"
export { default as bootstrap } from "./bootstrapIcon.png"
export { default as netlify } from "./netlifyIcon.png"
export { default as figma } from "./figmaIcon.svg"
export { default as npm } from "./npmIcon.svg"
export { default as mySQL } from "./mySQLIcon.png"
export { default as figma } from "./figmaIcon.png"
export { default as python } from "./pythonIcon.png"
export { default as git } from "./gitIcon.png"
export { default as firebase } from "./firebaseIcon.png"
export { default as flask } from "./flaskIcon.webp"
export { default as jQuery } from "./jQueryIcon.png"
export { default as weatherThumbNail} from "./weatherThumbNail.png"
export { default as quizThumbNail} from "./quizThumbNail.png"
export { default as roomsystemThumbNail} from "./roomsystemThumbNail.png"
Expand Down
Binary file added src/images/jQueryIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/images/netlifyIcon.png
Binary file not shown.
24 changes: 0 additions & 24 deletions src/images/npmIcon.svg

This file was deleted.

Binary file added src/images/pythonIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit beea573

Please sign in to comment.