From 1f621d361a6b1c7cca9f3927c8d196fed138a29c Mon Sep 17 00:00:00 2001 From: Yannic Kilcher Date: Sat, 25 Nov 2023 13:59:28 +0100 Subject: [PATCH] added bye page --- website/next.config.js | 19 ++++++++++++++ website/src/pages/bye.tsx | 55 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 website/src/pages/bye.tsx 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;