import { Flex, Heading, Text } from "@aws-amplify/ui-react"; import Link from "next/link"; import { MetaLayout } from "../components/MetaLayout"; import { MetaInfo } from "../types/models"; export default function Custom404() { // 404 page meta data const metaInfo: MetaInfo = { title: "Not Found - Learn Amplify", description: "We could not find what you were looking for on Learn Amplify", }; return ( Page Not Found The link you clicked may be broken or the page may have been removed Go to the{" "} homepage ); }