simplifies the APIKeyModal communication and state management, adds

conversation components
This commit is contained in:
ajaythapliyal
2023-02-18 16:52:14 +05:30
parent 5341d03749
commit 10ac36ee7b
8 changed files with 88 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ export default function Navigation({
isApiKeySet ? 'INACTIVE' : 'ACTIVE',
);
const openNav = (
<div className="fixed h-full w-72 flex-col border-r-2 border-gray-100 bg-gray-50 transition-all md:visible md:flex lg:w-96">
<div className="fixed z-10 h-full w-72 flex-col border-r-2 border-gray-100 bg-gray-50 transition-all md:visible md:flex lg:w-96">
<div className={'h-16 w-full border-b-2 border-gray-100'}>
<button
className="float-right mr-5 mt-5 h-5 w-5"
@@ -76,7 +76,7 @@ export default function Navigation({
const closedNav = (
<>
<div className="fixed hidden h-full w-16 flex-col border-r-2 border-gray-100 bg-gray-50 transition-all md:flex">
<div className="fixed z-10 hidden h-full w-16 flex-col border-r-2 border-gray-100 bg-gray-50 transition-all md:flex">
<div className={'h-16 w-16 border-b-2 border-gray-100'}>
<button
className="float-right mr-5 mt-5 h-5 w-5"