patch name

This commit is contained in:
timothycarambat 2024-06-07 12:20:55 -07:00
parent fad1129b33
commit eb583c2cb7
18 changed files with 6 additions and 8 deletions

View File

@ -29,7 +29,7 @@ export default function NewFolderModal({ closeModal, files, setFiles }) {
}; };
return ( return (
<div className="relative w-full max-w-2xl max-h-full"> <div className="relative w-full max-w-xl max-h-full">
<div className="relative bg-main-gradient rounded-lg shadow"> <div className="relative bg-main-gradient rounded-lg shadow">
<div className="flex items-start justify-between p-4 border-b rounded-t border-gray-500/50"> <div className="flex items-start justify-between p-4 border-b rounded-t border-gray-500/50">
<h3 className="text-xl font-semibold text-white"> <h3 className="text-xl font-semibold text-white">

View File

@ -8,7 +8,7 @@ import useUser from "../../../hooks/useUser";
import DocumentSettings from "./Documents"; import DocumentSettings from "./Documents";
import DataConnectors from "./DataConnectors"; import DataConnectors from "./DataConnectors";
const noop = () => {}; const noop = () => { };
const ManageWorkspace = ({ hideModal = noop, providedSlug = null }) => { const ManageWorkspace = ({ hideModal = noop, providedSlug = null }) => {
const { slug } = useParams(); const { slug } = useParams();
const { user } = useUser(); const { user } = useUser();
@ -105,8 +105,7 @@ const ModalTabSwitcher = ({ selectedTab, setSelectedTab }) => {
<div className="gap-x-2 flex justify-center -mt-[68px] mb-10 bg-sidebar-button p-1 rounded-xl shadow border-2 border-slate-300/10 w-fit"> <div className="gap-x-2 flex justify-center -mt-[68px] mb-10 bg-sidebar-button p-1 rounded-xl shadow border-2 border-slate-300/10 w-fit">
<button <button
onClick={() => setSelectedTab("documents")} onClick={() => setSelectedTab("documents")}
className={`px-4 py-2 rounded-[8px] font-semibold text-white hover:bg-switch-selected hover:bg-opacity-60 ${ className={`px-4 py-2 rounded-[8px] font-semibold text-white hover:bg-switch-selected hover:bg-opacity-60 ${selectedTab === "documents"
selectedTab === "documents"
? "bg-switch-selected shadow-md font-bold" ? "bg-switch-selected shadow-md font-bold"
: "bg-sidebar-button text-white/20 font-medium hover:text-white" : "bg-sidebar-button text-white/20 font-medium hover:text-white"
}`} }`}
@ -115,8 +114,7 @@ const ModalTabSwitcher = ({ selectedTab, setSelectedTab }) => {
</button> </button>
<button <button
onClick={() => setSelectedTab("dataConnectors")} onClick={() => setSelectedTab("dataConnectors")}
className={`px-4 py-2 rounded-[8px] font-semibold text-white hover:bg-switch-selected hover:bg-opacity-60 ${ className={`px-4 py-2 rounded-[8px] font-semibold text-white hover:bg-switch-selected hover:bg-opacity-60 ${selectedTab === "dataConnectors"
selectedTab === "dataConnectors"
? "bg-switch-selected shadow-md font-bold" ? "bg-switch-selected shadow-md font-bold"
: "bg-sidebar-button text-white/20 font-medium hover:text-white" : "bg-sidebar-button text-white/20 font-medium hover:text-white"
}`} }`}