Skip to content

Commit

Permalink
updt
Browse files Browse the repository at this point in the history
  • Loading branch information
ArifMiah07 committed Jan 12, 2025
1 parent e78b451 commit 6dd9294
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 56 deletions.
6 changes: 2 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"dependencies": {
"lucide-react": "^0.454.0",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-helmet-async": "^2.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const SkillsContent = () => {
// handle events
// 1
const handleMouseEnter1 = () => {
console.log("hovered");
// console.log("hovered");
setView1(true);
};

Expand All @@ -22,7 +22,7 @@ const SkillsContent = () => {
};
//2
const handleMouseEnter2 = () => {
console.log("hovered");
// console.log("hovered");
setView2(true);
};

Expand All @@ -31,7 +31,7 @@ const SkillsContent = () => {
};
//3
const handleMouseEnter3 = () => {
console.log("hovered");
// console.log("hovered");
setView3(true);
};

Expand All @@ -40,7 +40,7 @@ const SkillsContent = () => {
};
//4
const handleMouseEnter4 = () => {
console.log("hovered");
// console.log("hovered");
setView4(true);
};

Expand All @@ -49,7 +49,7 @@ const SkillsContent = () => {
};
//5
const handleMouseEnter5 = () => {
console.log("hovered");
// console.log("hovered");
setView5(true);
};

Expand All @@ -58,7 +58,7 @@ const SkillsContent = () => {
};
//6
const handleMouseEnter6 = () => {
console.log("hovered");
// console.log("hovered");
setView6(true);
};

Expand All @@ -77,8 +77,8 @@ const SkillsContent = () => {
<div className="bg-[#D663A080] lg:w-[930px] shadow-lg drop-shadow-md p-1 lg:mb-2 ">
<div className="p-5 bg-[#D9D9D9] flex flex-col items-center gap-3 lg:mb-2 ">
{/* intro */}
<div className="bg-[#D9D5D5] flex flex-col items-center w-full p-2">
<h1 className="text-[36px] ">Skills & Vision</h1>
<div className="bg-[#D9D5D5] flex flex-col items-center w-full p-2 text-center">
<h1 className="text-[36px] font-bold">Skills & Vision</h1>
<p className="text-[24px] ">
{" "}
I&apos;m a MERN Stack-focused Full Stack Web Developer
Expand All @@ -93,7 +93,7 @@ const SkillsContent = () => {
makeTriangleStyle={makeTriangleStyle}
view={view1}
title={'Frontend'}
description={'HTML, CSS, JavaScript, TypeScript, Node JS, Express, MongoDB, Firebase, JWT, C/C++, Python, English, Spanish ...'}
description={'HTML, CSS, SCSS, Tailwind, Bootstrap, JavaScript ES6+, TypeScript, React Js, React router dom, Redux, Redux toolkit, Transtack Query, Matarial Ui, Shadcn Ui, Ant Design, Motion, '}
></SkillsSubContentSection>
</div>
{/* Backend */}
Expand All @@ -117,7 +117,7 @@ const SkillsContent = () => {
makeTriangleStyle={makeTriangleStyle}
view={view3}
title={'Database'}
description={'MongoDb, Mongoose, DBMS'}
description={'MongoDb, Mongoose, DBMS, Database Design, Data Modeling, Indexing & Optimization'}
></SkillsSubContentSection>
</div>

Expand All @@ -142,7 +142,7 @@ const SkillsContent = () => {
makeTriangleStyle={makeTriangleStyle}
view={view5}
title={'Soft Skills'}
description={'English, Spanish, Communication, Creative Writing, Problem SOlving'}
description={'English, Spanish, Communication, Creative Writing, Problem Solving'}
></SkillsSubContentSection>
</div>

Expand All @@ -154,7 +154,7 @@ const SkillsContent = () => {
hoverStylesForContentDiv={hoverStylesForContentDiv}
makeTriangleStyle={makeTriangleStyle}
view={view6}
title={'Next Learning Mission'}
title={'What’s Next'}
description={' SQL,PostgreSQL, Prisma, Redis, Next Js, Docker, Ruby, Go, Rust, Zig, '}
></SkillsSubContentSection>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,48 +1,58 @@
import PropTypes from 'prop-types';


const SkillsSubContentSection = ({
handleMouseEnter,
handleMouseLeave,
hoverStylesForContentDiv,
makeTriangleStyle,
view,
title,
description,
handleMouseEnter,
handleMouseLeave,
hoverStylesForContentDiv,
makeTriangleStyle,
view,
title,
description,
}) => {
return (
<div
onMouseEnter={handleMouseEnter}
onMouseLeave={handleMouseLeave}
className={hoverStylesForContentDiv}>
<div className="flex flex-col items-center w-full">
{/* title */}
<div className="flex items-center">
<div className="flex items-center justify-center">
<div className="w-[200px] h-[2px] bg-black "></div>
<div className={makeTriangleStyle}></div>
</div>
<h1 className="text-[32px] mx-3 ">{title}</h1>
<div className=" flex items-center justify-center rotate-180">
<div className="w-[200px] h-[2px] bg-black "></div>
<div className={makeTriangleStyle}></div>
</div>
</div>
{/* description */}
<div>
<p className="text-[16px] ">
{description}
</p>
</div>
{/* border div */}
<div
className={`transition-all duration-300 mt-4 ${
view
? "w-full h-[4px] mt-5 bg-green-800 "
: "w-[100px] h-[2px] bg-slate-600 "
}`}></div>
return (
<div
onMouseEnter={handleMouseEnter}
onMouseLeave={handleMouseLeave}
className={hoverStylesForContentDiv}>
<div className="flex flex-col items-center text-center w-full">
{/* title */}
<div className="flex items-center">
<div className="flex items-center justify-center">
<div className="sm:w-[120px] md:[160px] lg:[200px] h-[2px] bg-black "></div>
<div className={makeTriangleStyle}></div>
</div>
<h1 className="text-[32px] mx-3 ">{title}</h1>
<div className=" flex items-center justify-center rotate-180">
<div className="sm:w-[120px] md:[160px] lg:[200px] h-[2px] bg-black "></div>
<div className={makeTriangleStyle}></div>
</div>
</div>
);
{/* description */}
<div>
<p className="text-[16px] p-3">{description}</p>
</div>
{/* border div */}
<div
className={`transition-all duration-300 mt-4 ${
view
? "w-full h-[4px] mt-5 bg-green-800 "
: "w-[100px] h-[2px] bg-slate-600 "
}`}></div>
</div>
</div>
);
};

export default SkillsSubContentSection;
SkillsSubContentSection.propTypes = {
handleMouseEnter: PropTypes.func.isRequired,
handleMouseLeave: PropTypes.func.isRequired,
hoverStylesForContentDiv: PropTypes.string.isRequired,
makeTriangleStyle: PropTypes.string.isRequired,
view: PropTypes.bool.isRequired,
title: PropTypes.string.isRequired,
description: PropTypes.string.isRequired,
};

export default SkillsSubContentSection;

0 comments on commit 6dd9294

Please sign in to comment.