Skip to content

Latest commit

Β 

History

History
117 lines (87 loc) Β· 3.52 KB

File metadata and controls

117 lines (87 loc) Β· 3.52 KB

Al Wafi Islamic Boarding School - Landing Page

A modern, responsive landing page for Al Wafi Islamic Boarding School built with React.js, Vite, and Tailwind CSS.

πŸš€ Features

  • Modern Design: Clean, professional design with Islamic aesthetic
  • Responsive: Fully responsive design that works on all devices
  • Fast Loading: Built with Vite for optimal performance
  • Component-Based: Modular React components for easy maintenance
  • Data-Driven: Content managed through JSON data file
  • SEO Friendly: Semantic HTML and proper meta tags

πŸ›  Tech Stack

  • React.js - Frontend framework
  • Vite - Build tool and development server
  • Tailwind CSS - Utility-first CSS framework (via CDN)
  • Font Awesome - Icons and visual elements

πŸ“ Project Structure

src/
β”œβ”€β”€ components/           # React components
β”‚   β”œβ”€β”€ Header.jsx       # Navigation header
β”‚   β”œβ”€β”€ Hero.jsx         # Main banner section
β”‚   β”œβ”€β”€ About.jsx        # About section with vision/mission
β”‚   β”œβ”€β”€ Programs.jsx     # Educational programs
β”‚   β”œβ”€β”€ Alumni.jsx       # Alumni achievements
β”‚   β”œβ”€β”€ Contact.jsx      # Contact information
β”‚   └── Footer.jsx       # Footer section
β”œβ”€β”€ App.jsx              # Main app component
β”œβ”€β”€ main.jsx             # Entry point
└── index.css            # Global styles

public/
└── data.json            # Content data

πŸ”§ Installation & Setup

  1. Clone the repository

    git clone <repository-url>
    cd lpwafi
  2. Install dependencies

    npm install
  3. Start development server

    npm run dev
  4. Build for production

    npm run build

πŸ“Š Data Management

All content is managed through public/data.json which includes:

  • School information and branding
  • Vision and mission statements
  • Educational programs
  • Alumni achievements and university logos
  • Contact information and campus locations
  • Social media links

🎨 Design System

  • Primary Color: Green (#10b981)
  • Secondary Color: Blue accents
  • Typography: Inter font family
  • Components: Consistent spacing, rounded corners, shadows
  • Responsive: Mobile-first approach

πŸ“± Responsive Breakpoints

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

🌐 Deployment

The project can be deployed to any static hosting service:

  • Vercel
  • Netlify
  • GitHub Pages
  • Firebase Hosting

πŸ“„ License

This project is created for Al Wafi Islamic Boarding School.

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Open a Pull Request+ Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.