From 0420b070845b5871f947bf8eedde3061477cce48 Mon Sep 17 00:00:00 2001
From: Damian Stasik <920747+damianstasik@users.noreply.github.com>
Date: Wed, 4 Sep 2024 12:05:57 +0200
Subject: [PATCH 1/2] Add footer
Signed-off-by: Damian Stasik <920747+damianstasik@users.noreply.github.com>
---
frontend/src/components/Footer/index.tsx | 26 +++++++++++++++++++
.../src/components/SidebarLayout/index.tsx | 2 ++
.../src/components/SimpleLayout/index.tsx | 2 ++
frontend/src/routes/Home/index.tsx | 2 ++
4 files changed, 32 insertions(+)
create mode 100644 frontend/src/components/Footer/index.tsx
diff --git a/frontend/src/components/Footer/index.tsx b/frontend/src/components/Footer/index.tsx
new file mode 100644
index 00000000..5ac18795
--- /dev/null
+++ b/frontend/src/components/Footer/index.tsx
@@ -0,0 +1,26 @@
+import { Paragraph } from "../Paragraph";
+
+export function Footer() {
+ return (
+
+ );
+}
diff --git a/frontend/src/components/SidebarLayout/index.tsx b/frontend/src/components/SidebarLayout/index.tsx
index 821c7270..f7bcb949 100644
--- a/frontend/src/components/SidebarLayout/index.tsx
+++ b/frontend/src/components/SidebarLayout/index.tsx
@@ -1,3 +1,4 @@
+import { Footer } from "../Footer";
import { Header } from "../Header";
import { ReactNode } from "react";
@@ -16,6 +17,7 @@ export function SidebarLayout({ children, before, after }: SidebarLayoutProps) {
{children}
{after}
+
>
);
}
diff --git a/frontend/src/components/SimpleLayout/index.tsx b/frontend/src/components/SimpleLayout/index.tsx
index fdb7c2ee..bc472c57 100644
--- a/frontend/src/components/SimpleLayout/index.tsx
+++ b/frontend/src/components/SimpleLayout/index.tsx
@@ -1,6 +1,7 @@
import { Header } from "../Header";
import { Breadcrumbs } from "../Breadcrumbs";
import { ReactNode } from "react";
+import { Footer } from "../Footer";
interface SimpleLayoutProps {
children: ReactNode;
@@ -14,6 +15,7 @@ export function SimpleLayout({ children }: SimpleLayoutProps) {
{children}
+
>
);
}
diff --git a/frontend/src/routes/Home/index.tsx b/frontend/src/routes/Home/index.tsx
index 0e9a12d1..09e0afe7 100644
--- a/frontend/src/routes/Home/index.tsx
+++ b/frontend/src/routes/Home/index.tsx
@@ -2,6 +2,7 @@ import { Search } from "@/components/Search";
import { Header } from "../../components/Header";
import { Paragraph } from "../../components/Paragraph";
import PatternBg from "../../components/PatternBg";
+import { Footer } from "@/components/Footer";
export function Home() {
return (
@@ -50,6 +51,7 @@ export function Home() {
placeholder="Search providers, resources, or modules"
/>
+
>
);
}
From a976ae487b9ce160fd0199937e15197ba6000340 Mon Sep 17 00:00:00 2001
From: Damian Stasik <920747+damianstasik@users.noreply.github.com>
Date: Wed, 4 Sep 2024 12:09:58 +0200
Subject: [PATCH 2/2] Reduce vertical padding
Signed-off-by: Damian Stasik <920747+damianstasik@users.noreply.github.com>
---
frontend/src/components/Footer/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frontend/src/components/Footer/index.tsx b/frontend/src/components/Footer/index.tsx
index 5ac18795..c0814558 100644
--- a/frontend/src/components/Footer/index.tsx
+++ b/frontend/src/components/Footer/index.tsx
@@ -3,7 +3,7 @@ import { Paragraph } from "../Paragraph";
export function Footer() {
return (