From 3ba3f17ec62e4be581a7705f99a054d268229559 Mon Sep 17 00:00:00 2001 From: Dave Schumaker Date: Fri, 30 Aug 2024 15:54:08 -0700 Subject: [PATCH] fix: broken paths when hosting with subdirectory --- app/_components/FrontPage/NoiseToImage.tsx | 3 ++- app/page.tsx | 21 +++++++++++---------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/app/_components/FrontPage/NoiseToImage.tsx b/app/_components/FrontPage/NoiseToImage.tsx index c68b235..c93fa6e 100644 --- a/app/_components/FrontPage/NoiseToImage.tsx +++ b/app/_components/FrontPage/NoiseToImage.tsx @@ -3,6 +3,7 @@ import React, { useState, useEffect, useCallback } from 'react' import Typewriter from './Typewriter' import { AppConstants } from '@/app/_data-models/AppConstants' +import { appBasepath } from '@/app/_utils/browserUtils'; const FADE_DURATION_MS = 1500; const IMAGE_DISPLAY_DURATION_MS = 5000; @@ -61,7 +62,7 @@ const NoiseToImage: React.FC = ({