-
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
Showing
12 changed files
with
221 additions
and
13 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,61 @@ | ||
import React, { FC } from 'react' | ||
import clsx from 'clsx' | ||
import { motion } from 'framer-motion' | ||
|
||
import Badge from '@/components/badge/Badge' | ||
import ArrowIcon from '@/components/icons/ArrowIcon' | ||
|
||
import { skillsByLevel } from './SkillsList' | ||
|
||
const Skills: FC = () => { | ||
return ( | ||
<div | ||
id="skills" | ||
className="flex w-full flex-col space-y-12 p-4 sm:px-16 md:px-16 lg:px-24 xl:space-y-28 2xl:px-72" | ||
> | ||
<div | ||
data-aos="fade-up" | ||
className="flex flex-col items-center justify-center space-y-12 py-12 md:py-24" | ||
> | ||
{/* Title */} | ||
<section className="flex w-full flex-row items-center md:w-auto"> | ||
<div className="flex flex-row items-center"> | ||
<ArrowIcon className="size-4 flex-none text-primary md:h-6 md:w-5" /> | ||
<span className="font-sans text-sm text-primary sm:text-xl"> | ||
{' '} | ||
04. | ||
</span> | ||
</div> | ||
|
||
<span className="px-3 text-lg font-bold tracking-wider text-gray-200 opacity-85 md:text-2xl"> | ||
Skills | ||
</span> | ||
<div className="h-[0.2px] w-full bg-gray-400 md:w-80" /> | ||
</section> | ||
|
||
{/* Skills */} | ||
<section className="flex w-full flex-col !items-stretch justify-center space-y-4 md:flex-row md:items-start md:justify-center md:space-x-4 md:space-y-0 "> | ||
{skillsByLevel.map(level => { | ||
const transition = { y: -3, scale: 1.2, transition: { duration: 0.1 } } | ||
|
||
return ( | ||
<div key={level.title} className={clsx("block max-w-sm rounded-lg border border-gray-200 bg-white p-6 shadow hover:bg-gray-100 dark:border-gray-700 dark:bg-gray-800 dark:hover:bg-gray-700", level.className)}> | ||
<h5 className="mb-4 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">{level.title}</h5> | ||
<div className="grid grid-cols-6 gap-4 font-normal text-gray-700 dark:text-gray-400"> | ||
{level.skills.map(skill => ( | ||
<div key={skill.text} className='group relative w-min hover:z-50'> | ||
<motion.div whileHover={transition} whileTap={transition}> | ||
<span className='cursor-pointer hover:text-primary'>{skill.icon}</span> | ||
</motion.div> | ||
<Badge className='invisible absolute left-1/2 -translate-x-2/4 translate-y-2 text-nowrap font-mono ring-1 ring-primary backdrop-blur-md group-hover:visible dark:text-blue-300' variant="blue">{skill.text}</Badge> | ||
</div> | ||
))} | ||
</div> | ||
</div>) | ||
})} | ||
</section> | ||
</div> | ||
</div>) | ||
} | ||
|
||
export default Skills |
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,113 @@ | ||
import { ReactNode } from 'react'; | ||
import { DiScrum } from 'react-icons/di'; | ||
import { | ||
FaAirbnb, | ||
FaAngular, | ||
FaApple, | ||
FaAws, | ||
FaCheckCircle, | ||
FaCss3Alt, | ||
FaDocker, | ||
FaFileCode, | ||
FaGit, | ||
FaGitlab, | ||
FaHtml5, | ||
FaJava, | ||
FaJenkins, | ||
FaLeaf, | ||
FaLinux, | ||
FaNodeJs, | ||
FaPython, | ||
FaReact, | ||
FaSass, | ||
FaWindows, | ||
} from 'react-icons/fa'; | ||
import { | ||
SiApachemaven, | ||
SiC, | ||
SiCplusplus, | ||
SiDjango, | ||
SiFfmpeg, | ||
SiJavascript, | ||
SiKubernetes, | ||
SiMatrix, | ||
SiNeo4J, | ||
SiNestjs, | ||
SiNpm, | ||
SiPhp, | ||
SiPostgresql, | ||
SiServerless, | ||
SiSocketdotio, | ||
SiSonarcloud, | ||
SiSwift, | ||
SiTailwindcss, | ||
SiTypescript, | ||
SiVite, | ||
SiWebpack, | ||
SiYarn, | ||
} from 'react-icons/si'; | ||
|
||
type Skill = { | ||
text: string; | ||
icon: ReactNode; | ||
}; | ||
|
||
type SkillsByLevel = Array<{ | ||
title: string; | ||
skills: Skill[] | ||
className?: string | ||
}> | ||
|
||
const advancedSkills: Skill[] = [ | ||
{ text: 'JavaScript', icon: <SiJavascript /> }, | ||
{ text: 'React', icon: <FaReact /> }, | ||
{ text: 'Node.js', icon: <FaNodeJs /> }, | ||
{ text: 'TypeScript', icon: <SiTypescript /> }, | ||
{ text: 'Nest', icon: <SiNestjs /> }, | ||
{ text: 'AWS', icon: <FaAws /> }, | ||
{ text: 'Serverless', icon: <SiServerless /> }, | ||
{ text: 'Docker', icon: <FaDocker /> }, | ||
{ text: 'Kubernetes', icon: <SiKubernetes /> }, | ||
{ text: 'Sass', icon: <FaSass /> }, | ||
{ text: 'CSS', icon: <FaCss3Alt /> }, | ||
{ text: 'Tailwind', icon: <SiTailwindcss /> }, | ||
{ text: 'Git', icon: <FaGit /> }, | ||
{ text: 'Websockets', icon: <SiSocketdotio /> }, | ||
{ text: 'Webpack', icon: <SiWebpack /> }, | ||
{ text: 'Vite', icon: <SiVite /> }, | ||
{ text: 'Yarn', icon: <SiYarn /> }, | ||
{ text: 'npm', icon: <SiNpm /> }, | ||
{ text: 'Java', icon: <FaJava /> }, | ||
{ text: 'Spring', icon: <FaLeaf /> }, | ||
{ text: 'Maven', icon: <SiApachemaven /> }, | ||
{ text: 'Jenkins', icon: <FaJenkins /> }, | ||
{ text: 'Gitlab CI', icon: <FaGitlab /> }, | ||
{ text: 'SonarQube', icon: <SiSonarcloud /> }, | ||
{ text: 'HTML', icon: <FaHtml5 /> }, | ||
{ text: 'LaTeX', icon: <FaFileCode /> }, | ||
{ text: 'Linux', icon: <FaLinux /> }, | ||
{ text: 'Mac OSX', icon: <FaApple /> }, | ||
{ text: 'Windows', icon: <FaWindows /> }, | ||
{ text: 'Scrum', icon: <DiScrum /> }, | ||
{ text: 'TDD', icon: <FaCheckCircle /> }, | ||
{ text: 'SQL', icon: <SiPostgresql /> }, | ||
]; | ||
|
||
const intermediateSkills: Skill[] = [ | ||
{ text: 'Angular', icon: <FaAngular /> }, | ||
{ text: 'PHP', icon: <SiPhp /> }, | ||
{ text: 'C', icon: <SiC /> }, | ||
{ text: 'C++', icon: <SiCplusplus /> }, | ||
{ text: 'Python', icon: <FaPython /> }, | ||
{ text: 'Django', icon: <SiDjango /> }, | ||
{ text: 'Swift', icon: <SiSwift /> }, | ||
{ text: 'Matlab', icon: <SiMatrix /> }, | ||
{ text: 'Neo4j', icon: <SiNeo4J /> }, | ||
{ text: 'FFmpeg', icon: <SiFfmpeg /> }, | ||
{ text: 'Lottie', icon: <FaAirbnb /> }, | ||
]; | ||
|
||
export const skillsByLevel: SkillsByLevel = [ | ||
{ title: "Advanced", skills: advancedSkills, className: "grow md:[&>div]:grid-cols-10" }, | ||
{ title: 'Intermediate', skills: intermediateSkills } | ||
] |
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