From 772d4ac5a1c20064053dced2929f6b528b039bb3 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Fri, 26 Sep 2025 23:24:28 +0300 Subject: [PATCH] chore(website): port the rest of the layout --- apps/website2/src/index.html | 27 ------------------------- apps/website3/src/components/Footer.tsx | 12 +++++++++++ apps/website3/src/components/Header.tsx | 20 ++++++++++-------- apps/website3/src/index.tsx | 2 ++ apps/website3/src/pages/Home/index.tsx | 13 ++++++++++++ 5 files changed, 39 insertions(+), 35 deletions(-) create mode 100644 apps/website3/src/components/Footer.tsx diff --git a/apps/website2/src/index.html b/apps/website2/src/index.html index 88cc5b5d1..c11245d24 100644 --- a/apps/website2/src/index.html +++ b/apps/website2/src/index.html @@ -8,9 +8,6 @@
-
-
- -
- - - - \ No newline at end of file diff --git a/apps/website3/src/components/Footer.tsx b/apps/website3/src/components/Footer.tsx new file mode 100644 index 000000000..92802c7c0 --- /dev/null +++ b/apps/website3/src/components/Footer.tsx @@ -0,0 +1,12 @@ +export default function Footer() { + return ( + + ) +} diff --git a/apps/website3/src/components/Header.tsx b/apps/website3/src/components/Header.tsx index 4f83289c2..033ffcb12 100644 --- a/apps/website3/src/components/Header.tsx +++ b/apps/website3/src/components/Header.tsx @@ -5,14 +5,18 @@ export function Header() { return (
- +
+  Trilium Notes + + +
); } diff --git a/apps/website3/src/index.tsx b/apps/website3/src/index.tsx index 28dfed56f..790b62ce3 100644 --- a/apps/website3/src/index.tsx +++ b/apps/website3/src/index.tsx @@ -4,6 +4,7 @@ import { Header } from './components/Header.jsx'; import { Home } from './pages/Home/index.jsx'; import { NotFound } from './pages/_404.jsx'; import './style.css'; +import Footer from './components/Footer.js'; export function App() { return ( @@ -15,6 +16,7 @@ export function App() { +