# 🚀 Hotspot Assets Manager

📍 Current Location: /hotspot/assets/
🎯 Purpose: Manage CSS, JavaScript, and Font files for the hotspot login page
🔍

### Check Assets

Verify which files are available and which are missing

⬇️

### Download Assets

Auto-download all required CSS, JS, and font files

🔄

### Regenerate Login

Rebuild the login.html file with latest settings

🌐

### View Login Page

Open the hotspot login page in browser

## 📋 Quick Start Guide

⚠️ First Time Setup: You need to download all asset files before the hotspot will work properly.

Step 1: Download all required assets

php download_assets.php

Or click the "Download Assets" button above

Step 2: Check if all files are available

php check_assets.php

Or click the "Check Assets" button above

Step 3: Generate the login page

cd ..
php download.php

Step 4: Access your hotspot

http://yourdomain.com/demo/hotspot/

## 📦 Required Files

### CSS Files (2)

- `css/fontawesome.min.css` - Font Awesome icons
- `css/inter-font.css` - Inter font CSS (already created)

### JavaScript Files (3)

- `js/jquery.min.js` - jQuery library
- `js/sweetalert2.min.js` - SweetAlert2 popups
- `js/tailwind.min.js` - Tailwind CSS framework

### Font Files (5)

- `fonts/Inter-Regular.woff2` - Inter Regular (400)
- `fonts/Inter-Medium.woff2` - Inter Medium (500)
- `fonts/Inter-SemiBold.woff2` - Inter Semi Bold (600)
- `fonts/Inter-Bold.woff2` - Inter Bold (700)
- `fonts/Inter-ExtraBold.woff2` - Inter Extra Bold (800)

## 🔧 Troubleshooting

Assets not loading?

- Run `check_assets.php` to see what's missing
- Run `download_assets.php` to download missing files
- Check file permissions (755 for folders, 644 for files)

Fonts not displaying?

- Make sure all .woff2 files are in the `fonts/` folder
- Check that `inter-font.css` exists in `css/` folder
- Verify font paths in inter-font.css are correct (../fonts/)

💡 Pro Tip: After downloading assets, regenerate login.html to ensure all paths are correct with your domain configuration.