diff --git a/src/containers/Playlist/Playlist.module.scss b/src/containers/Playlist/Playlist.module.scss new file mode 100644 index 000000000..d57e9d688 --- /dev/null +++ b/src/containers/Playlist/Playlist.module.scss @@ -0,0 +1,4 @@ +.playlist { + color: var(--primary-color); + font-family: var(--body-alt-font-family); + } diff --git a/src/containers/Playlist/Playlist.test.tsx b/src/containers/Playlist/Playlist.test.tsx new file mode 100644 index 000000000..81548c295 --- /dev/null +++ b/src/containers/Playlist/Playlist.test.tsx @@ -0,0 +1,11 @@ +import * as React from 'react'; +import { render } from '@testing-library/react'; + +import Playlist from './Playlist'; + +describe('', () => { + it.skip('renders with heading', () => { + const { getByText } = render(); + expect(getByText(/aa/i)).toBeTruthy(); + }); +}); diff --git a/src/containers/Playlist/Playlist.tsx b/src/containers/Playlist/Playlist.tsx new file mode 100644 index 000000000..42310a33c --- /dev/null +++ b/src/containers/Playlist/Playlist.tsx @@ -0,0 +1,21 @@ +import React from 'react'; + +import styles from './Playlist.module.scss'; + +type PlaylistContainerProps = { + playlistId: string; +}; + +function Playlist({ playlistId }: PlaylistContainerProps): JSX.Element { + return ( +
+
+

All films

+
+
+
+
+ ); +} + +export default Playlist; diff --git a/src/screens/Playlist/Playlist.module.scss b/src/screens/Playlist/Playlist.module.scss new file mode 100644 index 000000000..38a103c2a --- /dev/null +++ b/src/screens/Playlist/Playlist.module.scss @@ -0,0 +1,3 @@ +.playlist { + padding-top: 20px; + } diff --git a/src/screens/Playlist/Playlist.tsx b/src/screens/Playlist/Playlist.tsx new file mode 100644 index 000000000..d860dafbf --- /dev/null +++ b/src/screens/Playlist/Playlist.tsx @@ -0,0 +1,16 @@ +import React from 'react'; + +import PlaylistContainer from '../../containers/Playlist/Playlist' + +import styles from './Playlist.module.scss'; + + +function Playlist() { + return ( +
+ +
+ ); +} + +export default Playlist;