2024-10-24 17:32:46 -05:00
|
|
|
import { GalleryList, type Avatar } from '../../../components/Gallery/List';
|
|
|
|
|
import { GallerySearch } from '../../../components/Gallery/Search';
|
2024-10-24 18:21:37 -05:00
|
|
|
import { PageWrapper } from '../../../components/PageWrapper';
|
2024-10-24 17:32:46 -05:00
|
|
|
import { GalleryEphemeral } from '../../../stores/galleryEphemeral';
|
|
|
|
|
|
|
|
|
|
interface PageProps {
|
|
|
|
|
avatars: Avatar[];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function Page({ avatars }: PageProps) {
|
|
|
|
|
return (
|
2024-10-24 18:21:37 -05:00
|
|
|
<PageWrapper color="gold">
|
|
|
|
|
<GalleryEphemeral.Provider>
|
|
|
|
|
<GallerySearch />
|
|
|
|
|
<GalleryList avatars={avatars} />
|
|
|
|
|
</GalleryEphemeral.Provider>
|
|
|
|
|
</PageWrapper>
|
2024-10-24 17:32:46 -05:00
|
|
|
);
|
|
|
|
|
}
|