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 = () =>

TODO: put README there

+import giwLogo from "public/gooditworks.png" + +const IndexPage: FC = () => ( +
+

TODO: put README there

+

btw, our logo (static):

+ Good iT Works logo +

and nice Next.js meme (external url)

+ meme about next.js +
+) export default IndexPage diff --git a/tsconfig.json b/tsconfig.json index fc35bed..13ce4b3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,6 +12,9 @@ "exclude": ["node_modules"], "compilerOptions": { "baseUrl": "src", + "paths": { + "public/*": ["../public/*"] + }, "moduleResolution": "node", "module": "commonjs", "jsx": "preserve",