2021-09-23 22:37:47 -04:00
|
|
|
import React from 'react'
|
|
|
|
|
|
|
|
import GithubIcon from './GithubIcon.tsx'
|
|
|
|
|
|
|
|
interface PageProps {
|
|
|
|
children: React.ReactNode
|
|
|
|
}
|
|
|
|
|
|
|
|
export default function Page({children}: PageProps): JSX.Element {
|
|
|
|
return (
|
|
|
|
<div className="page">
|
|
|
|
<header className="header">
|
2021-09-23 23:34:33 -04:00
|
|
|
<h2 className="header-text">
|
|
|
|
Tomecraft
|
|
|
|
</h2>
|
2021-09-23 22:37:47 -04:00
|
|
|
<a
|
2021-11-08 03:29:26 -05:00
|
|
|
href="https://github.com/snendev/deno-react-web-starter"
|
2021-09-23 22:37:47 -04:00
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
<GithubIcon size={60} />
|
|
|
|
</a>
|
|
|
|
</header>
|
|
|
|
<main className="main">
|
|
|
|
{children}
|
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|