2
0

feat: website

Signed-off-by: Noa Virellia <noa@requiem.garden>
This commit is contained in:
2026-01-27 16:20:44 +08:00
commit 20885990ca
32 changed files with 6928 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# Learnings - remove-sections
## Conventions
- Target file: `src/components/HomePage.tsx`.
- Components to remove: `Community`, `QuoteSection`.
- Navigation items to remove: `community`, `wisdom`.
## Patterns
- `navLinks` array defines the top navigation.
- `useEffect` scroll listener updates `activeSection` based on element visibility.
- Successfully removed Community and QuoteSection components from src/components/HomePage.tsx.
- Deleted both the usage in the Home component's return block and their respective component definitions.
- Verified that the Home component's return structure remained intact and the Footer component was not affected.
- Successfully removed 'community' and 'wisdom' from `navLinks` array.
- Successfully removed 'community' and 'wisdom' from `sections` array in `useEffect` scroll handler.
- Ensured `navLinks` and `sections` array are consistent.
No unused lucide-react imports found in src/components/HomePage.tsx after the removal of Community and QuoteSection. All imported icons (Heart, Sparkles, Menu, X, Network, Users, BookOpen, Compass, Star, Lock, CheckCircle) are still actively used within the file.