diff --git a/next.config.js b/next.config.js index 0c789f3..09d5555 100644 --- a/next.config.js +++ b/next.config.js @@ -5,8 +5,18 @@ module.exports = { return [ { source: '/api/:slug*', - destination: 'https://dev-api.discalbot.com/:slug*' - } + destination: 'https://dev.discalbot.com/api/:slug*' + }, ] - } + }, + images: { + remotePatterns: [ + { + protocol: 'https', + hostname: "images.unsplash.com", + port: '', + search: '' + }, + ], + }, } diff --git a/pages/index.tsx b/pages/index.tsx index f3513ae..eb0bbe5 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -9,6 +9,8 @@ import { CommandLineIcon, MegaphoneIcon, } from "@heroicons/react/24/outline"; +import Image from "next/image"; +import calendarOverviewScreenshotImage from "../public/screenshots/calendar-overview.png" function Hero(): JSX.Element { function Heading(): JSX.Element { @@ -72,10 +74,13 @@ function Hero(): JSX.Element { function MainImage() { return
- Calendar with muffins and coffee cup
} @@ -107,9 +112,9 @@ function Example(): JSX.Element {

-
@@ -219,9 +224,9 @@ function CTA(): JSX.Element { function CTAImage(): JSX.Element { return
- App screenshot