mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 04:37:14 +01:00
Major consistency improvements: - Renamed "My Journey" → "My Timeline" in sidebar - Added "My" prefix to sidebar items (My Wallets, My Info) - Added People tab to public profiles - Renamed /journey route to /timeline - Updated all code references from journey to timeline Sidebar Navigation (My View): - Dashboard - My Timeline (was: My Journey) - My Projects - My People - My Wallets (was: Wallets) - My Info (new) Public Profile Tabs: - Overview (matches Dashboard) - Timeline - Projects - People (new) - Wallets - Info Route Changes: - /journey → /timeline Files Changed: - src/config/navigationConfig.ts - Updated sidebar nav - src/components/profile/PublicProfileClient.tsx - Added People tab - src/components/profile/ProfilePeopleTab.tsx - New component - src/components/timeline/SocialTimeline.tsx - journey → timeline - src/app/(authenticated)/timeline/ - Renamed from journey - src/app/(authenticated)/timeline/page.tsx - Updated references 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
18 lines
536 B
JavaScript
18 lines
536 B
JavaScript
#!/usr/bin/env node
|
|
|
|
// Simple .env.local backup utility (never commits backups)
|
|
|
|
const fs = require('fs');
|
|
const path = require('path');
|
|
|
|
const src = path.join(process.cwd(), '.env.local');
|
|
if (!fs.existsSync(src)) {
|
|
console.error('❌ .env.local not found — nothing to back up');
|
|
process.exit(1);
|
|
}
|
|
|
|
const stamp = new Date().toISOString().replace(/[:.]/g, '-');
|
|
const dst = path.join(process.cwd(), `.env.local.backup.${stamp}.safe`);
|
|
fs.copyFileSync(src, dst);
|
|
console.log(`✅ Backed up .env.local to ${path.basename(dst)}`);
|