From 2f6542d5f03b15a9b0a00ca8b9d8bafb84926c05 Mon Sep 17 00:00:00 2001 From: Sebastian Sebald Date: Fri, 7 Jun 2024 11:46:20 +0200 Subject: [PATCH] finish welcome page --- public/marigold.svg | 1 + src/routes/__root.tsx | 7 ++- src/routes/_components/About.tsx | 48 +++++++++++++++++++ .../_components}/Devtools.tsx | 0 src/routes/_components/Footer.tsx | 23 +++++++++ .../_components}/Header.tsx | 6 +-- src/routes/_components/Tutorials.tsx | 4 +- src/routes/index.lazy.tsx | 33 +------------ 8 files changed, 83 insertions(+), 39 deletions(-) create mode 100644 public/marigold.svg create mode 100644 src/routes/_components/About.tsx rename src/{components => routes/_components}/Devtools.tsx (100%) create mode 100644 src/routes/_components/Footer.tsx rename src/{components => routes/_components}/Header.tsx (94%) diff --git a/public/marigold.svg b/public/marigold.svg new file mode 100644 index 0000000..bc9a0ab --- /dev/null +++ b/public/marigold.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/routes/__root.tsx b/src/routes/__root.tsx index 3dd2f89..5155618 100644 --- a/src/routes/__root.tsx +++ b/src/routes/__root.tsx @@ -1,7 +1,9 @@ import { createRootRoute, Outlet } from '@tanstack/react-router'; -import Header from '@/components/Header'; import { Container } from '@/components/Container'; -import { Devtools } from '@/components/Devtools'; + +import { Devtools } from './_components/Devtools'; +import { Footer } from './_components/Footer'; +import { Header } from './_components/Header'; const Layout = () => ( <> @@ -14,6 +16,7 @@ const Layout = () => ( > +