customGpts persist through localStorage

This commit is contained in:
Daniel Avila 2023-03-04 17:39:06 -05:00
parent 62bb6ea8f8
commit 9c3a78f96b
22 changed files with 405 additions and 220 deletions

View file

@ -12,11 +12,13 @@ const App = () => {
const { title } = useSelector((state) => state.convo);
useDocumentTitle(title);
// bg-color: #343541 instead of bg-gray-800
return (
<div className="flex h-screen">
<Nav />
<div className="flex h-full w-full flex-1 flex-col bg-gray-50 md:pl-[260px]">
<div className="transition-width relative flex h-full w-full flex-1 flex-col items-stretch overflow-hidden dark:bg-gray-800/90">
<div className="transition-width relative flex h-full w-full flex-1 flex-col items-stretch overflow-hidden bg-white dark:bg-gray-800/90">
<MobileNav />
{messages.length === 0 ? (
<Landing title={title} />