diff --git a/src/components/App.tsx b/src/components/App.tsx index e8c7d74..7cdf8f3 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -1,12 +1,14 @@ import React, { FC } from 'react' import styled from '@emotion/styled' import Header from './Header' +import AppLayout from './AppLayout' const App: FC = () => { return (
- {/* Happy coding! */} + {/* Happy coding! (Ty) */} + ) } @@ -16,6 +18,10 @@ const Container = styled.div({ height: '100%', width: '560px', paddingTop: '60px', + '@media only screen and (max-width: 600px)': { + padding: '40px', + width: '100%', + }, }) export default App diff --git a/src/components/AppLayout.js b/src/components/AppLayout.js new file mode 100644 index 0000000..61a85d4 --- /dev/null +++ b/src/components/AppLayout.js @@ -0,0 +1,23 @@ +import React from 'react' + +import Main from './search/Main' +import Aside from './favorites/Aside' + +import styled from '@emotion/styled' + +function AppLayout() { + return ( + <> +
+ +