Change website layout (#18)

* Add basic experiments page

* Isolate experiment components

* Fix grid on small screens

* Change nav bar

* Add padding to logo

* Fix linking

* Remove right margin on ExperimentCard flask

* Change favicon

* Use humanize in formatTimePast

* Add TODO
This commit is contained in:
arcticfly
2023-07-07 14:47:54 -07:00
committed by GitHub
parent 918f209227
commit db4476d1cb
25 changed files with 301 additions and 196 deletions

View File

@@ -1,12 +1,15 @@
import { Center } from "@chakra-ui/react";
import AppShell from "~/components/nav/AppShell";
import { type GetServerSideProps } from 'next';
// eslint-disable-next-line @typescript-eslint/require-await
export const getServerSideProps: GetServerSideProps = async (context) => {
return {
redirect: {
destination: '/experiments',
permanent: false,
},
}
}
export default function Home() {
return (
<AppShell>
<Center h="100%">
<div>Select an experiment from the sidebar to get started!</div>
</Center>
</AppShell>
);
return null;
}