Commit Graph
12 Commits
Author SHA1 Message Date
David Dyer 21ad6c31cf Add dev.sh to .gitignore to prevent tracking of development scripts 2026-08-30 19:57:06 -04:00
David DyerandClaude Sonnet 5 197047f4ef Dedupe remaining CSS: danger colors, redundant background/cursor
- Add --danger-bg/--danger-text tokens and point .error-msg,
  .alert-error, and .btn-danger at them instead of repeating the
  same rgba/hex literals
- Drop .login-btn's cursor: pointer (already covered by button.btn)
- Drop .btn-outline's background: transparent (already covered by
  button.btn for buttons; default background for anchors)

No visual changes intended.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-29 23:13:25 -04:00
David Dyer 38b32f69fd Reset button background and border styles in styles.css
- Ensure <button class="btn"> elements default to transparent backgrounds
- Ensure .btn-outline uses transparent background to avoid browser-default user-agent button styling
- Set border: none on .btn-primary
2026-08-29 22:53:35 -04:00
David Dyer bd22299247 Add multi-announcement management system
- Update inc/announcements.php to support listing, fetching by ID, toggling, and deleting multiple announcements
- Upgrade admin/index.php to an announcement management view with data table, status indicators, and create/edit sub-views
- Add admin table and action styles to styles.css without using inline style blocks
- Update index.php to render all currently active banner and hours announcements dynamically
2026-08-29 22:50:19 -04:00
David DyerandClaude Sonnet 5 e4cd4f6cfb Dedupe styles.css and remove remaining inline styles
- Add --font-serif/--font-mono/--font-sans tokens to :root and point
  all ~24 hardcoded font-family declarations at them
- Drop an exact-duplicate .footer-brand .knot rule
- Merge the shared background/border of .stat-card, .card,
  .login-card, and .panel into one grouped selector
- Combine .btn-outline:hover and .nav-cta:hover into one rule
- Move remaining inline style="" attributes in index.php and
  admin/index.php into named classes/rules (.about-grid h2,
  footer address/.social-row spacing, .panel-head,
  .checkbox-label-lg, .field-hint, .form-actions)

No visual changes intended — values carried over as-is.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-29 22:37:02 -04:00
David Dyer b55c4f294f Consolidate admin styles into styles.css and remove inline style tags
- Move all admin dashboard and login rules into styles.css
- Remove embedded <style> blocks from admin/login.php and admin/index.php
- Clean up redundant preview action button
2026-08-29 22:01:55 -04:00
David Dyer f851e8fd24 Remove unused video file from .gitignore 2026-08-29 21:59:02 -04:00
David Dyer 9b7d9ceccb Add SQLite-backed announcement system and admin portal
- Add SQLite database initialization and management in inc/db.php
- Implement session authentication and CSRF security helpers in inc/auth.php
- Implement announcement querying and saving in inc/announcements.php
- Add management dashboard, login, and logout in admin/
- Protect db/ directory with Apache access controls
2026-08-29 21:57:42 -04:00
David Dyer b9d3262233 Refactor styles to relative rem/em units and enhance accessibility
- Refactor hardcoded px values to rem and em across layout, components, and media queries
- Improve WCAG color contrast by updating --gold-dim token
- Convert hours table to a semantic description list (<dl>)
- Wrap hero logo in h1 for proper heading hierarchy
- Add database ignore rules to .gitignore
2026-08-29 21:57:29 -04:00
David Dyer e8b62b5270 Improve accessibility, refactor CSS to relative units, and add fluid hero scaling pre-admin-page 2026-08-29 19:54:41 -04:00
David Dyer 9a359c09ba Rename config sample to config.example.php, update comments 2026-08-29 19:33:49 -04:00
David Dyer 48e26d671d Initial commit: The Old Fitz Public House site
Static-turned-PHP site for a pub in Marion, Indiana, with:
- Hero section with tiled brick-texture background
- Live-capable stat card (Facebook followers/reviews via Graph API,
  with graceful fallback to config.php constants when no token is set)
- Open Graph / Twitter Card meta tags for social sharing
- robots.txt

config.php is gitignored (holds a Facebook Page Access Token once
generated); config.sample.php is the tracked template — copy it to
config.php and fill in values to run this locally or in deployment.
2026-08-29 19:32:20 -04:00