diff --git a/README.md b/README.md new file mode 100644 index 0000000..382484f --- /dev/null +++ b/README.md @@ -0,0 +1,92 @@ +# Claytonia Fluxer Website + +Static landing site for **Claytonia Fluxer**, a public [Fluxer](https://fluxer.com) instance operated by Claytonia. + +**Live site:** [https://web.fluxer.claytonia.net/](https://web.fluxer.claytonia.net/) + +## Overview + +This repository contains the source for the Claytonia Fluxer public website. The site introduces the instance, links users to the web/desktop/mobile Fluxer apps, and provides information about the operator, related Claytonia services, and legal policies. + +## Pages + +| Page | Path | Description | +|------|------|-------------| +| Home | `index.html` | Main landing page with product overview, features, app links, FAQ, and signup CTA. | +| About | `about.html` | Information about the operator, AI disclosure, longevity, and contact details. | +| Other Servers | `other-servers.html` | Directory of other Claytonia community services. | +| Terms of Service | `tos.html` | Terms governing use of the Claytonia Fluxer service. | +| Privacy Policy | `privacy.html` | Privacy policy describing data handling and user choices. | +| 404 | `404.html` | Custom animated not-found page for nginx error handling. | + +## Features + +- **Static site** - plain HTML, CSS, and JavaScript; no build step or runtime dependencies. +- **Responsive design** - mobile-friendly layout with dark theme and ambient visual styling. +- **SEO-ready** - per-page titles/descriptions, canonical URLs, Open Graph/Twitter metadata, JSON-LD structured data, `robots.txt`, and `sitemap.xml`. +- **Social previews** - 1200x630 Open Graph image (`og-image.png`) and Twitter large-image cards. +- **Accessible defaults** - semantic landmarks, skip-friendly structure, alt/ARIA where appropriate, and `prefers-reduced-motion` support. +- **Progressive enhancement** - core content remains visible without JavaScript; JS adds reveal animations and small interactive touches. +- **Custom 404** - themed animated error page configured through nginx `error_page`. + +## Tech Stack + +- HTML5 +- CSS3 +- Vanilla JavaScript +- Nginx (for preview/production serving) + +## Project Structure + +```text +. +├── 404.html # Custom 404 page +├── about.html # About page +├── apple-touch-icon.png # Apple touch icon +├── deploy/ +│ └── nginx-preview.conf # Nginx preview configuration +├── favicon.svg # Site favicon +├── first-wave-badge.png # Footer badge asset +├── index.html # Home page +├── og-image.png # Social preview image (1200x630) +├── other-servers.html # Other Claytonia services +├── privacy.html # Privacy policy +├── robots.txt # Crawler directives +├── script.js # Client-side interactions/animations +├── sitemap.xml # XML sitemap +├── styles.css # Site styles +└── tos.html # Terms of service +``` + +## Local Preview + +A simple nginx preview config is included at `deploy/nginx-preview.conf`. It serves the repository directly and configures the custom 404 page. + +Example installation on Debian/Ubuntu with nginx installed: + +```bash +# Back up the existing default site +sudo cp /etc/nginx/sites-available/default /etc/nginx/sites-available/default.bak + +# Install the preview config +sudo cp deploy/nginx-preview.conf /etc/nginx/sites-available/default + +# Allow nginx (www-data) to traverse the repo path if needed +sudo chmod o+x /home/clay + +# Test and reload nginx +sudo nginx -t && sudo systemctl reload nginx +``` + +> **Note:** The included config is intended for local preview. For production, configure the appropriate `server_name`, TLS, HTTP-to-HTTPS redirects, and security headers. + +## Deployment Notes + +- Update `sitemap.xml` `lastmod` dates when publishing content changes. +- Ensure canonical/OG URLs match the deployed domain. +- Submit `https://web.fluxer.claytonia.net/sitemap.xml` to search consoles after major updates. +- Review Terms of Service and Privacy Policy before production use; they are project-specific documents and not legal advice. + +## License / Ownership + +Content and branding for Claytonia Fluxer are owned by Claytonia unless otherwise noted. Fluxer is developed by Fluxer Platform AB; this site represents an independently operated public Fluxer instance.