add feature component and make routes thin

This commit is contained in:
2026-05-31 21:01:29 +02:00
parent 5fea214ead
commit 71e4378325
7 changed files with 100 additions and 30 deletions
+2 -20
View File
@@ -1,26 +1,8 @@
import { createFileRoute } from "@tanstack/react-router";
import Section from "#/components/Section.tsx";
import Home from "#/pages";
export const Route = createFileRoute("/")({ component: App });
function App() {
return (
<main className="page-wrap px-4 pb-8 pt-14">
<Section
title="A Unique Chess Publication Service"
smallTitle="FEATURES"
description="Convert your chess PGN files into a publishable PDF, complete with diagrams of chosen positions."
>
<p>section content</p>
</Section>
<Section
title="Your Questions Answered"
smallTitle="FAQs"
description="Below we answer some of the most common questions we get regarding this service."
>
<p>section content</p>
</Section>
</main>
);
return <Home />;
}