fix: incorrect assets path

This commit is contained in:
Tom (plebeius.eth)
2024-06-20 17:02:11 +02:00
parent 70cba59ddf
commit 4cca4a58dd
7 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ export const HomeLogo = () => {
return (
<Link to='/'>
<div className={styles.logo}>
<img alt='' src='/assets/logo/logo-transparent.png' />
<img alt='' src='assets/logo/logo-transparent.png' />
</div>
</Link>
);
+1 -1
View File
@@ -9,7 +9,7 @@ const totalNotFoundImages = 2;
const NotFoundImage = () => {
const [imagePath] = useState(() => {
const randomBannerIndex = Math.floor(Math.random() * totalNotFoundImages) + 1;
return `/assets/not-found/not-found-${randomBannerIndex}.jpg`;
return `assets/not-found/not-found-${randomBannerIndex}.jpg`;
});
return <img src={imagePath} alt='' />;