Disabled search for now

This commit is contained in:
DrMint 2022-05-27 16:22:05 +02:00
parent 622493a869
commit 2dee361f20
2 changed files with 6 additions and 6 deletions

View File

@ -496,12 +496,12 @@ export function AppLayout(props: Immutable<Props>): JSX.Element {
</div> </div>
</Popup> </Popup>
<Popup {/* <Popup
state={appLayout.searchPanelOpen} state={appLayout.searchPanelOpen}
setState={appLayout.setSearchPanelOpen} setState={appLayout.setSearchPanelOpen}
> >
<div className="grid place-items-center gap-2"> <div className="grid place-items-center gap-2">
{/* TODO: add to langui */} TODO: add to langui
<h2 className="text-2xl">{"Search"}</h2> <h2 className="text-2xl">{"Search"}</h2>
<TextInput <TextInput
className="mb-6 w-full" className="mb-6 w-full"
@ -510,7 +510,7 @@ export function AppLayout(props: Immutable<Props>): JSX.Element {
setState={setSearchQuery} setState={setSearchQuery}
/> />
</div> </div>
{/* TODO: add to langui */} TODO: add to langui
<div className="grid gap-4"> <div className="grid gap-4">
<p className="font-headers text-xl">In news:</p> <p className="font-headers text-xl">In news:</p>
<div <div
@ -529,7 +529,7 @@ export function AppLayout(props: Immutable<Props>): JSX.Element {
))} ))}
</div> </div>
</div> </div>
</Popup> </Popup> */}
</div> </div>
</div> </div>
); );

View File

@ -82,7 +82,7 @@ export function MainPanel(props: Immutable<Props>): JSX.Element {
/> />
</ToolTip> </ToolTip>
<ToolTip {/* <ToolTip
content={<h3 className="text-2xl">{langui.open_search}</h3>} content={<h3 className="text-2xl">{langui.open_search}</h3>}
placement="right" placement="right"
className="text-left" className="text-left"
@ -94,7 +94,7 @@ export function MainPanel(props: Immutable<Props>): JSX.Element {
}} }}
icon={Icon.Search} icon={Icon.Search}
/> />
</ToolTip> </ToolTip> */}
</div> </div>
</div> </div>
</div> </div>