A beautiful, fully responsive, and SEO-optimized website template built with Next.js 15, Tailwind CSS, and shadcn/ui. Perfect for agencies, startups, or any business looking for a professional web presence.
- Clean, professional design with smooth animations
- Fully responsive across all devices
- Dark/light theme support
- Custom color schemes and branding
- Built with Next.js 15 App Router
- Static site generation (SSG) for blazing fast loading
- Optimized images and assets
- SEO-friendly with proper meta tags and structured data
- GSAP-powered animations (no Framer Motion needed!)
- Scroll-triggered animations
- Staggered content reveals
- Smooth page transitions
- Mobile-first responsive design
- WCAG 2.1 compliant accessibility
- Keyboard navigation support
- Screen reader friendly
- Centralized metadata management
- Open Graph and Twitter Card support
- Structured data (JSON-LD)
- Canonical URLs and sitemap ready
- MDX support for blog posts
- Easy content updates
- Dynamic routing for blog posts
- Markdown with syntax highlighting
- Framework: Next.js 15 with App Router
- Language: TypeScript
- Styling: Tailwind CSS
- UI Components: shadcn/ui
- Animations: GSAP
- Content: MDX
- Deployment: Vercel Ready
- Node.js 18+
- npm, yarn, or bun
-
Clone the repository
git clone https://github.com/pinak3748/modern-agency-template.git cd modern-agency-template -
Install dependencies
npm install # or yarn install # or bun install
-
Run the development server
npm run dev # or yarn dev # or bun dev
-
Open your browser Navigate to http://localhost:3000
βββ app/ # Next.js App Router
β βββ about/ # About page
β βββ blog/ # Blog pages
β βββ globals.css # Global styles
β βββ layout.tsx # Root layout
β βββ page.tsx # Home page
βββ components/ # Reusable components
β βββ custom/ # Custom components
β βββ landing/ # Landing page sections
β βββ magicui/ # UI components
β βββ ui/ # shadcn/ui components
βββ content/ # MDX blog posts
βββ data/ # Static data
βββ hooks/ # Custom React hooks
βββ lib/ # Utility functions
β βββ metadata.ts # SEO metadata config
β βββ GSAPAnimations.ts # Animation utilities
β βββ utils.ts # Helper functions
βββ public/ # Static assets
- Update the logo in
components/custom/Navbar.tsx - Change colors in
tailwind.config.js - Update site info in
lib/metadata.ts
- Homepage sections in
components/landing/ - About page in
app/about/page.tsx - Blog posts in
content/directory
- Site metadata in
lib/metadata.ts - Page-specific metadata in individual page files
- Structured data for better search visibility
- Create a new
.mdxfile in thecontent/directory - Add frontmatter with required fields:
--- title: "Your Post Title" publishedAt: "2024-01-01" summary: "Brief description of your post" image: "path/to/image.jpg" tag: ["Tag1", "Tag2"] --- Your post content here...
This template uses GSAP for smooth, performant animations:
- Scroll-triggered animations for content reveals
- Staggered animations for lists and grids
- Smooth transitions between pages
- Custom animation effects in
lib/GSAPAnimations.ts
// Use the built-in animation effects
gsap.effects.fadeUpOnScroll(element, {
start: "top 90%",
duration: 0.8,
yOffset: 30
});
// Or create custom animations
gsap.fromTo(element, {
opacity: 0,
y: 50
}, {
opacity: 1,
y: 0,
duration: 1,
ease: "power2.out"
});- Push your code to GitHub
- Connect your repository to Vercel
- Deploy with zero configuration
- Netlify: Connect your GitHub repo
- Railway: Deploy with
railway up - Self-hosted: Build with
npm run build
We welcome contributions! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- π¨ New page templates
- π Additional animation effects
- π± Mobile optimizations
- βΏ Accessibility improvements
- π Documentation updates
This project is licensed under the MIT License - see the LICENSE file for details.
- Next.js for the amazing framework
- Tailwind CSS for the utility-first CSS
- shadcn/ui for beautiful components
- GSAP for smooth animations
- Lucide for beautiful icons
- π§ Email: [email protected]
- π Issues: GitHub Issues
- π¬ Discussions: GitHub Discussions
If you found this template helpful, please give it a β on GitHub!
Built with β€οΈ by Pinak Faldu
This template is designed to be a starting point for your next project. Feel free to customize it to match your brand and requirements!