# Hotspot Assets

This folder contains the local assets for the hotspot login page.

## Required Files

### CSS Files (in `css/` folder):
- **fontawesome.min.css** - Download from: https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css
  - Save as: `css/fontawesome.min.css`
  - Also download the webfonts folder from Font Awesome
- **inter-font.css** - Already created locally
  - References Inter font files in fonts/ folder

### Fonts (in `fonts/` folder):
- **Inter-Regular.woff2** - Inter font regular weight
- **Inter-Medium.woff2** - Inter font medium weight
- **Inter-SemiBold.woff2** - Inter font semi-bold weight
- **Inter-Bold.woff2** - Inter font bold weight
- **Inter-ExtraBold.woff2** - Inter font extra-bold weight
  - All downloaded automatically by download_assets.php

### JS Files (in `js/` folder):
- **tailwind.min.js** - Download from: https://cdn.tailwindcss.com
  - Save as: `js/tailwind.min.js`
- **sweetalert2.min.js** - Download from: https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.all.min.js
  - Save as: `js/sweetalert2.min.js`
- **jquery.min.js** - Download from: https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js
  - Save as: `js/jquery.min.js`

## Quick Setup

Run the following commands to download all required files:

```bash
cd hotspot/assets

# Download jQuery
curl -o js/jquery.min.js https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js

# Download SweetAlert2
curl -o js/sweetalert2.min.js https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.all.min.js

# Download Tailwind
curl -o js/tailwind.min.js https://cdn.tailwindcss.com

# Download Font Awesome CSS
curl -o css/fontawesome.min.css https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css
```

## How It Works

1. Run `download.php` to generate the `login.html` file
2. The generated file will be saved in the `hotspot/` folder
3. All assets are loaded from the local `assets/` folder instead of CDN

## Access

After generation, access the login page at:
- `http://yourdomain.com/demo/hotspot/login.html`
