1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-23 08:44:18 +00:00
todocolors/todoblue/src/app/page.tsx

51 lines
1 KiB
TypeScript
Raw Normal View History

import {CreatePrivateBoardPanel} from "@/app/CreatePrivateBoardPanel"
import {CreatePublicBoardPanel} from "@/app/CreatePublicBoardPanel"
import {SiteName} from "@/app/SiteName"
2023-08-01 16:13:20 +00:00
import {default as React} from "react";
2023-08-04 14:41:33 +00:00
import style from "./page.module.css"
2023-08-01 16:13:20 +00:00
2023-08-01 16:13:20 +00:00
export default function Page() {
2023-08-04 14:41:33 +00:00
return <div className={style.pageRoot}>
<PageHeader/>
<PageMain/>
<PageFooter/>
</div>
}
function PageHeader() {
return (
<header className={style.pageHeader}>
2023-08-01 16:13:20 +00:00
<h1>
<SiteName/>
2023-08-01 16:13:20 +00:00
</h1>
</header>
2023-08-04 14:41:33 +00:00
)
}
function PageMain() {
return (
<main className={style.pageMain}>
2023-08-01 16:13:20 +00:00
<div className={"chapter-2"}>
<h2>
Crea un nuovo tabellone
</h2>
<CreatePublicBoardPanel/>
<CreatePrivateBoardPanel/>
2023-08-01 16:13:20 +00:00
</div>
</main>
2023-08-04 14:41:33 +00:00
)
}
function PageFooter() {
return (
<footer className={style.pageFooter}>
<p>
© <a href="https://steffo.eu">Stefano Pigozzi</a> -
<a href="https://www.gnu.org/licenses/agpl-3.0.en.html">AGPL 3.0</a> -
<a href="https://github.com/Steffo99/todocolors">GitHub</a>
</p>
</footer>
)
2023-08-01 16:13:20 +00:00
}