Skip to content

Commit

Permalink
edit basepath
Browse files Browse the repository at this point in the history
  • Loading branch information
konstantin-lukas committed Nov 22, 2024
1 parent 37ef52e commit 0651b34
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/chair/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ export default function Page() {
<div
role="img"
aria-hidden="true"
className="h-dvh w-full bg-hu-blue-primary bg-[url('/alanakbik.github.io/group_photo_vertical.webp')] bg-cover
bg-center bg-no-repeat landscape:bg-[url('/alanakbik.github.io/group_photo_horizontal.webp')]
landscape:bg-top ultrawide:landscape:bg-[url('/alanakbik.github.io/group_photo_ultrawide.webp')]"
className="h-dvh w-full bg-hu-blue-primary bg-[url('/group_photo_vertical.webp')] bg-cover
bg-center bg-no-repeat landscape:bg-[url('/group_photo_horizontal.webp')]
landscape:bg-top ultrawide:landscape:bg-[url('/group_photo_ultrawide.webp')]"
>
<ScrollDownButton>Get to know us</ScrollDownButton>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/shared/BasePathImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default forwardRef<HTMLImageElement, {
return (
<Image
className={className}
src={(process.env.NODE_ENV === "development" ? "" : "/alanakbik.github.io") + src}
src={src}
width={width}
height={height}
fill={fill}
Expand Down
2 changes: 1 addition & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const nextConfig = {
output: "export",
reactStrictMode: true,
basePath: process.env.NODE_ENV === "development" ? "" : "/alanakbik.github.io",
basePath: "",
images: {
unoptimized: true,
},
Expand Down

0 comments on commit 0651b34

Please sign in to comment.