Files
portfolio/app/api/n8n/status/route.ts
denshooter 4dc727fcd6 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.
2026-01-06 20:10:00 +01:00

20 lines
489 B
TypeScript

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
});
}