diff --git a/PTG/src/About.css b/PTG/src/About.css index dbf579a..36b1b82 100644 --- a/PTG/src/About.css +++ b/PTG/src/About.css @@ -3,6 +3,13 @@ flex-direction: column; align-items: center; margin: 0 15vw; + min-height: calc(89.5vh - 60px); +} + +.footer-pin{ + position: relative; + bottom: 0; + left: 0; } p{ diff --git a/PTG/src/About.tsx b/PTG/src/About.tsx index c77756e..f99f398 100644 --- a/PTG/src/About.tsx +++ b/PTG/src/About.tsx @@ -1,4 +1,5 @@ import Header from "./Header.tsx"; +import Footer from "./Footer.tsx"; import "./About.css"; export default function About(){ @@ -18,11 +19,14 @@ export default function About(){

This website is made by students, and is made for training reasons, also for lazy people not wanting to pick a team themselves. Contact information - can be found at the footer of the home page. Any feedback will be deeply appreciated, + can be found at the footer of the home page and this page. Any feedback will be deeply appreciated, as it will be used as a tool to sharpen our skills and improve our work in the second project.

+
+
); -} \ No newline at end of file +} diff --git a/PTG/src/App.css b/PTG/src/App.css index e69de29..aa05d28 100644 --- a/PTG/src/App.css +++ b/PTG/src/App.css @@ -0,0 +1,9 @@ +.content{ + min-height: calc(100vh - 60px); +} + +.footer-pin{ + position: relative; + bottom: 0; + left: 0; +} \ No newline at end of file diff --git a/PTG/src/App.tsx b/PTG/src/App.tsx index 7b160d6..7824600 100644 --- a/PTG/src/App.tsx +++ b/PTG/src/App.tsx @@ -1,6 +1,7 @@ import { useEffect, useState } from "react"; import Header from "./Header.tsx" import Footer from "./Footer.tsx" +import "./App.css" import ChoosePokemon from "./ChoosePokemon.tsx"; import Team from "./Team.tsx"; import PokemonGrid from "./PokemonGrid.tsx"; @@ -20,25 +21,29 @@ export default function App(){ return(
-
- - - -
);