Skip to content

Commit

Permalink
Fixed banners in build (whoops)
Browse files Browse the repository at this point in the history
  • Loading branch information
EliteAsian123 committed Aug 24, 2023
1 parent 0e6562b commit 68d54c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/routes/YARG/NewEngine.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import LaunchPage from "@app/components/Launch/LaunchPage";
import { useYARGRelease } from "@app/hooks/useYARGRelease";
import { useYARGVersion } from "@app/hooks/useYARGVersion";
import DevYARGIcon from "@app/assets/DevYARGIcon.png";
import DevYARGBanner from "@app/assets/Banner/Development.png";

function StableYARGPage() {
const { data: releaseData, error, isSuccess, isLoading } = useYARGRelease("newEngine");
Expand All @@ -27,7 +28,7 @@ function StableYARGPage() {
</>}
websiteUrl="https://github.com/YARC-Official/YARG-NewEngine"
icon={DevYARGIcon}
banner="/src/assets/Banner/Development.png"
banner={DevYARGBanner}
/>
</>);
}
Expand Down
3 changes: 2 additions & 1 deletion src/routes/YARG/Nightly.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import LaunchPage from "@app/components/Launch/LaunchPage";
import { useYARGRelease } from "@app/hooks/useYARGRelease";
import { useYARGVersion } from "@app/hooks/useYARGVersion";
import NightlyYARGIcon from "@app/assets/NightlyYARGIcon.png";
import NightlyYARGBanner from "@app/assets/Banner/Nightly.png";

function NightlyYARGPage() {
const { data: releaseData, error, isSuccess, isLoading } = useYARGRelease("nightly");
Expand All @@ -24,7 +25,7 @@ function NightlyYARGPage() {
</>}
websiteUrl="https://github.com/YARC-Official/YARG-BleedingEdge"
icon={NightlyYARGIcon}
banner="/src/assets/Banner/Nightly.png"
banner={NightlyYARGBanner}
/>
</>);
}
Expand Down
3 changes: 2 additions & 1 deletion src/routes/YARG/Stable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import LaunchPage from "@app/components/Launch/LaunchPage";
import { useYARGRelease } from "@app/hooks/useYARGRelease";
import { useYARGVersion } from "@app/hooks/useYARGVersion";
import StableYARGIcon from "@app/assets/StableYARGIcon.png";
import StableYARGBanner from "@app/assets/Banner/Stable.png";

function StableYARGPage() {
const { data: releaseData, error, isSuccess, isLoading } = useYARGRelease("stable");
Expand All @@ -24,7 +25,7 @@ function StableYARGPage() {
</>}
websiteUrl="https://github.com/YARC-Official/YARG"
icon={StableYARGIcon}
banner="/src/assets/Banner/Stable.png"
banner={StableYARGBanner}
/>
</>);
}
Expand Down

0 comments on commit 68d54c6

Please sign in to comment.