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

View File

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