Skip to content

Commit

Permalink
added bye page
Browse files Browse the repository at this point in the history
  • Loading branch information
yk committed Nov 25, 2023
1 parent de1f5c3 commit 1f621d3
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 0 deletions.
19 changes: 19 additions & 0 deletions website/next.config.js
Expand Up @@ -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 [];
}
Expand Down
55 changes: 55 additions & 0 deletions 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 (
<div>
<Container className="">
<div className="grid gap-16 items-center py-20 md:py-40 lg:grid-cols-2">
<div className="m-auto order-2 lg:order-1">
<Image src="/images/logos/logo.png" width={450} height={450} alt="temp-image" />
</div>
<div className="space-y-8 order-1 lg:order-2">
<div>
<h1 className="text-4xl mb-6">OpenAssistant has finished!</h1>
<p className="text-2xl">
OpenAssistant collected data from over 13'000 humans and released it to the public.
Data, models, and code are publicly available.
</p>
<h2 className="text-2xl font-bold mt-4 mb-2">Links:</h2>
<ul className="text-2xl list-none text-blue-500">
<li>
<a href="/contributors">List of contributors</a>
</li>
<li>
<a href="https://ykilcher.com/oa-paper">Paper</a>
</li>
<li>
<a href="https://github.com/LAION-AI/Open-Assistant">GitHub</a>
</li>
<li>
<a href="https://huggingface.co/OpenAssistant">HuggingFace org</a>
</li>
<li>
<a href="https://youtu.be/gqtmUHhaplo">Yannic's conclusion video</a>
</li>
</ul>
<p className="text-2xl mt-4 mb-2">If you're looking to support other open-data projects, check out these:</p>
<ul className="text-2xl list-none text-blue-500">
<li>
<a href="https://chat.lmsys.org/">LMSYS Chatbot Arena</a>
</li>
<li>
<a href="https://laion.ai/blog/open-empathic/">Open Empathic</a>
</li>
</ul>
</div>
</div>
</div>
</Container>
</div>
);
};

export default ByePage;

0 comments on commit 1f621d3

Please sign in to comment.