Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 28 additions & 17 deletions src/components/icons/TechIcons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,38 +5,49 @@ import {
SiSolidity,
SiKotlin,
SiReact,
SiNodedotjs,
SiFirebase,
SiDocker,
SiPostgresql
} from 'react-icons/si'

const icons = [
{ icon: SiReact, name: 'React' },
{ icon: SiNextdotjs, name: 'Next.js' },
{ icon: SiSolidity, name: 'Solidity' },
{ icon: SiKotlin, name: 'Kotlin' },
{ icon: SiReact, name: 'React' },
{ icon: SiNodedotjs, name: 'Node.js' },
{ icon: SiFirebase, name: 'Firebase' },
{ icon: SiDocker, name: 'Docker' },
{ icon: SiPostgresql, name: 'PostgreSQL' },
]

export default function TechIcons({ compact = false }: { compact?: boolean }) {
if (compact) {
return (
<div className="flex justify-center items-center gap-4">
{icons.map(({ icon: Icon, name }) => (
<motion.div
key={name}
className="flex flex-col items-center"
whileHover={{ scale: 1.1 }}
transition={{ duration: 0.2 }}
>
<div className="w-8 h-8 flex items-center justify-center">
<Icon className="w-6 h-6 text-accent" />
</div>
<span className="text-xs text-text/60 mt-1">{name}</span>
</motion.div>
))}
</div>
)
}

return (
<div className={`grid ${compact ? 'grid-cols-2' : 'grid-cols-4'} gap-4`}>
<div className="flex justify-center items-center gap-8 opacity-60">
{icons.map(({ icon: Icon, name }) => (
<motion.div
key={name}
className="flex flex-col items-center text-secondary"
whileHover={{ scale: 1.1 }}
className="flex flex-col items-center"
whileHover={{ scale: 1.1, opacity: 1 }}
transition={{ duration: 0.2 }}
>
<div className={`p-2 rounded-lg bg-secondary/10 ${compact ? 'w-10 h-10' : 'w-12 h-12'} flex items-center justify-center`}>
<Icon className={`${compact ? 'w-6 h-6' : 'w-8 h-8'} text-accent`} />
<div className="w-12 h-12 flex items-center justify-center">
<Icon className="w-8 h-8 text-accent" />
</div>
{!compact && (
<span className="text-xs text-background/80 mt-1">{name}</span>
)}
<span className="text-xs text-text/60 mt-2">{name}</span>
</motion.div>
))}
</div>
Expand Down
37 changes: 19 additions & 18 deletions src/components/sections/HeroSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,12 @@ export default function HeroSection() {
</h1>

{/* Tagline */}
<p className="text-lg sm:text-xl md:text-2xl mb-8 text-text/80">
Building <span className="text-highlight">Web3</span> &{" "}
<span className="text-accent">Cross-Platform</span> Solutions
<p className="text-lg sm:text-xl md:text-2xl mb-8 text-text/80 max-w-2xl mx-auto">
Crafting <span className="text-accent">digital experiences</span> that matter
</p>

{/* CTA Buttons */}
<div className="flex flex-col sm:flex-row justify-center gap-4 mb-12">
{/* Primary CTA */}
<div className="flex flex-col items-center mb-16">
<motion.button
whileHover={{ scale: 1.05 }}
whileTap={{ scale: 0.95 }}
Expand All @@ -51,11 +50,11 @@ export default function HeroSection() {
.getElementById("projects")
?.scrollIntoView({ behavior: "smooth" });
}}
className="bg-accent text-white px-6 py-3 sm:px-8 sm:py-4 rounded-lg font-medium flex items-center gap-2 cursor-pointer"
className="bg-accent text-white px-8 py-4 rounded-lg font-medium flex items-center gap-2 cursor-pointer text-lg mb-4"
>
View My Work
Explore My Work
<svg
className="w-4 h-4"
className="w-5 h-5"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
Expand All @@ -68,32 +67,34 @@ export default function HeroSection() {
/>
</svg>
</motion.button>

<motion.button
whileHover={{ scale: 1.05 }}
whileTap={{ scale: 0.95 }}
whileHover={{ scale: 1.02 }}
whileTap={{ scale: 0.98 }}
onClick={() => {
document
.getElementById("contact")
?.scrollIntoView({ behavior: "smooth" });
}}
className="border-2 border-accent text-accent px-6 py-3 sm:px-8 sm:py-4 rounded-lg font-medium"
className="text-accent text-sm underline underline-offset-4 hover:no-underline transition-all"
>
Contact Me
Get in touch
</motion.button>
</div>

{/* Tech Stack Grid */}
{/* Tech Stack - Subtle */}
<section id="skills">
<div className="relative">
<div className="absolute inset-0 flex items-center justify-center">
<div className="absolute inset-0 flex items-center justify-center pointer-events-none">
<div
className={`w-64 h-64 sm:w-72 sm:h-72 blur-[100px] rounded-full ${
theme === "dark" ? "bg-accent/20" : "bg-accent/10"
className={`w-96 h-96 blur-[120px] rounded-full ${
theme === "dark" ? "bg-accent/10" : "bg-accent/5"
}`}
/>
</div>
<TechIcons />
<div className="relative z-10">
<TechIcons />
</div>
</div>
</section>
</motion.div>
Expand Down