Initial commit - SoundWave v1.0
- Full PWA support with offline capabilities - Comprehensive search across songs, playlists, and channels - Offline playlist manager with download tracking - Pre-built frontend for zero-build deployment - Docker-based deployment with docker compose - Material-UI dark theme interface - YouTube audio download and management - Multi-user authentication support
This commit is contained in:
commit
51679d1943
254 changed files with 37281 additions and 0 deletions
36
frontend/src/pages/FavoritesPage.tsx
Normal file
36
frontend/src/pages/FavoritesPage.tsx
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
import { Box, Typography } from '@mui/material';
|
||||
import FavoriteIcon from '@mui/icons-material/Favorite';
|
||||
import type { Audio } from '../types';
|
||||
|
||||
interface FavoritesPageProps {
|
||||
setCurrentAudio: (audio: Audio) => void;
|
||||
}
|
||||
|
||||
export default function FavoritesPage({ setCurrentAudio }: FavoritesPageProps) {
|
||||
return (
|
||||
<Box>
|
||||
<Typography variant="h4" sx={{ mb: 2, fontWeight: 600 }}>
|
||||
Favorites
|
||||
</Typography>
|
||||
|
||||
<Box
|
||||
sx={{
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
minHeight: 300,
|
||||
gap: 1.5,
|
||||
}}
|
||||
>
|
||||
<FavoriteIcon sx={{ fontSize: 48, color: 'text.secondary' }} />
|
||||
<Typography variant="subtitle1" color="text.secondary">
|
||||
No favorites yet
|
||||
</Typography>
|
||||
<Typography variant="caption" color="text.secondary">
|
||||
Start adding songs to your favorites
|
||||
</Typography>
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue