mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-06-08 00:42:35 +02:00
22 lines
438 B
TypeScript
22 lines
438 B
TypeScript
import React from 'react';
|
|
import styled from 'styled-components';
|
|
import { media } from '../lib/responsive';
|
|
import { GA } from './GA';
|
|
|
|
export interface LayoutProps {}
|
|
export function Layout({ children }: React.PropsWithChildren<LayoutProps>) {
|
|
return (
|
|
<Container>
|
|
<GA />
|
|
{children}
|
|
</Container>
|
|
);
|
|
}
|
|
|
|
const Container = styled.div`
|
|
padding: 50px 30px;
|
|
${media.lg} {
|
|
padding: 30px 50px 50px 50px;
|
|
}
|
|
`;
|