Skip to content

Commit 591218a

Browse files
move logo to src folder and import in Layout per wireframe
1 parent 5f2cafb commit 591218a

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed
File renamed without changes.

src/views/LandingPage.jsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
import './LandingPage.css';
2+
import logo from '../assets/logo.png';
23

34
export function LandingPage() {
45
return (
56
<div className="landing-container">
6-
<img
7-
src={`${import.meta.env.BASE_URL}logo.png`}
8-
alt="Logo"
9-
className="logo"
10-
/>
7+
<img src={logo} alt="Logo" className="logo" />
118
<h1 className="main-heading">
129
<strong>CollabShop</strong> is more than just a grocery app—it&apos;s a
1310
tool that embodies the spirit of teamwork and collaboration. Created by

src/views/Layout.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
import { IconButton } from '../components/IconButton';
1010
import { useAuth, SignOutButton, SignInButton } from '../api/useAuth.jsx';
1111
import { auth } from '../api/config.js';
12+
import logo from '../assets/logo.png';
1213
import './Layout.css';
1314

1415
/**
@@ -27,7 +28,7 @@ export function Layout() {
2728
<header className="Layout-header">
2829
{!!user && (
2930
<div>
30-
<h1>CollabShop</h1>
31+
<img src={logo} alt="Logo" className="logo" />
3132
<span>Signed in as {auth.currentUser.displayName}</span>
3233
</div>
3334
)}

src/views/Team.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export function Team() {
5050
fontSize: '2em',
5151
}}
5252
>
53-
Meet the Team Behind CollabShop
53+
Meet the Tgit eam Behind CollabShop
5454
</h1>
5555
<p
5656
style={{

0 commit comments

Comments
 (0)