mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: popup
This commit is contained in:
1 parent
06de86c5a6
commit
4a79f98f3f
7 files changed
+136
-46
No files matched your search
@@ -16,10 +16,10 @@ import { useMemo } from 'react';
|
||||
|
||||
const allAvatars = await metadata
|
||||
.get('BlitzkitAllAvatarsEntity.blitzkit_all_avatars')
|
||||
.then(
|
||||
(entity) =>
|
||||
entity.get(BlitzkitAllAvatarsComponent, 'blitzkitAllAvatarsComponent')
|
||||
.avatars,
|
||||
.then((entity) =>
|
||||
entity
|
||||
.get(BlitzkitAllAvatarsComponent, 'blitzkitAllAvatarsComponent')
|
||||
.avatars.reverse(),
|
||||
);
|
||||
|
||||
export function Page({ localeData }: LocaleAcceptorProps) {
|
||||
@@ -71,7 +71,7 @@ function Content() {
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<PageWrapper color="gold">
|
||||
<PageWrapper color="amber">
|
||||
<Grid
|
||||
columns={{
|
||||
initial: 'repeat(auto-fill, minmax(6rem, 1fr))',
|
||||
@@ -83,7 +83,7 @@ function Content() {
|
||||
flexGrow="1"
|
||||
>
|
||||
{groups.map(([name, avatars]) => (
|
||||
<AvatarGroup key={name} name={name} avatars={avatars} />
|
||||
<AvatarGroup key={`${name}`} name={name} avatars={avatars} />
|
||||
))}
|
||||
</Grid>
|
||||
</PageWrapper>
|
||||
|
||||
Reference in new issue
Block a user