Skip to content

Commit 1a9916b

Browse files
committed
Revert "improvement(website): fill Search feature with file library graphic"
This reverts commit 7dfc1b9.
1 parent 7dfc1b9 commit 1a9916b

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

apps/sim/app/(landing)/search/components/search-preview/search-preview.tsx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import { cn } from '@sim/emcn'
44
import dynamic from 'next/dynamic'
5+
import { FilesMenuPreview } from '@/app/(landing)/components/navbar/components/nav-menu-chip/components/nav-menu-preview/components/files-menu-preview'
56
import { EdgeFade } from '@/app/(landing)/components/shared/edge-fade'
6-
import { FileLibraryGraphic } from '@/app/(landing)/files/components/feature-graphics/file-library-graphic'
77
import { useLazyMount } from '@/app/(landing)/hooks/use-lazy-mount'
88
import { SearchBackdrop } from '@/app/(landing)/search/components/search-backdrop/search-backdrop'
99

@@ -26,15 +26,7 @@ export function SearchPreview({ layout = 'menu', mode = 'chat' }: SearchPreviewP
2626
const menu = layout === 'menu'
2727

2828
if (layout === 'feature' && mode === 'files') {
29-
return (
30-
<div
31-
aria-hidden='true'
32-
inert
33-
className='absolute inset-x-6 top-6 bottom-6 mx-auto max-w-[360px]'
34-
>
35-
<FileLibraryGraphic />
36-
</div>
37-
)
29+
return <FilesMenuPreview layout='feature' />
3830
}
3931

4032
return (

0 commit comments

Comments
 (0)