Skip to content

Commit

Permalink
Updated basePath
Browse files Browse the repository at this point in the history
  • Loading branch information
marutsuki committed Jan 26, 2024
1 parent 408d7be commit 357feb9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const nextConfig = {
},
],
},
basePath: "",
basePath: "/static",

images: {
unoptimized: true,
Expand Down
2 changes: 1 addition & 1 deletion src/app/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function Page() {

<Image
className="mt-4 w-full rounded-md"
src="/preview.png"
src="/static/preview.png"
alt="preview"
width={1858}
height={785}
Expand Down
1 change: 1 addition & 0 deletions src/components/common/ThemedWrapper.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export type ThemedWrapperProps = {
children?: React.ReactNode;
className?: string;
onClick?: () => void;
} & JSX.IntrinsicAttributes;

export default function ThemedWrapper({
Expand Down
2 changes: 1 addition & 1 deletion src/components/search/ProfileCard.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ThemedWrapper from "../common/ThemedWrapper";
import ThemedWrapper from "@/components/common/ThemedWrapper";
import Image from "next/image";

interface ProfileCardProps {
Expand Down

0 comments on commit 357feb9

Please sign in to comment.