diff --git a/next.config.js b/next.config.js index d498ef2..47382c3 100644 --- a/next.config.js +++ b/next.config.js @@ -1,4 +1,6 @@ -const {withAxiom} = require('next-axiom'); +/* eslint-disable @typescript-eslint/no-var-requires */ + +const {withAxiom} = require("next-axiom") const {withSentryConfig} = require("@gooditworks/monitoring/next") const isDeploy = ["production", "preview"].includes(process.env.VERCEL_ENV) @@ -11,10 +13,18 @@ const sentryConfig = { const config = { sentry: { disableServerWebpackPlugin: !isDeploy, - disableClientWebpackPlugin: !isDeploy, + disableClientWebpackPlugin: !isDeploy }, experimental: { appDir: true + }, + images: { + remotePatterns: [ + { + protocol: "https", + hostname: "www.freecodecamp.org", + } + ] } } diff --git a/public/gooditworks.png b/public/gooditworks.png new file mode 100644 index 0000000..182dda7 Binary files /dev/null and b/public/gooditworks.png differ diff --git a/src/app/page.tsx b/src/app/page.tsx index 8cccbe1..e756382 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,5 +1,22 @@ import {FC} from "react" +import Image from "next/image" -const IndexPage: FC = () =>
btw, our logo (static):
+and nice Next.js meme (external url)
+