Skip to content

MetinVn/Mockup-landing-page

Repository files navigation

Mockup Landing Page

A modern, responsive landing page built with React, TypeScript, and Vite. This project demonstrates best practices in component-based architecture, styling, and scalability for front-end development.


Table of Contents


Project Overview

This project is a static mockup landing page built with React and TypeScript. It focuses on maintainability, reusability, and a clean UI using modern front-end tools and patterns.


Features

  • Responsive design for mobile and desktop
  • Modular, reusable React components (Header, Hero, Footer, Buttons, etc.)
  • Custom theming with CSS variables and Tailwind CSS
  • Type safety with TypeScript
  • Organized and scalable project structure
  • Easy to extend for future features, pages, or API integration

Technology Used

  • React (with functional components and hooks)
  • TypeScript (for static type checking)
  • Tailwind CSS (utility-first CSS framework)
  • React Router (for routing)

How to Navigate the App

  • The main entry point is src/main.tsx, which sets up the router and renders the app.
  • All routes are defined in src/App.tsx.
  • The UI is composed of layout and UI components:
    • Header: Top navigation and branding (src/layouts/Header.tsx)
    • Hero: Main content section with call-to-action (src/components/Hero.tsx)
    • Footer: Bottom section with additional info or links (src/components/Footer.tsx)
  • Reusable UI elements (e.g., Button, Logo) are in src/components/ui/.
  • Static data/constants are in src/constants/.
  • Images and assets are in src/images/.
  • Styles are managed using Tailwind CSS and custom CSS variables in src/index.css.

Reason for Building

I built this app to demonstrate my ability to translate a design into a pixel-perfect, responsive, and modern front-end implementation. The project showcases my skills in:

  • Building clean, maintainable, and reusable React components
  • Applying precise styling and layout techniques for pixel-perfect results
  • Using TypeScript for type safety and reliability
  • Structuring a scalable codebase that follows current best practices

This project serves as a practical example of my front-end development abilities and attention to detail.

Getting Started

  1. Install dependencies:
    npm install
  2. Run the development server:
    npm run dev
  3. Build for production:
    npm run build

Project Structure

public/                # Static files and assets served directly
src/
  components/          # Reusable presentational components
    footer/            # Footer-related components (e.g., FooterSection)
    ui/                # UI primitives (Button, Logo, etc.)
  constants/           # Static data and configuration (e.g., navigation, footer items)
  hooks/               # Custom React hooks
  images/              # Image assets used in the app
    hero-images/       # Images specific to the hero section
  layouts/             # Layout-level components (Header, HeroTop, HeroBottom, etc.)
  pages/               # Top-level route components (e.g., Home, Features)
  types/               # Shared TypeScript types and interfaces
  App.tsx              # Main application component, defines routes
  index.css            # Global styles and Tailwind CSS imports
  main.tsx             # App entry point, sets up React and the router


#Feel free to use this project as a starting point for your own landing pages or as a reference for scalable React app architecture.

About

A modern, responsive landing page for a job application platform, built with React, TypeScript, and Tailwind CSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors