feat: add activity feed and background effects

- Implemented ActivityFeed component to display real-time user activity including coding, music, and chat interactions.
- Added GooFilter and BackgroundBlobs components for enhanced visual effects.
- Updated layout to include new components and ensure proper stacking context.
- Enhanced Tailwind CSS configuration with new color and font settings.
- Created API route to mock activity data from n8n.
- Refactored main page structure to streamline component rendering.
This commit is contained in:
2026-01-06 20:10:00 +01:00
parent e74f85da41
commit 4dc727fcd6
16 changed files with 801 additions and 1172 deletions

View File

@@ -0,0 +1,19 @@
import { NextResponse } from 'next/server';
export async function GET() {
// Mock data - in real integration this would fetch from n8n webhook or database
return NextResponse.json({
activity: {
type: 'coding', // coding, listening, watching
details: 'Portfolio Website',
timestamp: new Date().toISOString(),
},
music: {
isPlaying: true,
track: 'Midnight City',
artist: 'M83',
platform: 'spotify'
},
watching: null
});
}