2022-08-28 20:12:09 +02:00
|
|
|
import React from 'react';
|
2023-09-26 00:21:30 +02:00
|
|
|
import styled from 'styled-components';
|
|
|
|
import { media } from '../lib/responsive';
|
2022-08-28 20:12:09 +02:00
|
|
|
import { GA } from './GA';
|
|
|
|
|
|
|
|
export interface LayoutProps {}
|
|
|
|
export function Layout({ children }: React.PropsWithChildren<LayoutProps>) {
|
|
|
|
return (
|
2023-09-26 00:21:30 +02:00
|
|
|
<Container>
|
2022-08-28 20:12:09 +02:00
|
|
|
<GA />
|
|
|
|
{children}
|
2023-09-26 00:21:30 +02:00
|
|
|
</Container>
|
2022-08-28 20:12:09 +02:00
|
|
|
);
|
|
|
|
}
|
2023-09-26 00:21:30 +02:00
|
|
|
|
|
|
|
const Container = styled.div`
|
|
|
|
padding: 50px 30px;
|
|
|
|
${media.lg} {
|
|
|
|
padding: 30px 50px 50px 50px;
|
|
|
|
}
|
|
|
|
`;
|