Last active
August 4, 2020 10:50
-
-
Save DZuz14/b8fd381de669637e1ca0a299bb3d0079 to your computer and use it in GitHub Desktop.
React Spotify P1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @jsx jsx */ | |
import React from 'react' | |
import { css, jsx } from '@emotion/core' | |
import Topbar from './Topbar' | |
import Sidebar from './Sidebar' | |
import Content from './Content' | |
import Playbar from './Playbar' | |
const MusicPlayer = () => ( | |
<div css={CSS}> | |
<Topbar /> | |
<Sidebar /> | |
<Content /> | |
<Playbar /> | |
</div> | |
) | |
const CSS = css` | |
height: 100%; | |
width: 100%; | |
display: flex; | |
position: relative; | |
color: white; | |
` | |
export default MusicPlayer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment