A premium, Apple-style cinematic landing page for Danik Studios, an indie game studio specializing in immersive horror and realistic interactive experiences.
# Install dependencies
npm install
# Run development server
npm run dev
# Build for production
npm run build
npm run dev
Open http://localhost:3000 in your browser.
This project is configured for automatic deployment to GitHub Pages.
main branchnpm run build
The static files will be generated in the out/ directory.
If you’re deploying to a subdirectory (e.g., username.github.io/repo-name), uncomment and update these lines in next.config.js:
basePath: '/your-repo-name',
assetPrefix: '/your-repo-name/',
├── src/
│ ├── app/
│ │ ├── layout.tsx # Root layout with fonts
│ │ ├── page.tsx # Main page component
│ │ └── globals.css # Global styles
│ └── components/
│ ├── sections/ # Page sections
│ │ ├── Hero.tsx
│ │ ├── StudioIdentity.tsx
│ │ ├── GamesShowcase.tsx
│ │ ├── FeaturedGame.tsx
│ │ ├── Technology.tsx
│ │ └── Contact.tsx
│ ├── three/ # Three.js components
│ │ ├── ParticleField.tsx
│ │ └── FeaturedScene.tsx
│ ├── Navigation.tsx
│ ├── LoadingScreen.tsx
│ └── SmoothScroll.tsx
├── public/ # Static assets
├── .github/workflows/ # GitHub Actions
└── next.config.js # Next.js configuration
Edit the color palette in tailwind.config.ts:
colors: {
accent: {
primary: '#00f0ff', // Cyan
secondary: '#ff00aa', // Magenta
purple: '#8b5cf6', // Purple
}
}
Update game information in src/components/sections/GamesShowcase.tsx and other section components.
Framer Motion animations can be customized in each component. Key animation properties:
initial - Starting stateanimate - End statetransition - Animation timingwhileInView - Scroll-triggered animationsdpr={[1, 2]} for optimal renderingtransform and opacity for GPU accelerationdynamic() for Three.js componentsMIT License - feel free to use this template for your own projects.
Built with passion by Danik Studios