Skip to content

Commit c6ff7d4

Browse files
committed
add a basic loading skeleton
1 parent a2a2a4f commit c6ff7d4

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

frontends/main/src/app-pages/UAILandingPage/UAILandingPage.tsx

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import {
1111
AccordionDetails,
1212
MenuItem,
1313
SelectField,
14+
Skeleton,
15+
Stack,
1416
} from "ol-components"
1517
import React, { useEffect, useRef } from "react"
1618
import Image from "next/image"
@@ -463,7 +465,21 @@ const HubspotForm: React.FC = () => {
463465
Placeholder
464466
</Button>
465467
</div>
466-
<div id="hubspotForm"></div>
468+
<div id="hubspotForm">
469+
<Stack direction={"column"} gap={2}>
470+
<Stack direction="row" gap={2}>
471+
<Skeleton variant="rectangular" height={32} width={200} />
472+
<Skeleton variant="rectangular" height={32} width={200} />
473+
</Stack>
474+
<Skeleton variant="rectangular" height={32} width={416} />
475+
<Skeleton variant="rectangular" height={32} width={416} />
476+
<Skeleton variant="rectangular" height={32} width={416} />
477+
<Skeleton variant="rectangular" height={32} width={416} />
478+
<Skeleton variant="rectangular" height={32} width={416} />
479+
<Skeleton variant="rectangular" height={32} width={416} />
480+
<Skeleton variant="rectangular" height={32} width={416} />
481+
</Stack>
482+
</div>
467483
</div>
468484
)
469485
}

0 commit comments

Comments
 (0)