Skip to content

Commit 3512e9a

Browse files
committed
Revert "feat: implement hero section with responsive layout and tests"
This reverts commit aad6ed5.
1 parent aad6ed5 commit 3512e9a

13 files changed

Lines changed: 1 addition & 688 deletions

__mocks__/react-syntax-highlighter.tsx

Lines changed: 0 additions & 13 deletions
This file was deleted.

jest.config.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ const config: Config = {
1010
testEnvironment: 'jest-environment-jsdom',
1111
moduleNameMapper: {
1212
'^@/(.*)$': '<rootDir>/src/$1',
13-
'^react-syntax-highlighter$': '<rootDir>/__mocks__/react-syntax-highlighter.tsx',
14-
'^react-syntax-highlighter/dist/esm/styles/prism$': '<rootDir>/__mocks__/react-syntax-highlighter.tsx',
1513
},
1614
testMatch: [
1715
'<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}',
@@ -37,9 +35,6 @@ const config: Config = {
3735
tsconfig: 'tsconfig.json',
3836
}],
3937
},
40-
transformIgnorePatterns: [
41-
'/node_modules/(?!(react-syntax-highlighter)/)'
42-
],
4338
};
4439

4540
export default createJestConfig(config);

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,12 @@
1414
"test:coverage": "jest --coverage"
1515
},
1616
"dependencies": {
17-
"@types/react-syntax-highlighter": "^15.5.13",
1817
"class-variance-authority": "^0.7.1",
1918
"clsx": "^2.1.1",
20-
"framer-motion": "^12.12.2",
2119
"lucide-react": "^0.511.0",
2220
"next": "14.1.0",
23-
"next-themes": "^0.4.6",
2421
"react": "^18",
2522
"react-dom": "^18",
26-
"react-syntax-highlighter": "^15.6.1",
2723
"tailwind-merge": "^3.3.0"
2824
},
2925
"devDependencies": {

public/avatar.png

-1.52 MB
Binary file not shown.

src/app/page.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,10 @@ import {
1313
Text,
1414
} from "@/components/ui";
1515
import { ThemeToggle } from '../components/ui/ThemeToggle'
16-
import Hero from '@/components/ui/Hero'
1716

1817
export default function Home() {
1918
return (
2019
<div className="min-h-screen bg-background text-text">
21-
<Hero
22-
headline="Senior Full-Stack Developer & Problem Solver"
23-
subtitle="20+ years crafting scalable web applications with React, Node.js, and modern architectures"
24-
location="Istanbul, Turkey • Remote Worldwide"
25-
avatarSrc="/avatar.png"
26-
avatarAlt="Professional headshot"
27-
ctaPrimary={{ label: 'View Projects', href: '/projects' }}
28-
ctaSecondary={{ label: 'Contact Me', href: '/contact' }}
29-
/>
30-
3120
<Section variant="surface" spacing="lg" className="border-b border-accent/20">
3221
<div className="container mx-auto flex justify-between items-center">
3322
<Heading as="h1" size="h2" className="text-accent">UI Component Showcase</Heading>

src/components/ComponentPlayground.test.tsx

Lines changed: 0 additions & 66 deletions
This file was deleted.

src/components/ComponentPlayground.tsx

Lines changed: 0 additions & 99 deletions
This file was deleted.

src/components/ui/Hero.tsx

Lines changed: 0 additions & 131 deletions
This file was deleted.

0 commit comments

Comments
 (0)