fix: update image source paths in Home component and remove assetPrefix from Next.js config

This commit is contained in:
averel10
2025-11-11 20:15:26 +01:00
parent 7cf8e65486
commit 706007db7a
2 changed files with 2 additions and 3 deletions

View File

@@ -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">
<Image
className="dark:invert"
src="/next.svg"
src="/crypto_clash/next.svg"
alt="Next.js logo"
width={100}
height={20}
@@ -43,7 +43,7 @@ export default function Home() {
>
<Image
className="dark:invert"
src="/vercel.svg"
src="/crypto_clash/vercel.svg"
alt="Vercel logomark"
width={16}
height={16}

View File

@@ -2,7 +2,6 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = {
basePath: "/crypto_clash",
assetPrefix: "/crypto_clash",
output: "export", // <=== enables static exports
reactStrictMode: true,
};