diff --git a/website/next.config.js b/website/next.config.js index 911de0c25c..ffb2762725 100644 --- a/website/next.config.js +++ b/website/next.config.js @@ -31,6 +31,25 @@ const nextConfig = { ignoreDuringBuilds: true, }, async redirects() { + if (process.env.BYE === "true") { + return [ + { + source: "/", + destination: "/bye", + permanent: false, + }, + { + source: "/chat", + destination: "/bye", + permanent: false, + }, + { + source: "/contributors", + destination: "https://ykilcher.com/oa-contributors", + permanent: false, + }, + ]; + } if (process.env.MAINTENANCE_MODE !== "true") { return []; } diff --git a/website/src/pages/bye.tsx b/website/src/pages/bye.tsx new file mode 100644 index 0000000000..58a495c4a9 --- /dev/null +++ b/website/src/pages/bye.tsx @@ -0,0 +1,55 @@ +import Image from "next/image"; +import { Container } from "src/components/Container"; +export { getStaticProps } from "src/lib/defaultServerSideProps"; + +const ByePage = () => { + return ( +
+ +
+
+ temp-image +
+
+
+

OpenAssistant has finished!

+

+ OpenAssistant collected data from over 13'000 humans and released it to the public. + Data, models, and code are publicly available. +

+

Links:

+ +

If you're looking to support other open-data projects, check out these:

+ +
+
+
+
+
+ ); +}; + +export default ByePage;