mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +02:00
feat: larger gallery skeletons
This commit is contained in:
1 parent
ff48cdc44e
commit
6ca3ce731b
4 files changed
+4
-3
No files matched your search
@@ -15,7 +15,7 @@ export interface Avatar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const DEFAULT_LOADED = 42;
|
const DEFAULT_LOADED = 42;
|
||||||
const PREVIEW_COUNT = 14;
|
const PREVIEW_COUNT = 28;
|
||||||
|
|
||||||
export function GalleryList({ avatars }: GalleryListProps) {
|
export function GalleryList({ avatars }: GalleryListProps) {
|
||||||
const search = GalleryEphemeral.use((state) => state.search);
|
const search = GalleryEphemeral.use((state) => state.search);
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ export function PageWrapper({
|
|||||||
gap="4"
|
gap="4"
|
||||||
p={padding}
|
p={padding}
|
||||||
width="100%"
|
width="100%"
|
||||||
|
maxWidth={noMaxWidth ? undefined : '50rem'}
|
||||||
style={{
|
style={{
|
||||||
margin: 'auto',
|
margin: 'auto',
|
||||||
boxSizing: 'border-box',
|
boxSizing: 'border-box',
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ export function CalloutsSection() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Flex direction="column" align="center" gap="2" mb="4">
|
<Flex direction="column" align="center" gap="2" mb="4">
|
||||||
<AesonPlug />
|
{promoteAeson && <AesonPlug />}
|
||||||
|
|
||||||
{tank.deprecated && (
|
{tank.deprecated && (
|
||||||
<Callout.Root color="red">
|
<Callout.Root color="red">
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ interface PageProps {
|
|||||||
|
|
||||||
export function Page({ avatars, lastUpdated }: PageProps) {
|
export function Page({ avatars, lastUpdated }: PageProps) {
|
||||||
return (
|
return (
|
||||||
<PageWrapper color="gold">
|
<PageWrapper maxWidth="80rem" color="gold">
|
||||||
<Flex justify="center">
|
<Flex justify="center">
|
||||||
<Callout.Root size="1">
|
<Callout.Root size="1">
|
||||||
<Callout.Icon>
|
<Callout.Icon>
|
||||||
|
|||||||
Reference in new issue
Block a user