Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
562 changes: 562 additions & 0 deletions AI_PROMPTS_FOR_IMPROVEMENTS.md

Large diffs are not rendered by default.

1,089 changes: 1,089 additions & 0 deletions DJANGO_MIGRATION_PLAN.md

Large diffs are not rendered by default.

402 changes: 402 additions & 0 deletions POSTGRES_SETUP_GUIDE.md

Large diffs are not rendered by default.

85 changes: 85 additions & 0 deletions REST_PERIOD_NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Rest Period Implementation Notes

## Current Status: REST MODE (Nov 2025 - Mar 8, 2026)

The site is currently in **Rest Mode** with the purple color scheme inspired by the Pythia Oracles of Delphi tradition.

## Color Scheme Changes

### Rest Period Colors (Current)
- **Main color:** `#442b48` (brand-purple-dark) - replaces `#2e3d2a` (brand-green-dark)
- **Accent color:** `#d8b9f7` (brand-purple-light) - replaces `#32d24d` (brand-green-accent)

### Active Season Colors (March 8, 2026 onwards)
- **Main color:** `#2e3d2a` (brand-green-dark)
- **Accent color:** `#32d24d` (brand-green-accent)

## Files Modified for Rest Period

1. **`src/app/page.tsx`** - Now uses `RestPeriodHome` component
2. **`src/components/RestPeriodHome.tsx`** - New rest period homepage
3. **`src/components/Header.tsx`** - Updated to use purple colors
4. **`src/components/Footer.tsx`** - Updated to use purple colors
5. **`src/components/NewsletterCard.tsx`** - Updated heading color
6. **`src/app/globals.css`** - Added rest period color variables (for reference)

## To Switch Back to Active Mode (March 8, 2026)

### Step 1: Restore Original Homepage
In `src/app/page.tsx`, replace:
```tsx
import RestPeriodHome from '../components/RestPeriodHome'
export default async function Home() {
return <RestPeriodHome />
}
```

With the original homepage content (see git history or backup).

### Step 2: Update Header Colors
In `src/components/Header.tsx`:
- Change `bg-brand-purple-dark/95` back to `bg-brand-green-dark/95`
- Change `hover:text-brand-purple-light` back to `hover:text-brand-green-accent`
- Change `focus:ring-brand-purple-light` back to `focus:ring-brand-green-accent`
- Change `bg-brand-purple-light` (CTA button) back to `bg-brand-green-accent`
- Change `text-brand-purple-dark` (CTA button text) back to `text-white`

### Step 3: Update Footer Colors
In `src/components/Footer.tsx`:
- Change `bg-brand-purple-dark` back to `bg-brand-green-dark`
- Change `hover:text-brand-purple-light` back to `hover:text-brand-green-accent`
- Change `focus:ring-brand-purple-light` back to `focus:ring-brand-green-accent`

### Step 4: Update NewsletterCard
In `src/components/NewsletterCard.tsx`:
- Change `text-brand-purple-dark` back to `text-brand-green-dark`

### Step 5: Update Any Other Components
Search for `brand-purple-light` and `brand-purple-dark` usage and replace with:
- `brand-purple-light` → `brand-green-accent`
- `brand-purple-dark` → `brand-green-dark`

## Rest Period Homepage Features

- **Rest Mode announcement** with return date (March 8, 2026)
- **Pythia Oracles background** section explaining the tradition
- **Educational resources** with links to learn more about the Pythia
- **Newsletter signup** to stay connected during rest period

## Active Season Dates

- **Start:** March 8, 2026
- **End:** November 2026 (approximate)
- **Pattern:** March - November active, November - March rest

## Notes

- The rest period allows time to work on the Django migration separately
- All other pages (blog, resources, etc.) remain accessible
- The purple color scheme creates a distinctive "rest period" visual identity
- The Pythia Oracles theme connects the rest period to historical tradition

---

**Last Updated:** January 2025
**Rest Period End Date:** March 8, 2026
19 changes: 10 additions & 9 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@ const customJestConfig = {
'^@/(.*)$': '<rootDir>/src/$1',
},
testMatch: ['**/__tests__/**/*.test.[jt]s?(x)'],
collectCoverage: true,
collectCoverageFrom: [
'src/**/*.{js,jsx,ts,tsx}',
'!src/**/*.d.ts',
'!src/**/_*.{js,jsx,ts,tsx}',
'!src/**/*.stories.{js,jsx,ts,tsx}',
'!**/node_modules/**',
'!**/.next/**',
],
collectCoverage: false, // Disabled due to test-exclude incompatibility with glob 10.4.6+
// Coverage can be re-enabled after migrating to Django or when test-exclude is updated
// collectCoverageFrom: [
// 'src/**/*.{js,jsx,ts,tsx}',
// '!src/**/*.d.ts',
// '!src/**/_*.{js,jsx,ts,tsx}',
// '!src/**/*.stories.{js,jsx,ts,tsx}',
// '!**/node_modules/**',
// '!**/.next/**',
// ],
};

// createJestConfig is exported this way to ensure that next/jest can load the Next.js config which is async
Expand Down
Loading