mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix: incorrect assets path
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
@@ -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='' />;
|
||||
|
||||
Reference in New Issue
Block a user