Skip to content

Modern Author Website Template – A professional, responsive website template for authors and writers to showcase books, share updates, and engage readers. Built with Next.js, TypeScript, and Tailwind CSS for speed, SEO, and a modern UI.

Notifications You must be signed in to change notification settings

mehedi-pathan/author-website

Repository files navigation

Modern Author Website Template

A professional, responsive website template designed for authors, writers, and literary professionals. Built with Next.js, TypeScript, and Tailwind CSS.

🌟 Features

Core Functionality

  • Responsive Design: Mobile-first approach with perfect scaling across all devices
  • Modern UI/UX: Glassmorphism effects, smooth animations, and contemporary design patterns
  • SEO Optimized: Proper meta tags, semantic HTML, and optimized structure
  • Accessibility: WCAG compliant with proper ARIA labels and keyboard navigation
  • Performance: Optimized images, lazy loading, and efficient code splitting

Author-Specific Features

  • Book Showcase: Featured books section with ratings, reviews, and purchase links
  • Author Biography: Comprehensive about section with achievements and timeline
  • Reader Testimonials: Social proof with authentic reader reviews
  • Blog Integration: News and updates section for author announcements
  • Contact System: Professional contact form with multiple inquiry types
  • Newsletter Signup: Modern newsletter subscription with trust indicators

Technical Features

  • Hot News Bar: Auto-rotating announcements with manual navigation
  • Dynamic Navigation: Scroll-responsive header with glassmorphism effects
  • Interactive Elements: Hover effects, animations, and micro-interactions
  • Form Validation: Client-side validation with proper error handling
  • Social Media Integration: Links to all major platforms
  • Analytics Ready: Structured for easy Google Analytics integration

🚀 Quick Start

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

  1. Clone the repository
  2. Install dependencies: npm install
  3. Run development server: npm run dev
  4. Open http://localhost:3000

Customization

  1. Author Information: Update app/page.tsx with your author details
  2. Books Data: Modify the featuredBooks array with your book information
  3. Colors: Customize the color scheme in tailwind.config.ts
  4. Content: Replace placeholder text and images with your content
  5. Social Links: Update social media links in the footer component

📁 Project Structure

``` ├── app/ │ ├── page.tsx # Homepage │ ├── books/ # Books catalog │ ├── about/ # Author biography │ ├── blog/ # News and updates │ ├── contact/ # Contact form │ └── layout.tsx # Root layout ├── components/ │ ├── navigation.tsx # Header and navigation │ ├── footer.tsx # Footer component │ └── ui/ # Reusable UI components └── lib/ └── utils.ts # Utility functions ```

🎨 Customization Guide

Changing Author Information

Update the following in app/page.tsx:

  • Author name and tagline
  • Statistics and achievements
  • Featured books data
  • Testimonials

Modifying Colors

The template uses a purple/pink gradient theme. To change:

  1. Update tailwind.config.ts for global colors
  2. Modify gradient classes in components
  3. Update the logo colors in navigation

Adding New Pages

  1. Create new page in app/ directory
  2. Add navigation link in components/navigation.tsx
  3. Update footer links if needed

Integrating with CMS

The template is structured to easily integrate with:

  • Contentful
  • Strapi
  • Sanity
  • WordPress (headless)

🛠️ Built With

  • Next.js 14: React framework with App Router
  • TypeScript: Type-safe development
  • Tailwind CSS: Utility-first CSS framework
  • shadcn/ui: High-quality UI components
  • Lucide React: Beautiful icons
  • Framer Motion: Smooth animations (ready to integrate)

📱 Responsive Breakpoints

  • Mobile: 320px - 768px
  • Tablet: 768px - 1024px
  • Desktop: 1024px+
  • Large Desktop: 1440px+

🔧 Performance Optimizations

  • Image optimization with Next.js Image component
  • Lazy loading for non-critical content
  • Efficient bundle splitting
  • Optimized fonts with next/font
  • Minimal JavaScript for core functionality

📈 SEO Features

  • Semantic HTML structure
  • Open Graph meta tags
  • Twitter Card support
  • Structured data ready
  • Sitemap generation ready
  • Robot.txt configuration

🎯 Use Cases

Perfect for:

  • Fiction authors
  • Non-fiction writers
  • Poets and literary artists
  • Academic authors
  • Self-published authors
  • Literary agencies
  • Publishing houses

🤝 Contributing

This is a portfolio project by Mehedi Pathan. Feel free to fork and customize for your own use.

📄 License

This project is open source and available under the MIT License.

👨‍💻 Developer

Mehedi Pathan


This template represents modern web development practices and can be easily customized for any author's needs.

About

Modern Author Website Template – A professional, responsive website template for authors and writers to showcase books, share updates, and engage readers. Built with Next.js, TypeScript, and Tailwind CSS for speed, SEO, and a modern UI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •