Skip to content

zaiinhs/Slerate-Sales-Boost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Slerate Sales Boost - Landing Page

A modern, responsive landing page for the fictional product "Slerate Sales Boost" - an AI platform to boost sales team performance.

πŸš€ Tech Stack

  • Next.js 15 with App Router
  • TypeScript for type safety
  • Tailwind CSS for styling
  • Heroicons for icons
  • React for UI components

πŸ“‹ Landing Page Features

βœ… Hero Section

  • Compelling headline with value proposition
  • Call-to-action buttons (Free Trial & Live Demo)
  • Attractive dashboard visual with gradient design
  • Fully responsive design

βœ… Features Section

  • 3 main features with icons and descriptions:
    1. Smart Analytics - Dashboard analytics with deep insights
    2. AI Automation - Automate repetitive tasks
    3. Team Collaboration - Integrated collaboration tools

βœ… Testimonials Section

  • 3 testimonials from "clients" with 5-star ratings
  • Avatar and credentials for credibility
  • Responsive grid layout

βœ… Pricing Section

  • 3 tier pricing (Starter, Professional, Enterprise)
  • Highlight on "Professional" package as most popular
  • Feature comparison with checkmark icons

βœ… Call-to-Action Section

  • Strong closing message
  • Multiple CTA buttons
  • Social proof (10,000+ companies)
  • Trust indicators (no credit card, 5-minute setup, 24/7 support)

βœ… Navigation & Footer

  • Fixed navigation with smooth scrolling
  • Mobile-responsive navigation
  • Clean footer with branding

🎨 Design Features

  • Responsive: Optimized for desktop, tablet, and mobile
  • Modern UI: Clean design with consistent spacing
  • Color Scheme: Professional blue (#3B82F6) as primary color
  • Typography: Clear hierarchy with readable fonts
  • Hover Effects: Interactive elements with smooth transitions
  • Accessibility: Proper contrast ratios and semantic HTML

πŸš€ Quick Start

  1. Clone and Install Dependencies:
npm install
  1. Run Development Server:
npm run dev
  1. Open in Browser:
http://localhost:3000

πŸ“ Project Structure

slerate/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ ui/
β”‚   β”‚   β”‚   └── Button.tsx          # Reusable button component
β”‚   β”‚   β”œβ”€β”€ layout/
β”‚   β”‚   β”‚   └── Logo.tsx           # Logo component
β”‚   β”‚   └── sections/
β”‚   β”‚       β”œβ”€β”€ Navigation.tsx     # Navigation component
β”‚   β”‚       β”œβ”€β”€ FeatureCard.tsx    # Feature card component
β”‚   β”‚       β”œβ”€β”€ TestimonialCard.tsx # Testimonial card component
β”‚   β”‚       └── PricingCard.tsx    # Pricing card component
β”‚   β”œβ”€β”€ data/
β”‚   β”‚   └── constants.ts           # Static data constants
β”‚   └── app/
β”‚       β”œβ”€β”€ globals.css            # Global styles and custom CSS
β”‚       β”œβ”€β”€ layout.tsx             # Root layout
β”‚       └── page.tsx               # Main landing page
β”œβ”€β”€ public/                        # Static assets
β”œβ”€β”€ package.json
β”œβ”€β”€ tailwind.config.js
β”œβ”€β”€ tsconfig.json
└── README.md

🎯 Main Components

Hero Section

  • Large headline with emphasis on "300%" increase
  • Two-column layout with content and visual
  • Primary and secondary CTA buttons

Features Grid

  • 3-column responsive grid
  • Icon + title + description pattern
  • Consistent spacing and alignment

Testimonials

  • Card-based layout with customer quotes
  • 5-star ratings with filled icons
  • Customer avatars and credentials

Pricing Cards

  • 3-tier comparison table
  • Feature lists with checkmarks
  • Highlighted "popular" option with scale effect

πŸ”§ Customization

Colors

Primary colors can be changed in tailwind.config.js or directly in classes:

  • Primary: blue-600 (#3B82F6)
  • Secondary: gray-600 (#4B5563)
  • Accent: purple-600 (#9333EA)

Content

All content can be modified directly in src/data/constants.ts:

  • Headlines and copy text
  • Feature descriptions
  • Testimonial content
  • Pricing tiers and features

Styling

Custom styles are in src/app/globals.css:

  • Smooth scrolling behavior
  • Custom animations
  • Hover effects
  • Responsive utilities

πŸ“± Responsive Breakpoints

  • Mobile: < 768px
  • Tablet: 768px - 1024px
  • Desktop: > 1024px

Layout automatically adapts to Tailwind CSS default breakpoints.

🌟 Performance Features

  • Next.js Image Optimization: Automatic image optimization
  • TypeScript: Type safety for better development experience
  • Tailwind CSS: Utility-first CSS for optimal file size
  • App Router: Faster navigation with modern Next.js features

🧹 Clean Code Principles

Component Architecture

  • Single Responsibility: Each component has one clear purpose
  • Reusability: Components can be used across the application
  • Type Safety: Strong TypeScript interfaces for all components
  • Separation of Concerns: UI separated from business logic

Reusable Components

  • Button: Multiple variants (primary, secondary, outline, ghost)
  • Logo: Reusable with custom href and className
  • FeatureCard: Accepts any icon, title, and description
  • TestimonialCard: Structured testimonial with rating and author
  • PricingCard: Flexible pricing with highlighting support

Data Management

  • All static data centralized in constants.ts
  • Easy content modification without touching components
  • Type-safe data structures
  • Centralized content management

🎯 Benefits Achieved

  1. Maintainability: Easy to update and modify
  2. Reusability: Components can be used anywhere
  3. Scalability: Easy to add new features
  4. Type Safety: TypeScript prevents runtime errors
  5. Testing: Smaller components are easier to test
  6. Performance: Better component optimization
  7. Developer Experience: Clear component APIs

πŸš€ Easy Extensibility

  • Add new button variants by updating the Button component
  • Add new sections by creating new components
  • Modify content by updating constants
  • Change styling by updating component styles

πŸ“„ License

MIT License - Free to use for any project.


Built with ❀️ using Next.js, TypeScript, and Tailwind CSS

Releases

No releases published

Packages

No packages published