Skip to content

Commit

Permalink
make logo clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophNiehoff committed Nov 19, 2024
1 parent b53feb9 commit 0674d06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/client/src/components/logo/logo.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.logo {
cursor: pointer;
}
2 changes: 2 additions & 0 deletions apps/client/src/components/logo/logo.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import type React from 'react';
import { useNavigate } from 'react-router-dom';
import classes from './logo.module.css';

const Logo: React.FC = () => {
const navigate = useNavigate();

return (
<img
className={classes['logo']}
src="logo.png"
alt="logo"
height="120px"
Expand Down

0 comments on commit 0674d06

Please sign in to comment.