From a27bd536bab568da103516ea3bdcd4dfd30488a2 Mon Sep 17 00:00:00 2001
From: fISHIE <83373559+WhoIsFishie@users.noreply.github.com>
Date: Sun, 8 Feb 2026 10:20:37 +0500
Subject: [PATCH] ui changes
added privacy policy
made dhiv text easier to read
---
frontend-react/src/App.tsx | 13 ++++++++-----
.../src/components/layout/Footer.tsx | 19 +++++++++++++++++++
.../src/components/layout/Layout.tsx | 14 ++++++++++++++
.../src/components/petition/PetitionBody.tsx | 2 +-
frontend-react/src/index.css | 6 ++++++
.../src/pages/CreatePetitionPage.tsx | 4 ----
frontend-react/src/pages/HomePage.tsx | 4 ----
frontend-react/src/pages/PetitionPage.tsx | 7 -------
8 files changed, 48 insertions(+), 21 deletions(-)
create mode 100644 frontend-react/src/components/layout/Footer.tsx
create mode 100644 frontend-react/src/components/layout/Layout.tsx
diff --git a/frontend-react/src/App.tsx b/frontend-react/src/App.tsx
index 335d2b3..9b38869 100644
--- a/frontend-react/src/App.tsx
+++ b/frontend-react/src/App.tsx
@@ -2,15 +2,18 @@ import { BrowserRouter, Routes, Route } from "react-router-dom";
import { HomePage } from "@/pages/HomePage";
import { PetitionPage } from "@/pages/PetitionPage";
import { CreatePetitionPage } from "@/pages/CreatePetitionPage";
+import { Layout } from "@/components/layout/Layout";
function App() {
return (
-
- } />
- } />
- } />
-
+
+
+ } />
+ } />
+ } />
+
+
);
}
diff --git a/frontend-react/src/components/layout/Footer.tsx b/frontend-react/src/components/layout/Footer.tsx
new file mode 100644
index 0000000..53f6801
--- /dev/null
+++ b/frontend-react/src/components/layout/Footer.tsx
@@ -0,0 +1,19 @@
+export function Footer() {
+ return (
+
+ );
+}
diff --git a/frontend-react/src/components/layout/Layout.tsx b/frontend-react/src/components/layout/Layout.tsx
new file mode 100644
index 0000000..4093291
--- /dev/null
+++ b/frontend-react/src/components/layout/Layout.tsx
@@ -0,0 +1,14 @@
+import { Footer } from "./Footer";
+
+interface LayoutProps {
+ children: React.ReactNode;
+}
+
+export function Layout({ children }: LayoutProps) {
+ return (
+
+ {children}
+
+
+ );
+}
diff --git a/frontend-react/src/components/petition/PetitionBody.tsx b/frontend-react/src/components/petition/PetitionBody.tsx
index 7297c04..1f10b24 100644
--- a/frontend-react/src/components/petition/PetitionBody.tsx
+++ b/frontend-react/src/components/petition/PetitionBody.tsx
@@ -54,7 +54,7 @@ export function PetitionBody({