Skip to content

Commit

Permalink
Update images and tweak header/footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Willdotwhite committed Jan 19, 2024
1 parent befcfe9 commit 43d2551
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img width="300" src="https://raw.githubusercontent.com/GameMakersToolkit/team-finder/main/ui/public/logos/header.png" alt="Project Build Status">
<img width="300" src="https://raw.githubusercontent.com/GameMakersToolkit/team-finder/main/ui/public/logos/jam-logo.webp" alt="Project Build Status">
</p>
<p align="center">
<img src="https://github.com/GameMakersToolkit/team-finder/actions/workflows/api-run-tests.yml/badge.svg" alt="API CI Status">
Expand Down
2 changes: 1 addition & 1 deletion ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/webp" href="/favicon.webp" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>GMTK Team Finder</title>
</head>
Expand Down
Binary file removed ui/public/favicon.png
Binary file not shown.
Binary file added ui/public/favicon.webp
Binary file not shown.
Binary file added ui/public/logos/jam-logo-stacked.webp
Binary file not shown.
Binary file added ui/public/logos/jam-logo.webp
Binary file not shown.
1 change: 0 additions & 1 deletion ui/public/vite.svg

This file was deleted.

2 changes: 1 addition & 1 deletion ui/src/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

main {
@apply container mx-auto p-1 px-4 pb-6;
padding-bottom: 64px;
padding-bottom: 96px;
}

body {
Expand Down
5 changes: 4 additions & 1 deletion ui/src/pages/components/Footer.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
@layer components {
.c-footer {
@apply absolute bottom-0 w-full h-[64px] flex justify-center items-center;
background-image: linear-gradient(0deg, #db0a15, #000000);
padding-top: 32px;
height: 96px;
margin: -32px auto 0 auto;
background-image: linear-gradient(#000000, #88151b);

.footer__icon {
@apply px-4 h-[24px] border-r-2 border-theme-l-7 last:border-0;
Expand Down
6 changes: 3 additions & 3 deletions ui/src/pages/components/Header.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@layer components {
.c-header {
@apply p-2 mb-4;
height: 64px;
margin: 0 auto;
background-image: linear-gradient(#db0a15, #000000);
height: 96px;
margin: 0 auto -32px 0;
background-image: linear-gradient(#88151b, #000000);

#toggle-bookmark-button {
@apply leading-none py-2 px-2 hover:font-bold hover:text-white border border-white rounded-lg;
Expand Down
4 changes: 2 additions & 2 deletions ui/src/pages/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const Header: React.FC = () => {
<div className="sm:flex">
<div className="hidden sm:flex">
<Link to="/">
<img src="/logos/header.png" width="40" height="40" alt={"jamName" + " Team Finder logo"}/>
<img src="/logos/jam-logo-stacked.webp" width="40" height="40" alt={"jamName" + " Team Finder logo"}/>
</Link>

<div className="flex items-center">
Expand All @@ -41,7 +41,7 @@ export const Header: React.FC = () => {

<div className="flex justify-evenly gap-2">
<Link to="/" className="block border border-white rounded-lg mr-2 sm:hidden">
<img src="/logos/header.png" width="40" height="40" alt={"jamName" + " Team Finder logo"}/>
<img src="/logos/jam-logo-stacked.webp" width="40" height="40" alt={"jamName" + " Team Finder logo"}/>
</Link>
{isOnHomePage && <ToggleBookmarks />}
<MyPostButton />
Expand Down
2 changes: 1 addition & 1 deletion ui/src/pages/home/components/SiteIntro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const SiteIntro = () => {
<div className="inline-block w-full sm:w-1/2 pb-8">
<img
className="m-auto pt-8 px-16 pb-4"
src="/logos/full.png"
src="/logos/jam-logo.webp"
width={"300px"}
alt={jamName + " Team Finder logo"}
/>
Expand Down

0 comments on commit 43d2551

Please sign in to comment.