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:
19
app/api/n8n/status/route.ts
Normal file
19
app/api/n8n/status/route.ts
Normal 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
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user