style file input and chess board page

This commit is contained in:
2026-05-31 23:25:09 +02:00
parent 844702aa0a
commit 72f68da3b0
10 changed files with 80 additions and 12 deletions
+7
View File
@@ -0,0 +1,7 @@
import Chessboard from "#/pages/Chessboard.tsx";
const ChessboardContainer = () => {
return <Chessboard />;
};
export default ChessboardContainer;
+13
View File
@@ -0,0 +1,13 @@
import LichessButton from "#/components/LichessButton.tsx";
import Section from "#/components/Section.tsx";
const Chessboard = () => (
<main className="px-4 pb-8 place-self-center min-h-[calc(100vh-226px)]">
<Section title="Convert PGN to PDF">
<LichessButton /> or{" "}
<input type="file" id="file-input" className="file-input max-w-xs" />
</Section>
</main>
);
export default Chessboard;
-9
View File
@@ -1,9 +0,0 @@
import Section from "#/components/Section.tsx";
const Chessboard = () => (
<Section title="Convert PGN to PDF">
<p>section content</p>
</Section>
);
export default Chessboard;