|
@ -1,11 +1,17 @@ |
|
|
import React from 'react'; |
|
|
import React from 'react'; |
|
|
|
|
|
import styled from 'styled-components'; |
|
|
import '../../styles/PlaylistViewHeader.global.css'; |
|
|
import '../../styles/PlaylistViewHeader.global.css'; |
|
|
|
|
|
|
|
|
|
|
|
const StyledImg = styled.img` |
|
|
|
|
|
border-radius: 85px; |
|
|
|
|
|
box-shadow: 0 0 20px #000; |
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
const PlaylistViewHeader = ({ name, comment, image, songCount }: any) => { |
|
|
const PlaylistViewHeader = ({ name, comment, image, songCount }: any) => { |
|
|
return ( |
|
|
return ( |
|
|
<div id="playlist__header" className="container__playlist"> |
|
|
<div id="playlist__header" className="container__playlist"> |
|
|
<div className="playlist__column_left"> |
|
|
<div className="playlist__column_left"> |
|
|
<img src={image} alt="playlist-img" /> |
|
|
<StyledImg src={image} alt="playlist-img" /> |
|
|
</div> |
|
|
</div> |
|
|
<div className="playlist__column_middle"> |
|
|
<div className="playlist__column_middle"> |
|
|
<h1 className="playlist__title">{name}</h1> |
|
|
<h1 className="playlist__title">{name}</h1> |
|
|