Replaces the placeholder hero with a crossfading slider (slow zoom, 6s per slide) driven by the progress bar animation; it pauses on mouse hover, keyboard focus, and hidden tabs, and skips autoplay with reduced motion. Adds prev/next arrows and touch swipe, and Facebook/Instagram icons from a fixed set of platforms using bundled Iconify data (@iconify/react/offline and @iconify-icons/ant-design, so no runtime API calls). Content (tagline, title, CTA, slides, socials) is plain data in heroContent.ts and passed in as a prop, so it can come from the CMS API later. The tagline sits inside the h1 together with the name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
{
|
|
"name": "andrea-slop-fotografie",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"typegen": "chakra typegen ./src/theme.ts",
|
|
"typegen:watch": "chakra typegen ./src/theme.ts --watch"
|
|
},
|
|
"devDependencies": {
|
|
"@chakra-ui/cli": "^3.37.0",
|
|
"@iconify-icons/ant-design": "2.0.1",
|
|
"@iconify/react": "^6.0.2",
|
|
"@tanstack/router-plugin": "^1.168.40",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-dom": "^19.3.0",
|
|
"prettier": "^3.9.9",
|
|
"typescript": "~6.0.2",
|
|
"vite": "^8.3.0"
|
|
},
|
|
"dependencies": {
|
|
"@chakra-ui/react": "^3.37.0",
|
|
"@emotion/react": "^11.14.0",
|
|
"@fontsource/jost": "^5.3.0",
|
|
"@fontsource/marcellus": "^5.3.0",
|
|
"@tanstack/react-router": "^1.170.39",
|
|
"@tanstack/react-router-devtools": "^1.167.2",
|
|
"@vitejs/plugin-react": "^6.1.1",
|
|
"next-themes": "^0.4.6",
|
|
"react": "^19.3.0",
|
|
"react-dom": "^19.3.0"
|
|
}
|
|
}
|