mirror of
https://github.com/averel10/crypto_clash.git
synced 2026-03-12 19:08:11 +01:00
fix: update image source paths in Home component and remove assetPrefix from Next.js config
This commit is contained in:
@@ -6,7 +6,7 @@ export default function Home() {
|
|||||||
<main className="flex min-h-screen w-full max-w-3xl flex-col items-center justify-between py-32 px-16 bg-white dark:bg-black sm:items-start">
|
<main className="flex min-h-screen w-full max-w-3xl flex-col items-center justify-between py-32 px-16 bg-white dark:bg-black sm:items-start">
|
||||||
<Image
|
<Image
|
||||||
className="dark:invert"
|
className="dark:invert"
|
||||||
src="/next.svg"
|
src="/crypto_clash/next.svg"
|
||||||
alt="Next.js logo"
|
alt="Next.js logo"
|
||||||
width={100}
|
width={100}
|
||||||
height={20}
|
height={20}
|
||||||
@@ -43,7 +43,7 @@ export default function Home() {
|
|||||||
>
|
>
|
||||||
<Image
|
<Image
|
||||||
className="dark:invert"
|
className="dark:invert"
|
||||||
src="/vercel.svg"
|
src="/crypto_clash/vercel.svg"
|
||||||
alt="Vercel logomark"
|
alt="Vercel logomark"
|
||||||
width={16}
|
width={16}
|
||||||
height={16}
|
height={16}
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ import type { NextConfig } from "next";
|
|||||||
|
|
||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
basePath: "/crypto_clash",
|
basePath: "/crypto_clash",
|
||||||
assetPrefix: "/crypto_clash",
|
|
||||||
output: "export", // <=== enables static exports
|
output: "export", // <=== enables static exports
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user