# CC Soccer D11 - Session Handoff
**Date:** March 13, 2026
**Session:** Registration filter pills, homepage filter links, content-pages.css branch
**Branch:** `main` + `feature/content-pages-css` (in progress)

## Last Updated
2026-03-13

## Current State

### main (on TEST)
All filter/registration work is live on TEST:
- Registration page filter pills (All / Coed / Men's / Tournaments)
- "My Registrations" section removed from register page
- Pending invitations banner cleaned up (CSS classes, no inline styles)
- Homepage league/tournament cards link to filtered register pages
- Homepage button labels updated ("See Open Coed Registrations" etc., centered)
- LeagueController stub committed
- TeamController and League.php housekeeping fixes committed

### feature/content-pages-css (local only, NOT on TEST)
- `content-pages.css` created (was referenced in library but file never existed)
- `CONTENT_PAGES_CSS_CHECKLIST.md` created — 15-page visual regression checklist

**Branch is fully committed and pushed to origin. Nothing left to apply.**

---

## Next Session: Validation

Tomorrow is purely page-by-page visual validation.

**Setup:**
```bash
cd ~/Sites/ccsoccer-d11
git checkout feature/content-pages-css
ddev drush cr
```

Compare **local dev (branch)** against **TEST** (baseline) side by side.
Work through `CONTENT_PAGES_CSS_CHECKLIST.md`.

**Key things to look for on each page:**
- Button color (red fill on primary, outlined on default)
- Card shadows and borders
- Red underline under h2 headings on league cards
- Season/tournament tab pill styling
- Typography sizes and colors

**Intentional differences from TEST (not regressions):**
- `/home` — buttons centered, new label text, links to filtered register page
- `/register` — filter pills at top, My Registrations section gone, cleaner invite banner

**When validation passes:**
```bash
cd ~/Sites/ccsoccer-d11
git checkout main
git merge feature/content-pages-css
git pull
git push

cd ~/public_html/test_ccsoccer_site
git pull
PATH=/opt/cpanel/ea-php83/root/usr/bin:$PATH /opt/cpanel/ea-php83/root/usr/bin/php vendor/drush/drush/drush.php -r web cr
```

---

## Remaining Work (post-branch)

### Content
- [ ] Add description to 2026 Summer Cup tournament entity (`/admin/ccsoccer/tournaments`)

### Inner Page Styling
- [ ] Credits page
- [ ] Purchase Jerseys page
- [ ] Group management page

### Forms
- [ ] Registration form inputs, buttons, visual styling

### Navigation / Mobile
- [ ] Re-add Tournament Schedule to main nav

### Notifications
- [ ] "Don't send to already registered" logic
- [ ] Automated reminders (6/4/2/1 week intervals)

### Deployment Prep
- [ ] Enable reCAPTCHA on registration form
- [ ] Self-host Inter font
- [ ] Enable CSS/JS aggregation on test + production before launch
- [ ] Final mobile/browser testing
- [ ] Remove IP whitelist block from production `.htaccess`
- [ ] Decide canonical domain (www vs non-www)
- [ ] Confirm HTTPS redirect handling

### Small Items
- [ ] Breadcrumbs
- [ ] Game status: only show ON/CANCELLED after 3pm
- [ ] Contact page
- [ ] Social links (placeholder #)
- [ ] Hero width (full bleed — fixed this session but verify on TEST)
- [ ] Password reset flow for migrated users
- [ ] Fix contextual theme stale database reference
- [ ] Fix Commerce config import loop
- [ ] Skill level button group: aria attributes (post-launch)

---

## Test Server .htaccess (IP Whitelist)

Not in git — protected via `skip-worktree`. If ever lost:

```apache
# IP Whitelist - Test server only (DO NOT commit to git)
# Caleb/Layne: 68.249.41.9 | Andrew: 35.151.50.130 | Dave: 99.8.107.54 | Haley: 97.84.70.141
Require ip 68.249.41.9 35.151.50.130 99.8.107.54 97.84.70.141

<IfModule mod_headers.c>
  Header set X-Robots-Tag "noindex, nofollow, noarchive"
</IfModule>
```

```bash
git update-index --skip-worktree web/.htaccess
```

---

## Server Quick Reference
```bash
cd ~/public_html/test_ccsoccer_site
git pull

# If composer.lock changed:
PATH=/opt/cpanel/ea-php83/root/usr/bin:$PATH /opt/cpanel/ea-php83/root/usr/bin/php /opt/cpanel/composer/bin/composer install --ignore-platform-req=ext-intl

# Standard post-pull:
PATH=/opt/cpanel/ea-php83/root/usr/bin:$PATH /opt/cpanel/ea-php83/root/usr/bin/php vendor/drush/drush/drush.php -r web updb -y
PATH=/opt/cpanel/ea-php83/root/usr/bin:$PATH /opt/cpanel/ea-php83/root/usr/bin/php vendor/drush/drush/drush.php -r web cr
```

## Git Workflow
- Always `git pull` before `git push` — Andrew may have pushed changes
- `main` is the primary branch
- `settings.local.php` is NOT in git — never commit it
