Add home page and main layout
This commit is contained in:
parent
ed7eb15e04
commit
c3a1581713
13
_includes/layouts/main.tsx
Normal file
13
_includes/layouts/main.tsx
Normal file
|
@ -0,0 +1,13 @@
|
|||
export default function({ title, children }) {
|
||||
return (
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>{ title }</title>
|
||||
</head>
|
||||
<body>
|
||||
{ children }
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
Loading…
Reference in a new issue