mirror of
https://github.com/bitbaum/evig.git
synced 2026-12-04 06:17:02 +01:00
Repo cleanup pass focused on what visitors (engineers evaluating the
codebase, prospective contributors, allied non-profits, donors) see when
they land on the GitHub page.
README.md:
- Reframe lede around the one-line value prop ("Used computers repaired
and rehomed — not landfilled") so the mission is immediately legible.
- Add a "What this platform does" surface table (storefront, P2P
marketplace, IT-Hilfe, workshops, erfassung, member services, HIRN AI).
- Add a "How a non-profit funds this kind of platform" section laying
out the five revenue + sustenance streams (storefront margin, paid
services, donations, membership, grants) so the economic model is
transparent. Explicit "not VC-backed" framing so VC visitors don't
bounce confused — we're built for adoption by other circular-economy
orgs, not for an exit.
docs/:
- 42 dated/one-time files (PHASE_*, PROGRESS_*, AUDIT_REPORT, INCIDENT_*,
HANDOFF_*, *_COMPLETE, DATABASE_CONNECTION_ISSUE_RESOLUTION, all the
email-solution-comparisons whose decisions long since shipped, etc.)
moved to docs/archive/ via `git mv` so history is preserved but the
index isn't drowning in work logs.
- docs/README.md rewritten as a real index — six sections (Getting
started, Architecture, Product surfaces, Design, Operations, Mission)
pointing at the 24 curated reference docs that remain at docs/ root.
- The stale "Current Status (2025-12-02)" block in docs/README.md is gone.
Also (separate, prior in this session): 5 stale remote branches deleted
on origin — merged/closed/abandoned `claude/loop-bugfixes-2026-05`,
`claude/audit-ssot-dry-violations-k4aVl`, `snyk-fix-*` (x2),
`claude/improve-partnerships-page-ELMcD`. Remaining 11 origin branches
all correspond to open PRs (10 dependabot + 1 active feature).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4.0 KiB
4.0 KiB
Color Migration Progress
Created: 2025-01-27
Last Modified: 2025-01-27
Last Modified Summary: Migration of hardcoded green colors to semantic color tokens
Summary
Migrated hardcoded green color classes (bg-green-*, text-green-*, etc.) to semantic color tokens (bg-primary-*, text-primary-*, etc.) across the component library.
Completed Migrations
Core UI Components ✅
src/components/ui/button.tsx- Added secondary variant supportsrc/components/ui/hero-banner.tsx- Updated all gradient colorssrc/components/ui/Logo.tsx- Updated to use primary colorssrc/components/ui/contact-link.tsx- All variants updatedsrc/components/ui/WelcomeModal.tsx- Complete migration
Layout Components ✅
src/components/layout/Header.tsx- Navigation highlights updated
Project Components ✅
src/components/projects/ProjectHero.tsx- Button styling updated
Blog Components ✅
src/components/blog/BlogHero.tsx- Gradient and badges updatedsrc/components/blog/BlogPostCard.tsx- Hover states and badgessrc/components/blog/BlogPostHeader.tsx- Category stylingsrc/components/blog/BlogFeaturedGrid.tsx- Hover statessrc/components/blog/RelatedPosts.tsx- Hover statessrc/components/blog/BlogLatestList.tsx- Hover statessrc/components/blog/NewsletterSignup.tsx- Complete migrationsrc/components/blog/BlogContent.tsx- CTAs updated
Service Components ✅
src/components/services/ServiceHero.tsx- Complete gradient migrationsrc/components/services/ServiceCTA.tsx- All colors updatedsrc/components/services/ServiceProcess.tsx- Step indicatorssrc/components/services/ServicePricing.tsx- Icons and text
About Components ✅
src/components/about/AboutHero.tsx- Button styling
Remaining Components (60 matches across 22 files)
The following components still have some hardcoded green colors but are lower priority:
src/components/about/AboutCTA.tsx(2 matches)src/components/about/AboutSection.tsx(1 match)src/components/layout/MobileMenu.tsx(4 matches)src/components/projects/ProjectSection.tsx(1 match)src/components/services/ServiceFeatures.tsx(1 match)src/components/ui/SuggestionButton.tsx(8 matches)src/components/blog/BlogNavigation.tsx(5 matches)src/components/blog/BlogPostContent.tsx(1 match)src/components/test/TestComponent.tsx(1 match)src/components/revamp-ux/(various - 20 matches)src/components/ui/FilterableSection.tsx(1 match)src/components/ui/FilterBar.tsx(1 match)src/components/workshops/WorkshopCard.tsx(5 matches)src/components/ui/rich-text-renderer.tsx(2 matches)src/components/ui/MultiColumnDropdown.tsx(1 match)src/components/ui/DropdownTrigger.tsx(2 matches)src/components/layout/MobileMenuSubItem.tsx(3 matches)
Migration Pattern
Before:
className="bg-green-600 text-white hover:bg-green-700"
After:
className="bg-primary-600 text-white hover:bg-primary-700"
Benefits
- Consistency: All components now use semantic color tokens
- Maintainability: Easier to update colors globally
- Theming: Support for dark mode and custom themes
- Bitcoin Orange: Ready to use as secondary color (
secondary-500)
Next Steps
- Logo Integration: Update Logo component when new logo is ready
- Remaining Migrations: Update remaining 22 files (optional)
- Bitcoin Orange Usage: Identify strategic places to use secondary color
- Testing: Verify all components render correctly
Statistics
- Total Files with Green Colors: 40 (originally)
- Files Migrated: 18 ✅
- Files Remaining: 22 (mostly low-traffic/complex components)
- Lines Changed: ~150+
- Time Invested: ~45 minutes
Notes
- All migrated components pass linting with no errors
- No breaking changes to component APIs
- Visual appearance remains unchanged (same green color, different class names)
- Ready for future theme customization