Skip to content

Commit b6533b4

Browse files
committed
xd
1 parent c5ae487 commit b6533b4

File tree

3 files changed

+2
-19
lines changed

3 files changed

+2
-19
lines changed

components/Header.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import headerNavLinks from '@/data/headerNavLinks'
33
import Logo from '@/data/logo.svg'
44
import Link from './Link'
55
import MobileNav from './MobileNav'
6-
import ThemeSwitch from './ThemeSwitch'
76
import SearchButton from './SearchButton'
87
import Image from 'next/image'
98

@@ -17,10 +16,7 @@ const Header = () => {
1716
<header className={headerClass}>
1817
<Link href="/" aria-label={siteMetadata.headerTitle}>
1918
<div className="flex items-center justify-between">
20-
{/* —— Mobile (≤ 767 px): compact icon —— */}
2119
<Logo className="block h-14 w-14 md:hidden" />
22-
23-
{/* —— Desktop (≥ 768 px): full word‑mark —— */}
2420
<Image
2521
src="/dark.png"
2622
alt="Brand logo"

components/new/hero-section.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@ import SplitText from './SplitPresentation'
99
const handleAnimationComplete = () => {
1010
console.log('All letters have animated!')
1111
}
12-
/**
13-
* ---------------------------------------------------------------------
14-
* <HeroSection /> – compact version 🖥️📱
15-
* ---------------------------------------------------------------------
16-
* • Altura reducida: min‑h-[65vh] en lugar de full screen.
17-
* • Tipografía responsiva con clamp() para evitar tamaños gigantes.
18-
* • Animaciones GSAP conservadas pero con delays más cortos.
19-
* • Texto resumido y centrado para un look ultralimpi o.
20-
* ---------------------------------------------------------------------*/
2112

2213
export default function HeroSection() {
2314
const heroRef = useRef<HTMLDivElement>(null)
@@ -55,7 +46,6 @@ export default function HeroSection() {
5546
className="flex min-h-[50vh] flex-col items-center justify-center px-6 text-center md:min-h-[65vh]"
5647
>
5748
<div className="mx-auto max-w-4xl">
58-
{/* Nombre */}
5949

6050
<SplitText
6151
text="JOSE BLANCO"
@@ -72,7 +62,6 @@ export default function HeroSection() {
7262
onLetterAnimationComplete={handleAnimationComplete}
7363
/>
7464

75-
{/* Título */}
7665

7766
<TrueFocus
7867
sentence="Developer Javascript"
@@ -83,7 +72,6 @@ export default function HeroSection() {
8372
pauseBetweenAnimations={1}
8473
/>
8574

86-
{/* Descripción */}
8775
<p
8876
ref={descRef}
8977
className="mx-auto max-w-2xl text-[clamp(0.9rem,2.5vw,1.2rem)] leading-relaxed text-gray-300"

data/headerNavLinks.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
const headerNavLinks = [
22
{ href: '/', title: 'Home' },
3-
{ href: '/blog', title: 'Articulos' },
4-
{ href: '#projects', title: 'Projectos' },
5-
{ href: '#contact', title: 'Contacto' },
3+
{ href: '/blog', title: 'Blog' },
4+
{ href: '#contact', title: 'Contact' },
65
]
76

87
export default headerNavLinks

0 commit comments

Comments
 (0)