Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWrege committed Nov 10, 2024
1 parent 58d56ba commit 72c678a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ export default async function Index() {
<>
<Suspense fallback={<Loading />}>
<Home cities={cities} cityStates={cityStates} />
<Banner link={thgLink} />
</Suspense>
<Banner link={thgLink} />

<footer className="left-1/2 text-center text-neutral-600 opacity-90 uppercase tracking-wide font-semibold text-xs pb-5 mb-16">
<p className="mb-1 mt-2">
Alle Angaben ohne Gewähr
Expand Down
3 changes: 2 additions & 1 deletion components/Banner.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Link from "next/link";
import { JSX } from "react";
import Image from "next/image";

interface Props {
link: string;
Expand All @@ -9,7 +10,7 @@ export default function Banner({ link }: Props): JSX.Element {
return (
<div className="fixed left-0 right-0 bottom-0 bg-primaryGreen z-10 w-full h-[4.3rem] banner-shadow md:h-[5.0rem]">
<Link prefetch={false} href={link} target="_blank">
<img
<Image
src="https://parkfuchs.app/images/banner/banner_parkfuchs_thg.png"
alt={"thg Banner"}
className="mx-auto relative bottom-3 max-sm:bottom-[12px] h-[120px]"
Expand Down
3 changes: 0 additions & 3 deletions next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ const withPWA = require("next-pwa")({
});

module.exports = withPWA({
experimental: {
reactCompiler: true,
},
reactStrictMode: true,
productionBrowserSourceMaps: true,
i18n: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "parkfuchs",
"version": "1.7.0",
"version": "1.7.1",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
Expand Down

0 comments on commit 72c678a

Please sign in to comment.