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({