feat(themes): add infra
This commit is contained in:
parent
7cde7fa8cf
commit
97440839dd
2 changed files with 24 additions and 0 deletions
11
themes/infra/components/Layout.tsx
Normal file
11
themes/infra/components/Layout.tsx
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
import { ReactNode, FunctionComponent } from 'react';
|
||||||
|
|
||||||
|
type Props = {
|
||||||
|
children?: ReactNode;
|
||||||
|
};
|
||||||
|
|
||||||
|
const Layout: FunctionComponent = ({ children }: Props) => (
|
||||||
|
<div className="lg:px-32 md:px-16 px-4 py-4">{children}</div>
|
||||||
|
);
|
||||||
|
|
||||||
|
export default Layout;
|
||||||
13
themes/infra/package.json
Normal file
13
themes/infra/package.json
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"name": "@themes/infra",
|
||||||
|
"private": true,
|
||||||
|
"version": "0.0.0",
|
||||||
|
"author": "Vojtech Mares <iam@vojtechmares.com>",
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/react": "^17.0.34",
|
||||||
|
"react": "^17.0.2",
|
||||||
|
"react-dom": "^17.0.2",
|
||||||
|
"tailwindcss": "^3.0.8",
|
||||||
|
"typescript": "^4.4.4"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in a new issue