mirror of
https://github.com/myfatemi04/wheelshare-frontend.git
synced 2025-04-21 11:20:17 -04:00
feat: logos
This commit is contained in:
parent
705279d958
commit
9b4476f083
BIN
public/images/logo.gif
Normal file
BIN
public/images/logo.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 1016 KiB |
BIN
public/images/logo.png
Normal file
BIN
public/images/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 235 KiB |
|
@ -5,6 +5,7 @@ import AuthenticationContext from './AuthenticationContext';
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
const { user, isLoggedIn } = useContext(AuthenticationContext);
|
const { user, isLoggedIn } = useContext(AuthenticationContext);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
|
@ -40,10 +41,14 @@ export default function Home() {
|
||||||
<br />
|
<br />
|
||||||
<div className="text-center">
|
<div className="text-center">
|
||||||
<img
|
<img
|
||||||
|
id="logo"
|
||||||
alt="Carpool App"
|
alt="Carpool App"
|
||||||
|
onMouseOver={(e) => (e.currentTarget.src = 'images/logo.gif')}
|
||||||
|
onMouseOut={(e) => (e.currentTarget.src = 'images/logo.png')}
|
||||||
className="text-center img-fluid"
|
className="text-center img-fluid"
|
||||||
src="images/logo.png"
|
src="images/logo.png"
|
||||||
width="350px"
|
width="500px"
|
||||||
|
height="750px"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
|
|
Loading…
Reference in New Issue
Block a user