Template for starting apps, powered by Next.js
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

33 lines
588 B

  1. import * as React from 'react'
  2. import styled from 'styled-components'
  3. import Basic from '../../organisms/layouts/Basic'
  4. import DummyContent from '../../molecules/DummyContent';
  5. const Container = styled('div')({
  6. padding: '0 1rem',
  7. boxSizing: 'border-box',
  8. margin: '0 auto',
  9. maxWidth: 'calc(var(--width-base, 360px) * 2)',
  10. width: '100%',
  11. })
  12. type Props = {
  13. query: string,
  14. }
  15. const BasicLayoutTemplate: React.FC<Props> = ({
  16. query,
  17. }) => {
  18. return (
  19. <Basic
  20. query={query}
  21. >
  22. <Container>
  23. <DummyContent />
  24. </Container>
  25. </Basic>
  26. )
  27. }
  28. export default BasicLayoutTemplate