Skip to content

Commit

Permalink
fix: Add favicon back to project
Browse files Browse the repository at this point in the history
  • Loading branch information
marshjaja committed Oct 6, 2024
1 parent 01dbba4 commit a3b1bed
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 15 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
name="description"
content="A smart shopping list that learns your purchase habits and makes suggestions, so you don't forget to buy what's important."
/>
<link rel="icon" type="image/svg+xml" href="/src/favicon.ico" />
<link rel="icon" type="image/svg+xml" href="/src/favicon-cart.png" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
Expand Down
Binary file added public/cart-icon-fav.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 7 additions & 14 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { useState } from 'react';
import ProtectedRoutes from './utils/ProtectedRoutes';
import Login from './views/Login';


export function App() {
const [isModalOpen, setIsModalOpen] = useState(false);
/**
Expand Down Expand Up @@ -58,13 +57,13 @@ export function App() {
index
element={
<Home
user={user}
data={lists}
listPath={listPath}
setListPath={setListPath}
isModalOpen={isModalOpen}
handleShareModalClick={handleShareModalClick}
/>
user={user}
data={lists}
listPath={listPath}
setListPath={setListPath}
isModalOpen={isModalOpen}
handleShareModalClick={handleShareModalClick}
/>
}
/>
<Route
Expand All @@ -73,12 +72,6 @@ export function App() {
<List data={data} listPath={listPath} listName={listName} />
}
/>
<Route
path="/manage-list"
element={
<ManageList listPath={listPath} user={user} data={data} />
}
/>
</Route>
</Route>
<Route element={<Login user={user} />} path="/login" />
Expand Down

0 comments on commit a3b1bed

Please sign in to comment.