-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ee950dc
commit b05174b
Showing
9 changed files
with
160 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import PropTypes from 'prop-types'; | ||
|
||
const ProgressBar = ({ progress }) => { | ||
const gradient = 'bg-gradient-to-r from-accent-light to-primary-light dark:from-accent-dark dark:to-primary-dark'; | ||
|
||
return ( | ||
<div className="w-full h-6 bg-secondary-light dark:bg-secondary-dark rounded-full overflow-hidden"> | ||
<div | ||
className={`h-full rounded-full ${gradient}`} | ||
style={{ | ||
width: `${progress}%`, | ||
backgroundSize: `${100 / progress * 100}% 100%`, | ||
backgroundPosition: '0 0', | ||
}} | ||
></div> | ||
</div> | ||
); | ||
}; | ||
|
||
ProgressBar.propTypes = { | ||
progress: PropTypes.number.isRequired, | ||
}; | ||
|
||
export default ProgressBar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// Define personal skills data | ||
export const personalSkillsData = [ | ||
{ | ||
skillName: "Resilience", | ||
progress: 90, | ||
}, | ||
{ | ||
skillName: "Cultural Awareness", | ||
progress: 75, | ||
}, | ||
{ | ||
skillName: "Curiosity", | ||
progress: 80, | ||
}, | ||
{ | ||
skillName: "Time Management", | ||
progress: 70, | ||
}, | ||
{ | ||
skillName: "Communication", | ||
progress: 75, | ||
} | ||
]; | ||
|
||
// Define professional skills data | ||
export const professionalSkillsData = [ | ||
{ | ||
skillName: "Networking", | ||
progress: 95, | ||
}, | ||
{ | ||
skillName: "Programming", | ||
progress: 70, | ||
}, | ||
{ | ||
skillName: "Cybersecurity", | ||
progress: 65, | ||
}, | ||
{ | ||
skillName: "Cloud Computing", | ||
progress: 75, | ||
}, | ||
{ | ||
skillName: "Project Management", | ||
progress: 85, | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import QuoteComponent from "../../components/Quote.jsx"; | ||
|
||
const Quote = () => { | ||
return ( | ||
<div className="text-center max-w-2xl mx-auto w-full pt-16 md:pt-14 lg:pt-8"> | ||
<QuoteComponent | ||
p1={`"Perfection is not attainable, but if we `} | ||
p2={"chase perfection"} | ||
p3={` we can catch excellence."`} | ||
auth={"Vince Lombardi"} | ||
/> | ||
</div> | ||
) | ||
} | ||
export default Quote; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import SecHead from "../../components/SecHead.jsx"; | ||
import ProgressBar from "../../components/ProgressBar.jsx"; | ||
import { personalSkillsData, professionalSkillsData } from '../../data/skills.jsx'; // Adjust the import path as necessary | ||
|
||
const Skills = () => { | ||
return ( | ||
<div className="container mx-auto px-4"> | ||
<SecHead head={"Personal Skills"} /> | ||
{personalSkillsData.map((skill, index) => ( | ||
<div className="grid grid-cols-12 gap-4 mt-4" key={index}> | ||
<div className="col-span-12 md:col-span-4 md:col-start-3"> | ||
<p className="text-lg font-thin font-display">{skill.skillName}</p> | ||
</div> | ||
<div className="col-span-12 md:col-span-4"> | ||
<ProgressBar progress={skill.progress} /> | ||
</div> | ||
</div> | ||
))} | ||
|
||
<SecHead head={"Professional Skills"} /> | ||
{professionalSkillsData.map((skill, index) => ( | ||
<div className="grid grid-cols-12 gap-4 mt-4" key={index}> | ||
<div className="col-span-12 md:col-span-4 md:col-start-3"> | ||
<p className="text-lg font-thin font-display">{skill.skillName}</p> | ||
</div> | ||
<div className="col-span-12 md:col-span-4"> | ||
<ProgressBar progress={skill.progress} /> | ||
</div> | ||
</div> | ||
))} | ||
</div> | ||
); | ||
}; | ||
|
||
export default Skills; |