Skip to content

Commit

Permalink
finished footer
Browse files Browse the repository at this point in the history
  • Loading branch information
lucfercas committed Oct 24, 2024
1 parent 63ff93f commit 2e741eb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
18 changes: 9 additions & 9 deletions frontend/src/components/Footer.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// A component for the HTML footer to use on all pages
export function Footer() {
return (
<footer className="bg-gray-800 text-white w-screen">
<div className="w-full mx-auto max-w-screen-xl p-4 flex items-center justify-between">
<footer className="bg-gray-50 text-gray-900 dark:bg-gray-800 dark:text-white w-screen">
<div className="w-full mx-auto p-4 flex items-center justify-between">
{/* Bottom left */}
<div className="text-left">
<p>
Expand All @@ -11,7 +11,7 @@ export function Footer() {
href="https://pokeapi.co"
target="_blank"
rel="noopener noreferrer"
className="text-red-400 hover:underline"
className="text-red-600 dark:text-red-400 hover:underline"
>
PokeAPI
</a>{" "}
Expand All @@ -37,7 +37,7 @@ export function Footer() {
href="https://github.com/Alexia-May"
target="_blank"
rel="noopener noreferrer"
className="text-blue-400 hover:underline"
className="text-blue-600 dark:text-blue-400 hover:underline"
>
Alexia
</a>
Expand All @@ -46,7 +46,7 @@ export function Footer() {
href="https://github.com/shammy642"
target="_blank"
rel="noopener noreferrer"
className="text-blue-400 hover:underline"
className="text-blue-600 dark:text-blue-400 hover:underline"
>
Sam
</a>
Expand All @@ -55,7 +55,7 @@ export function Footer() {
href="https://github.com/JHLincoln"
target="_blank"
rel="noopener noreferrer"
className="text-blue-400 hover:underline"
className="text-blue-600 dark:text-blue-400 hover:underline"
>
James
</a>
Expand All @@ -64,7 +64,7 @@ export function Footer() {
href="https://github.com/lucfercas"
target="_blank"
rel="noopener noreferrer"
className="text-blue-400 hover:underline"
className="text-blue-600 dark:text-blue-400 hover:underline"
>
Lucy
</a>
Expand All @@ -73,7 +73,7 @@ export function Footer() {
href="https://github.com/aulus-plautius"
target="_blank"
rel="noopener noreferrer"
className="text-blue-400 hover:underline"
className="text-blue-600 dark:text-blue-400 hover:underline"
>
Joe
</a>{" "}
Expand All @@ -87,7 +87,7 @@ export function Footer() {
href="https://github.com/shammy642/MakersUIGame"
target="_blank"
rel="noopener noreferrer"
className="text-gray-400 hover:text-white"
className="text-gray-900 dark:text-gray-400 hover:text-green-500"
>
<svg
xmlns="http://www.w3.org/2000/svg"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ body {
}

.full-page {
@apply bg-cover bg-center bg-no-repeat h-screen w-screen flex flex-col justify-center items-center overflow-hidden;
@apply bg-cover bg-center bg-no-repeat h-screen w-screen flex flex-col justify-between items-center overflow-hidden;
/* @apply bg-cover bg-center bg-no-repeat h-screen w-screen flex flex-col justify-center items-center overflow-hidden; */
background-image: url('https://wallpapercave.com/wp/wp2595121.jpg');
background-attachment: fixed;
Expand Down
6 changes: 2 additions & 4 deletions frontend/src/pages/InGame.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function InGame({
}, [redirect, navigate, setRedirect]);

return (
<span className="max-h-full">

<div className="full-page">
<Header />
<Card>
Expand Down Expand Up @@ -83,9 +83,7 @@ export function InGame({
</CountdownCircleTimer>
</div>
</Card>
<Footer />
</div>

<Footer />
</span>
);
}

0 comments on commit 2e741eb

Please sign in to comment.