Det9999 commited on
Commit
ab91dca
·
verified ·
1 Parent(s): 4b475fc

Upload components/Layout.jsx with huggingface_hub

Browse files
Files changed (1) hide show
  1. components/Layout.jsx +40 -0
components/Layout.jsx ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import Head from 'next/head';
2
+ import Link from 'next/link';
3
+
4
+ export default function Layout({ children }) {
5
+ return (
6
+ <div className="min-h-screen bg-spotify-dark text-white font-sans">
7
+ <Head>
8
+ <title>Spotify AI Recommender</title>
9
+ <meta name="description" content="AI-powered Spotify insights and recommendations" />
10
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
11
+ <link rel="icon" href="/favicon.ico" />
12
+ </Head>
13
+
14
+ <header className="border-b border-white/10 bg-black/50 backdrop-blur-md sticky top-0 z-50">
15
+ <div className="container mx-auto px-4 py-3 flex justify-between items-center">
16
+ <div className="flex items-center gap-3">
17
+ <svg className="w-8 h-8 text-spotify-green" fill="currentColor" viewBox="0 0 24 24">
18
+ <path d="M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3z"/>
19
+ </svg>
20
+ <h1 className="text-xl font-bold tracking-tight">Spotify AI</h1>
21
+ </div>
22
+ <div>
23
+ <Link
24
+ href="https://huggingface.co/spaces/akhaliq/anycoder"
25
+ target="_blank"
26
+ rel="noopener noreferrer"
27
+ className="text-xs font-medium text-spotify-light hover:text-white transition-colors border border-white/20 rounded-full px-3 py-1 hover:border-spotify-green"
28
+ >
29
+ Built with anycoder
30
+ </Link>
31
+ </div>
32
+ </div>
33
+ </header>
34
+
35
+ <main className="container mx-auto px-4 py-6">
36
+ {children}
37
+ </main>
38
+ </div>
39
+ );
40
+ }