Skip to content

Commit 4e50a0d

Browse files
authored
Merge pull request #21 from devandapaige/next-to-django
Rest Period Activated
2 parents bb258b7 + a7d7097 commit 4e50a0d

23 files changed

Lines changed: 2770 additions & 1188 deletions

AI_PROMPTS_FOR_IMPROVEMENTS.md

Lines changed: 562 additions & 0 deletions
Large diffs are not rendered by default.

DJANGO_MIGRATION_PLAN.md

Lines changed: 1089 additions & 0 deletions
Large diffs are not rendered by default.

POSTGRES_SETUP_GUIDE.md

Lines changed: 402 additions & 0 deletions
Large diffs are not rendered by default.

REST_PERIOD_NOTES.md

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# Rest Period Implementation Notes
2+
3+
## Current Status: REST MODE (Nov 2025 - Mar 8, 2026)
4+
5+
The site is currently in **Rest Mode** with the purple color scheme inspired by the Pythia Oracles of Delphi tradition.
6+
7+
## Color Scheme Changes
8+
9+
### Rest Period Colors (Current)
10+
- **Main color:** `#442b48` (brand-purple-dark) - replaces `#2e3d2a` (brand-green-dark)
11+
- **Accent color:** `#d8b9f7` (brand-purple-light) - replaces `#32d24d` (brand-green-accent)
12+
13+
### Active Season Colors (March 8, 2026 onwards)
14+
- **Main color:** `#2e3d2a` (brand-green-dark)
15+
- **Accent color:** `#32d24d` (brand-green-accent)
16+
17+
## Files Modified for Rest Period
18+
19+
1. **`src/app/page.tsx`** - Now uses `RestPeriodHome` component
20+
2. **`src/components/RestPeriodHome.tsx`** - New rest period homepage
21+
3. **`src/components/Header.tsx`** - Updated to use purple colors
22+
4. **`src/components/Footer.tsx`** - Updated to use purple colors
23+
5. **`src/components/NewsletterCard.tsx`** - Updated heading color
24+
6. **`src/app/globals.css`** - Added rest period color variables (for reference)
25+
26+
## To Switch Back to Active Mode (March 8, 2026)
27+
28+
### Step 1: Restore Original Homepage
29+
In `src/app/page.tsx`, replace:
30+
```tsx
31+
import RestPeriodHome from '../components/RestPeriodHome'
32+
export default async function Home() {
33+
return <RestPeriodHome />
34+
}
35+
```
36+
37+
With the original homepage content (see git history or backup).
38+
39+
### Step 2: Update Header Colors
40+
In `src/components/Header.tsx`:
41+
- Change `bg-brand-purple-dark/95` back to `bg-brand-green-dark/95`
42+
- Change `hover:text-brand-purple-light` back to `hover:text-brand-green-accent`
43+
- Change `focus:ring-brand-purple-light` back to `focus:ring-brand-green-accent`
44+
- Change `bg-brand-purple-light` (CTA button) back to `bg-brand-green-accent`
45+
- Change `text-brand-purple-dark` (CTA button text) back to `text-white`
46+
47+
### Step 3: Update Footer Colors
48+
In `src/components/Footer.tsx`:
49+
- Change `bg-brand-purple-dark` back to `bg-brand-green-dark`
50+
- Change `hover:text-brand-purple-light` back to `hover:text-brand-green-accent`
51+
- Change `focus:ring-brand-purple-light` back to `focus:ring-brand-green-accent`
52+
53+
### Step 4: Update NewsletterCard
54+
In `src/components/NewsletterCard.tsx`:
55+
- Change `text-brand-purple-dark` back to `text-brand-green-dark`
56+
57+
### Step 5: Update Any Other Components
58+
Search for `brand-purple-light` and `brand-purple-dark` usage and replace with:
59+
- `brand-purple-light``brand-green-accent`
60+
- `brand-purple-dark``brand-green-dark`
61+
62+
## Rest Period Homepage Features
63+
64+
- **Rest Mode announcement** with return date (March 8, 2026)
65+
- **Pythia Oracles background** section explaining the tradition
66+
- **Educational resources** with links to learn more about the Pythia
67+
- **Newsletter signup** to stay connected during rest period
68+
69+
## Active Season Dates
70+
71+
- **Start:** March 8, 2026
72+
- **End:** November 2026 (approximate)
73+
- **Pattern:** March - November active, November - March rest
74+
75+
## Notes
76+
77+
- The rest period allows time to work on the Django migration separately
78+
- All other pages (blog, resources, etc.) remain accessible
79+
- The purple color scheme creates a distinctive "rest period" visual identity
80+
- The Pythia Oracles theme connects the rest period to historical tradition
81+
82+
---
83+
84+
**Last Updated:** January 2025
85+
**Rest Period End Date:** March 8, 2026

jest.config.js

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,16 @@ const customJestConfig = {
1414
'^@/(.*)$': '<rootDir>/src/$1',
1515
},
1616
testMatch: ['**/__tests__/**/*.test.[jt]s?(x)'],
17-
collectCoverage: true,
18-
collectCoverageFrom: [
19-
'src/**/*.{js,jsx,ts,tsx}',
20-
'!src/**/*.d.ts',
21-
'!src/**/_*.{js,jsx,ts,tsx}',
22-
'!src/**/*.stories.{js,jsx,ts,tsx}',
23-
'!**/node_modules/**',
24-
'!**/.next/**',
25-
],
17+
collectCoverage: false, // Disabled due to test-exclude incompatibility with glob 10.4.6+
18+
// Coverage can be re-enabled after migrating to Django or when test-exclude is updated
19+
// collectCoverageFrom: [
20+
// 'src/**/*.{js,jsx,ts,tsx}',
21+
// '!src/**/*.d.ts',
22+
// '!src/**/_*.{js,jsx,ts,tsx}',
23+
// '!src/**/*.stories.{js,jsx,ts,tsx}',
24+
// '!**/node_modules/**',
25+
// '!**/.next/**',
26+
// ],
2627
};
2728

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

0 commit comments

Comments
 (0)