# Uni Flow Grants - Multi-Page HTML Website

## 📦 Download File

**Location:** `/app/uniflow-grants-multipage.zip` (18 KB)

This is a traditional multi-page website with separate HTML files for each page.

---

## 📄 Included Files

### Main Pages (11 HTML files):
1. **index.html** - Home page with hero section
2. **about.html** - About/Who We Are page
3. **how-it-works.html** - 5-step process guide
4. **faqs.html** - Frequently Asked Questions (accordion style)
5. **testimonials.html** - Success stories with ratings
6. **check-eligibility.html** - Eligibility form (Cognito Form #23)
7. **contact-support.html** - Support form (Cognito Form #25)
8. **verification.html** - Verification form (Cognito Form #26)
9. **login.html** - Login page
10. **signup.html** - Signup page (hidden, no nav links)
11. **dashboard.html** - User dashboard

### Configuration:
- **.htaccess** - Server configuration file

---

## 🚀 Upload to cPanel - Simple Steps

### Step 1: Download
- Download `uniflow-grants-multipage.zip` from `/app/`

### Step 2: Login to cPanel
- Access your hosting provider's cPanel

### Step 3: Navigate to File Manager
- Open File Manager in cPanel
- Go to `public_html` folder

### Step 4: Upload
- Click "Upload" button
- Select `uniflow-grants-multipage.zip`
- Wait for upload to complete

### Step 5: Extract
- Right-click on the zip file
- Select "Extract"
- Files will extract to `multipage-build` folder

### Step 6: Move Files to Root
- Open `multipage-build` folder
- Select ALL files (including .htaccess)
- Click "Move"
- Move to `/public_html/` (parent directory)

### Step 7: Enable Hidden Files
- Click "Settings" in top right
- Check "Show Hidden Files (dotfiles)"
- Verify `.htaccess` is in `public_html`

### Step 8: Test
Visit: `https://yourdomain.com/`

---

## ✅ Features

### ✓ Pure HTML/CSS (Tailwind CDN)
- No React, no JavaScript framework
- Fast loading
- Simple to maintain

### ✓ Separate HTML Files
- Each page is an independent HTML file
- Direct access to any page works automatically
- No router configuration needed

### ✓ Embedded Cognito Forms
- Check Eligibility (iframe embed)
- Contact Support (iframe embed)
- Verification (iframe embed)

### ✓ Responsive Design
- Mobile-friendly
- Uses Tailwind CSS from CDN
- Works on all devices

### ✓ Navigation
- Header navigation on all pages
- Footer links on all pages
- Active page highlighting

---

## 🗂️ File Structure After Upload

```
public_html/
├── .htaccess
├── index.html
├── about.html
├── how-it-works.html
├── faqs.html
├── testimonials.html
├── check-eligibility.html
├── contact-support.html
├── verification.html
├── login.html
├── signup.html
└── dashboard.html
```

---

## 🔗 Page URLs

After upload, all pages will be accessible at:

- `https://yourdomain.com/` (Home)
- `https://yourdomain.com/about.html`
- `https://yourdomain.com/how-it-works.html`
- `https://yourdomain.com/faqs.html`
- `https://yourdomain.com/testimonials.html`
- `https://yourdomain.com/check-eligibility.html`
- `https://yourdomain.com/contact-support.html`
- `https://yourdomain.com/verification.html`
- `https://yourdomain.com/login.html`
- `https://yourdomain.com/signup.html` (hidden)
- `https://yourdomain.com/dashboard.html`

---

## ⚠️ Important Notes

### 1. Forms are Functional
All 3 Cognito forms load via iframe embed and are fully functional

### 2. Login/Signup are Basic
- Login and signup redirect to dashboard.html
- No real authentication (frontend only)
- For demonstration purposes

### 3. Signup Page Hidden
- No navigation links to signup.html
- Access only via direct URL

### 4. Uses CDN
- Tailwind CSS loads from CDN
- Requires internet connection for styling

---

## 🆚 Multi-Page vs Single-Page

### Multi-Page Website (This Build):
✅ Each page is separate HTML file
✅ Traditional website structure
✅ Easy for beginners to understand
✅ No JavaScript routing needed
✅ Works everywhere without configuration
❌ Duplicated header/footer code
❌ Full page reload on navigation
❌ No state management between pages

### Single-Page App (React Build):
✅ Modern web app experience
✅ No page reloads
✅ Shared components (header/footer)
✅ State management
✅ Better performance after initial load
❌ Requires .htaccess configuration
❌ More complex to understand

---

## 🐛 Troubleshooting

### Issue: Styles Not Loading
**Cause:** No internet connection or CDN blocked
**Solution:** Pages need internet to load Tailwind CSS from CDN

### Issue: 404 Page Not Found
**Cause:** Files not in root directory
**Solution:** Ensure all .html files are in `public_html`, not in a subfolder

### Issue: .htaccess Not Working
**Cause:** .htaccess is optional for this multi-page site
**Solution:** It provides minor benefits (error handling, caching) but not required

---

## ✨ Advantages of This Build

1. **Simple Upload:** Just extract and move files
2. **No Configuration:** Works immediately after upload
3. **Direct URLs:** All pages work directly without setup
4. **SEO Friendly:** Each page has its own URL
5. **Easy to Edit:** Open any .html file and edit
6. **Lightweight:** Only 18 KB total

---

## 📝 Making Changes

To update content:

1. Download the HTML file you want to edit
2. Open in any text editor
3. Make your changes
4. Re-upload to cPanel
5. Overwrite the old file

**Note:** If you change header or footer, you'll need to update it in all 11 files.

---

## ✅ Ready to Deploy!

This is a complete, production-ready website that you can upload to any web hosting service that supports HTML files (which is basically all of them).

**No special requirements, no complex setup, just upload and go! 🚀**
