Skip to content

Commit

Permalink
feat: add logo to app and GitHub Pages
Browse files Browse the repository at this point in the history
- Added blue logo to app navigation
- Added black and white logo to GitHub Pages
- Made app logo clickable and link to home
  • Loading branch information
codevalve committed Nov 17, 2024
1 parent ac648c0 commit 806d93f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<div class="bg-gray-100 min-h-screen">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
<div class="text-center">
<img src="images/FoodBank - Logo - BW - Transparent.png" alt="FoodBank Logo" class="h-32 mx-auto mb-8">
<h1 class="text-4xl font-bold text-gray-900 sm:text-5xl md:text-6xl">
Food Bank Inventory Management
</h1>
Expand Down
3 changes: 3 additions & 0 deletions packages/client/.vite/deps_temp_9bf9597c/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "module"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion packages/client/src/components/layout/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Link, useLocation } from 'react-router-dom';
import { Disclosure, Menu, Transition } from '@headlessui/react';
import { Bars3Icon, XMarkIcon, UserCircleIcon } from '@heroicons/react/24/outline';
import clsx from 'clsx';
import logo from '../../assets/images/FoodBank - Logo - Blue - Transparent.png';

const navigation = [
{ name: 'Dashboard', href: '/' },
Expand All @@ -18,7 +19,9 @@ export function Navigation() {
<div className="container mx-auto px-8">
<div className="flex h-20 items-center justify-between">
<div className="flex items-center flex-shrink-0">
<span className="text-3xl font-bold text-blue-600">FoodBank</span>
<Link to="/" className="flex items-center">
<img src={logo} alt="FoodBank Logo" className="h-12 w-auto" />
</Link>
</div>
<div className="hidden md:block flex-grow px-12">
<div className="flex space-x-12">
Expand Down

0 comments on commit 806d93f

Please # to comment.