frotnend: add more refactoring
This commit is contained in:
@@ -1,9 +1,28 @@
|
||||
import { COLORS, SOCIALLINKS } from '../constants'
|
||||
import { Linkedin, Github, Award } from 'lucide-react'
|
||||
import { COLORS } from '../constants'
|
||||
import { Tooltip } from './Tooltip'
|
||||
|
||||
const Introduction = () => {
|
||||
const BoldStyle = 'text-blue-900 dark:text-blue-300 font-semibold'
|
||||
|
||||
const socialLinks = [
|
||||
{
|
||||
icon: <Linkedin size={32} />,
|
||||
href: 'https://www.linkedin.com/in/taqi-tahmid/',
|
||||
label: 'LinkedIn',
|
||||
},
|
||||
{
|
||||
icon: <Github size={32} />,
|
||||
href: 'https://github.com/TheTaqiTahmid',
|
||||
label: 'GitHub',
|
||||
},
|
||||
{
|
||||
icon: <Award size={32} />,
|
||||
href: 'https://ti-user-certificates.s3.amazonaws.com/e0df7fbf-a057-42af-8a1f-590912be5460/3da54db2-f994-4148-a0ca-705ae1d748cd-mohammad-taqi-tahmid-094cf8b4-0db8-4a9f-b787-b4efbb2a90fe-certificate.pdf',
|
||||
label: 'CKA Certificate',
|
||||
},
|
||||
]
|
||||
|
||||
return (
|
||||
<div className="text-center p-4 max-w-4xl mx-auto">
|
||||
<h1
|
||||
@@ -37,7 +56,7 @@ const Introduction = () => {
|
||||
</div>
|
||||
|
||||
<div className="flex justify-center gap-8 py-3">
|
||||
{SOCIALLINKS.map((link, index) => (
|
||||
{socialLinks.map((link, index) => (
|
||||
<div key={index} className="group relative">
|
||||
<Tooltip label={link.label} position="top">
|
||||
<a
|
||||
|
||||
@@ -1,6 +1,33 @@
|
||||
import { COLORS, SKILLS } from '../constants'
|
||||
import pythonIcon from '../assets/python.svg'
|
||||
import robotIcon from '../assets/robotframework-svgrepo-com.svg'
|
||||
import goIcon from '../assets/go-original.svg'
|
||||
import reactIcon from '../assets/react.svg'
|
||||
import ansibleIcon from '../assets/ansible.svg'
|
||||
import terraformIcon from '../assets/terraform-icon.svg'
|
||||
import jenkinsIcon from '../assets/jenkins.svg'
|
||||
import gitIcon from '../assets/git-icon.svg'
|
||||
import dockerIcon from '../assets/docker-icon.svg'
|
||||
import kubernetesIcon from '../assets/kubernetes.svg'
|
||||
import prometheusIcon from '../assets/prometheus.svg'
|
||||
import grafanaIcon from '../assets/grafana.svg'
|
||||
import { COLORS } from '../constants'
|
||||
|
||||
const Skills = () => {
|
||||
const skills = [
|
||||
{ name: 'Python', icon: pythonIcon },
|
||||
{ name: 'Golang', icon: goIcon },
|
||||
{ name: 'React', icon: reactIcon },
|
||||
{ name: 'Robot Framework', icon: robotIcon },
|
||||
{ name: 'Ansible', icon: ansibleIcon },
|
||||
{ name: 'Terraform', icon: terraformIcon },
|
||||
{ name: 'Jenkins', icon: jenkinsIcon },
|
||||
{ name: 'Git', icon: gitIcon },
|
||||
{ name: 'Docker', icon: dockerIcon },
|
||||
{ name: 'Kubernetes', icon: kubernetesIcon },
|
||||
{ name: 'Prometheus', icon: prometheusIcon },
|
||||
{ name: 'Grafana', icon: grafanaIcon },
|
||||
]
|
||||
|
||||
return (
|
||||
<div>
|
||||
<h1 className={`text-2xl py-5 font-burtons ${COLORS.PRIMARY} ${COLORS.DARK_PRIMARY}`}>
|
||||
@@ -9,7 +36,7 @@ const Skills = () => {
|
||||
<div
|
||||
className={`grid grid-cols-4 gap-6 text-md py-5 leading-8 ${COLORS.TEXT} ${COLORS.DARK_TEXT} mx-auto max-w-2xl md:text-xl`}
|
||||
>
|
||||
{SKILLS.map((skill) => (
|
||||
{skills.map((skill) => (
|
||||
<div key={skill.name} className="flex flex-col items-center">
|
||||
<img src={skill.icon} alt={skill.name} className="h-10 w-10" />
|
||||
<p className="mt-2 text-center">{skill.name}</p>
|
||||
|
||||
Reference in New Issue
Block a user