New look: slate-indigo panels, pink accent, Poppins, and a gradient card for your song
Inspired by a dashboard design the user shared. - App: new palette and fonts, borderless rounded panels with soft shadows, a pink-to-blue gradient card for your own song (text and controls switch to white on it), flat cards for friends, a 'Hi Chris, welcome back' header, an outline bell, and a pink pill on the active tab. - Website: the same look, plus a wide-screen layout with a sidebar, the page in a rounded panel, and a right column with your profile, recent activity and recent plays. Phones keep the top bar and bottom tabs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Y2iUsKEWDuRGjK5FPmcUP
This commit is contained in:
@@ -6,7 +6,7 @@ import { useState } from 'react';
|
||||
import { client, useMe } from '@/lib/api';
|
||||
import { ActivityBell } from './ActivityBell';
|
||||
|
||||
/** Top bar: logo and the four main places. On phones those move to a bottom tab bar. */
|
||||
/** Top bar: logo and the four main places. On phones those move to a bottom tab bar; wide screens use Shell's sidebar. */
|
||||
export function Nav() {
|
||||
const { me } = useMe();
|
||||
const path = usePathname();
|
||||
@@ -85,14 +85,14 @@ function VerifyBanner({ email }: { email: string }) {
|
||||
}
|
||||
|
||||
const icon = { width: 22, height: 22, viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: 2, strokeLinecap: 'round', strokeLinejoin: 'round' } as const;
|
||||
const FeedIcon = () => (
|
||||
export const FeedIcon = () => (
|
||||
<svg {...icon} aria-hidden>
|
||||
<path d="M9 18V5l12-2v13" />
|
||||
<circle cx="6" cy="18" r="3" />
|
||||
<circle cx="18" cy="16" r="3" />
|
||||
</svg>
|
||||
);
|
||||
const FriendsIcon = () => (
|
||||
export const FriendsIcon = () => (
|
||||
<svg {...icon} aria-hidden>
|
||||
<circle cx="9" cy="8" r="3.5" />
|
||||
<path d="M2 20c0-3.6 3.1-6 7-6s7 2.4 7 6" />
|
||||
@@ -100,13 +100,13 @@ const FriendsIcon = () => (
|
||||
<path d="M18 14c2.4.6 4 2.6 4 6" />
|
||||
</svg>
|
||||
);
|
||||
const ProfileIcon = () => (
|
||||
export const ProfileIcon = () => (
|
||||
<svg {...icon} aria-hidden>
|
||||
<circle cx="12" cy="8" r="4" />
|
||||
<path d="M4 21c0-4 3.6-7 8-7s8 3 8 7" />
|
||||
</svg>
|
||||
);
|
||||
const SettingsIcon = () => (
|
||||
export const SettingsIcon = () => (
|
||||
<svg {...icon} aria-hidden>
|
||||
<circle cx="12" cy="12" r="3" />
|
||||
<path d="M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z" />
|
||||
|
||||
Reference in New Issue
Block a user