diff --git a/public/self_motivation.png b/public/self_motivation.png new file mode 100644 index 0000000..efe7ed5 Binary files /dev/null and b/public/self_motivation.png differ diff --git a/src/components/SkillsPage/Skills.js b/src/components/SkillsPage/Skills.js index 9f172c6..50fd992 100644 --- a/src/components/SkillsPage/Skills.js +++ b/src/components/SkillsPage/Skills.js @@ -1,8 +1,9 @@ import React, { useState, useEffect } from "react"; import TitleStyle from "../UI/TitleStyle"; import SkillCard from "./SkillCard"; -import { fetchSkillsRecords } from "../../utils/firebase"; import SlideAnimate from "../UI/SlideAnimate"; +import SoftSkills from "./SoftSkills"; +import { fetchSkillsRecords } from "../../utils/firebase"; const Skills = () => { const [skillData, setSkillData] = useState([]); @@ -18,8 +19,9 @@ const Skills = () => { return ( +
- +
{skillData.map((data) => { return ( diff --git a/src/components/SkillsPage/SoftSkillCard.js b/src/components/SkillsPage/SoftSkillCard.js new file mode 100644 index 0000000..9653266 --- /dev/null +++ b/src/components/SkillsPage/SoftSkillCard.js @@ -0,0 +1,21 @@ +import { softskills } from "../../data/softskills"; + +const SoftSkillCard = () => { + return ( +
+ {softskills.map((skill) => { + return ( +
+
{skill.pic}
+
{skill.content}
+
+ ); + })} +
+ ); +}; + +export default SoftSkillCard; diff --git a/src/components/SkillsPage/SoftSkills.js b/src/components/SkillsPage/SoftSkills.js new file mode 100644 index 0000000..1a384ed --- /dev/null +++ b/src/components/SkillsPage/SoftSkills.js @@ -0,0 +1,14 @@ +import React from "react"; +import TitleStyle from "../UI/TitleStyle"; +import SoftSkillCard from "./SoftSkillCard"; + +const SoftSkills = () => { + return ( +
+ + +
+ ); +}; + +export default SoftSkills; diff --git a/src/data/softskills.js b/src/data/softskills.js new file mode 100644 index 0000000..3b38830 --- /dev/null +++ b/src/data/softskills.js @@ -0,0 +1,57 @@ +import { GoOrganization } from "react-icons/go"; +import { HiQuestionMarkCircle } from "react-icons/hi2"; +import { FaLightbulb } from "react-icons/fa"; +import { TbListDetails } from "react-icons/tb"; +import { FaClock } from "react-icons/fa"; +import { SiMinds } from "react-icons/si"; + +export const softskills = [ + { + id: "comm", + content: "Communication", + pic: , + css: "text-lg text-green-300", + }, + { + id: "problem_solving", + content: "Problem-Solving", + pic: , + css: "text-xl text-purple-300", + }, + { + id: "creative", + content: "Creativity", + pic: , + css: "text-lg text-amber-300", + }, + { + id: "self_mot", + content: "Self Motivation", + pic: ( + self_mot + ), + css: "text-2xl text-blue-200", + }, + { + id: "attention", + content: "Attention to Detail", + pic: , + css: "text-lg text-blue-200", + }, + { + id: "time", + content: "Time Management", + pic: , + css: "text-lg text-red-200", + }, + { + id: "mind", + content: "Open Minded", + pic: , + css: "text-2xl text-yellow-200", + }, +];