коммит 2

This commit is contained in:
Аришина) 2024-08-24 16:07:38 +04:00
parent b96ce0d291
commit 4e45b88620
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ function App() {
<PlaylistsBlock playlists={playlists} /> <PlaylistsBlock playlists={playlists} />
<SongsBlock songs={songs}/> <SongsBlock songs={songs}/>
<Footer song={songs[0]}/> <Footer />
</div> </div>

View File

@ -3,10 +3,10 @@ import { Button } from 'antd';
import { CurrentTrack } from './CurrentTrack'; import { CurrentTrack } from './CurrentTrack';
import { ISong } from '../models/IModels'; import { ISong } from '../models/IModels';
export function Footer({song}: {song: ISong}) { export function Footer() {
return ( return (
<footer id="footer" className="bg-gray-600"> <footer id="footer" className="bg-gray-600">
<CurrentTrack song={song} />
<div className="container mx-auto flex justify-between"> <div className="container mx-auto flex justify-between">
<p className="text-lg"> 2022 Music Service</p> <p className="text-lg"> 2022 Music Service</p>
<ul className="flex"> <ul className="flex">