From 560b95688900e061f15ab81846d5de07ac0fcaa6 Mon Sep 17 00:00:00 2001 From: Kayla Glick Date: Sun, 22 Dec 2024 02:04:19 -0500 Subject: [PATCH] import image instead of using full path --- package.json | 2 +- src/components/ExpansionPanel.tsx | 2 +- src/components/Header.tsx | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 125f982..3ca86a7 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "lint": "eslint .", "preview": "vite preview", "predeploy": "npm run build", - "deploy": "gh-pages -d build" + "deploy": "gh-pages -d dist" }, "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.7.2", diff --git a/src/components/ExpansionPanel.tsx b/src/components/ExpansionPanel.tsx index 101430e..601e4d1 100644 --- a/src/components/ExpansionPanel.tsx +++ b/src/components/ExpansionPanel.tsx @@ -7,7 +7,7 @@ interface Props { function ExpansionPanel({version}: Props) { return (
-
+

WoWSims

diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 64a4262..4f4eb44 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -2,6 +2,8 @@ import { faDiscord, faGithub } from '@fortawesome/free-brands-svg-icons' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import PatreonButton from './PatreonButton' +import WoWSimsLogo from '../assets/img/WoW-Simulator-Icon.png'; + function Header() { return (
@@ -9,7 +11,7 @@ function Header() {