Skip to content

Commit b08c010

Browse files
committed
fixed assets
1 parent 842021d commit b08c010

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/components/header.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
SheetTrigger,
1515
} from "./ui/sheet";
1616
import { X } from "lucide-react";
17+
import simonIcon from "@/assets/simon-icon.png";
1718

1819
export function Header() {
1920
const [isScrolled, setIsScrolled] = useState(false);
@@ -84,11 +85,7 @@ export function Header() {
8485
size="icon"
8586
onClick={(e) => handleClick("home", e)}
8687
>
87-
<img
88-
src="/src/assets/simon-icon.png"
89-
alt="Simon Manzler"
90-
className="h-6 w-6"
91-
/>
88+
<img src={simonIcon} alt="Simon Manzler" className="h-6 w-6" />
9289
</Button>
9390

9491
<nav className="flex items-center">

src/components/pages/apps.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
import { useNavigate } from "react-router";
2+
import repImage from "@/assets/rep-icon.png";
3+
import dashImage from "@/assets/rep-icon.png";
24

35
const apps = [
46
{
57
title: "Rep",
68
description:
79
"Workout tracker built to work offline and sync with your friends.",
8-
image: "/src/assets/rep-icon.png",
10+
image: repImage,
911
},
1012
{
1113
title: "Dash",
1214
description:
1315
"Running tracker built to work offline and sync with your friends.",
14-
image: "/src/assets/dash-icon.png",
16+
image: dashImage,
1517
},
1618
];
1719

0 commit comments

Comments
 (0)