mirror of
https://github.com/TheRealOwenRees/chess-scribe-website.git
synced 2026-07-23 09:56:57 +00:00
add feature component and make routes thin
This commit is contained in:
+2
-20
@@ -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 />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user