A complete, production-ready Next.js website built with TypeScript, Tailwind CSS, and modern web technologies.
- Framework: Next.js 15 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS
- State Management: Zustand
- Theme: next-themes (dark/light mode)
- Animations: Framer Motion
- Icons: Lucide React
- Fonts: Inter (Google Fonts)
- π¨ Modern, responsive design with dark mode support
- π± Mobile-first approach with hamburger menu
- β‘ Optimized performance with Next.js App Router
- π Smooth animations with Framer Motion
- π SEO optimized with metadata API
- π Contact form with Zustand state management
- π― Type-safe with TypeScript
- π Custom color scheme (Primary: #2563EB, Accent: #A855F7)
devsolion/
βββ src/
β βββ app/
β β βββ layout.tsx # Root layout with providers
β β βββ page.tsx # Home page
β β βββ services/page.tsx # Services page
β β βββ projects/page.tsx # Projects page
β β βββ team/page.tsx # Team page
β β βββ contact/page.tsx # Contact page
β βββ components/
β β βββ layout/
β β β βββ Navbar.tsx # Navigation with theme toggle
β β β βββ Footer.tsx # Footer with social links
β β βββ sections/
β β β βββ Home/
β β β βββ Hero.tsx
β β β βββ ServicesPreview.tsx
β β β βββ ProjectsPreview.tsx
β β β βββ TeamPreview.tsx
β β β βββ ContactCTA.tsx
β β βββ ui/
β β βββ Button.tsx # Reusable button component
β β βββ SectionHeading.tsx
β βββ lib/
β β βββ data/
β β β βββ services.ts # Dummy services data
β β β βββ projects.ts # Dummy projects data
β β β βββ team.ts # Dummy team data
β β βββ store/
β β β βββ ui.ts # Zustand UI store
β β βββ seo/
β β βββ metadata.ts # SEO configuration
β βββ providers/
β β βββ theme-provider.tsx # Theme provider wrapper
β βββ styles/
β β βββ globals.css # Global styles
β βββ types/
β βββ service.ts # Service type definition
β βββ project.ts # Project type definition
β βββ team.ts # Team type definition
βββ public/
β βββ favicon.ico
βββ tailwind.config.ts # Tailwind configuration
βββ tsconfig.json # TypeScript configuration
βββ package.json
- Node.js 18.17 or higher
- npm or yarn package manager
-
Navigate to the project directory:
cd devsolion -
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Open your browser: Navigate to http://localhost:3000
npm run buildThis creates an optimized production build in the .next folder.
To run the production build locally:
npm startVercel is the recommended platform for deploying Next.js applications.
-
Install Vercel CLI:
npm install -g vercel
-
Deploy:
vercel
-
Follow the prompts:
- Login to your Vercel account
- Select or create a new project
- Confirm the settings
- Deploy!
-
Push your code to GitHub:
git add . git commit -m "Initial commit" git push origin main
-
Import to Vercel:
- Go to vercel.com
- Click "Add New" β "Project"
- Import your GitHub repository
- Configure project settings (usually auto-detected)
- Click "Deploy"
- Visit vercel.com/new
- Import your Git repository
- Vercel will auto-detect Next.js and configure the build settings
- Click "Deploy"
If you add any environment variables, create a .env.local file:
# Add your environment variables here
# NEXT_PUBLIC_API_URL=https://api.example.comIn Vercel, add these in: Project Settings β Environment Variables
Edit tailwind.config.ts to change the color scheme:
colors: {
primary: "#2563EB", // Change primary color
accent: "#A855F7", // Change accent color
// ...
}- Services: Edit
src/lib/data/services.ts - Projects: Edit
src/lib/data/projects.ts - Team: Edit
src/lib/data/team.ts
Edit src/lib/seo/metadata.ts to update:
- Site title
- Description
- Keywords
- Social media cards
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm start |
Run production server |
npm run lint |
Run ESLint |
| Route | Description |
|---|---|
/ |
Home page with all sections |
/services |
Full services listing |
/projects |
Portfolio of projects |
/team |
Team members |
/contact |
Contact form |
- Hero section with gradient background and stats
- Services preview (6 services)
- Projects preview (6 projects)
- Team preview (6 members)
- Contact CTA section
- Responsive design
- Mobile hamburger menu (Zustand controlled)
- Theme toggle (light/dark)
- Active link highlighting
- Sticky positioning
- System preference detection
- Manual toggle
- Smooth transitions
- Persistent across pages
- Form validation
- Loading states (Zustand)
- Success feedback
- Auto-reset after submission
- Next.js App Router: Latest routing system for optimal performance
- TypeScript: Type safety and better developer experience
- Tailwind CSS: Utility-first CSS for rapid UI development
- Zustand: Lightweight state management (mobile menu, form status)
- next-themes: Theme management with system detection
- Framer Motion: Smooth, professional animations
- Lucide React: Modern, customizable icons
The website is fully responsive across:
- Mobile devices (320px+)
- Tablets (768px+)
- Desktops (1024px+)
- Large screens (1280px+)
- Clean & Minimal: Focus on content, not clutter
- Developer-focused: Tech-savvy aesthetic
- Premium Feel: High-quality visuals and interactions
- Fast Loading: Optimized images and code splitting
- Accessible: WCAG compliant color contrasts
This site is optimized for:
- β Fast page loads
- β SEO best practices
- β Core Web Vitals
- β Image optimization (Next.js Image component)
- β Code splitting
- β Font optimization (Google Fonts)
This project is created for DevSolion. All rights reserved.
For questions or issues:
- Email: hello@devsolion.com
- GitHub: Open an issue
Built with β€οΈ using Next.js, TypeScript, and Tailwind CSS