# Your website — built with Arrow

This folder is **your website**. You own it. Host it anywhere. There is no
builder runtime, no phone-home, and no subscription required to keep it online.

It was generated by [Arrow](https://discnxt.com/arrow/), a free, source-available
website generator by Digital Disconnections.

---

## What's in here

```
index.html            Your homepage (the whole site is one page)
css/site.css          Styles
js/site.js            Gallery + calendar wiring (no tracking)
assets/               Fonts, favicon, images (incl. your gallery photos)
vendor/               Self-hosted open-source libraries (no CDNs)
data/events.json      Your events (the calendar reads this)
data/gallery.json     Your gallery photos
data/leads.json       Contact-form submissions land here
manage-events.php     Password-gated admin to edit events
manage-gallery.php    Password-gated admin to upload/reorder/delete photos
contact.php           Handles the contact form (saves + emails the lead)
config.php            Settings: admin password + where leads are emailed
sitemap.xml, llms.txt SEO / AI-discoverability files
CREDITS.md            Attribution for bundled open-source libraries
```

---

## 1. First: change the admin password

Open `config.php` and change `ARROW_ADMIN_PASSWORD` from the default to
something only you know. Also set `ARROW_LEAD_EMAIL` to the email where you want
contact-form leads delivered, and `ARROW_MAIL_FROM` to an address on your domain.

```php
define('ARROW_ADMIN_PASSWORD', 'pick-a-strong-password');
define('ARROW_LEAD_EMAIL',     'you@yourbusiness.com');
define('ARROW_MAIL_FROM',      'noreply@yourbusiness.com');
```

## 2. Make it yours

- Edit `index.html` — business name, phone, services, hours, address.
- Replace the photos in `assets/img/` with your real job photos (or upload them
  later from `manage-gallery.php`).
- Update `sitemap.xml` and `llms.txt` with your real domain.

## 3. Host it

Arrow sites are **static HTML + a little PHP**. The static parts work on any host.
The two admin pages and the contact form need PHP (every cheap shared host has it).

**Cheap PHP hosts that work great:** most shared hosting (cPanel, etc.),
or any small VPS. Upload this whole folder to your web root via FTP/SFTP or your
host's file manager. That's it.

> **Permissions:** the `data/` folder and `assets/img/` must be writable by the
> web server so the admin pages can save changes and uploads. On most shared
> hosts this works out of the box; if saves fail, set those folders to `0775`.

**Want zero hassle?** We'll host it for you — ask at
https://discnxt.com/arrow/#get

## 4. Manage your site

- **Events:** visit `yourdomain.com/manage-events.php`, sign in with your admin
  password, and add/edit/delete events. The calendar on your homepage updates
  automatically.
- **Photos:** visit `yourdomain.com/manage-gallery.php` to upload, caption,
  reorder (drag), and delete gallery photos.

---

## A note on the contact form & email

`contact.php` always saves every submission to `data/leads.json` so you never
lose a lead — even if email delivery fails. It also *attempts* to email you via
PHP's `mail()`. On some budget hosts `mail()` is unreliable; if you stop getting
emails, just check `data/leads.json` (or ask your host to enable mail / give you
SMTP details).

---

Free, source-available, attribution required. See `CREDITS.md`.
Part of the [Discnxt by Digital Disconnections](https://discnxt.com).
