Skip to content

Commit 5953d24

Browse files
committed
add footnotes to the footer of overview
1 parent f8cbdf3 commit 5953d24

3 files changed

Lines changed: 27 additions & 3 deletions

File tree

Loading

packages/react/src/recipes/Flexsuite/Overview/FlexSuiteAIOverview.tsx

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import {
2828
Tiles,
2929
Image,
3030
useTheme,
31+
Footnotes,
3132
} from '../../..'
3233
import {RedlineBackground} from '../../../component-helpers'
3334
import placeholderBg from '../../../fixtures/images/dither-bg-landscape-purple.png'
@@ -502,9 +503,11 @@ export function FlexSuiteAIOverviewTemplate({content}: FlexSuiteAIOverviewTempla
502503
<Box paddingBlockEnd={64}>
503504
<FAQGroup variant="gridline" defaultSelectedIndex={1}>
504505
<FAQGroup.Heading>
505-
{content.faq.headingLine1}
506-
<br />
507-
{content.faq.headingLine2}
506+
<Box paddingInlineStart="spacious">
507+
{content.faq.headingLine1}
508+
<br />
509+
{content.faq.headingLine2}
510+
</Box>
508511
</FAQGroup.Heading>
509512
{content.faq.groups.map(group => (
510513
<FAQ key={group.heading} variant="gridline">
@@ -523,6 +526,27 @@ export function FlexSuiteAIOverviewTemplate({content}: FlexSuiteAIOverviewTempla
523526
))}
524527
</FAQGroup>
525528
</Box>
529+
<footer>
530+
<Section as="div" paddingBlockStart="none" paddingBlockEnd="none">
531+
<Grid>
532+
<Grid.Column>
533+
<Box paddingInlineStart={32}>
534+
<Footnotes>
535+
<Footnotes.Item id="economic-impact" href="#economic-impact-ref">
536+
Code review will incur Actions usage.{' '}
537+
</Footnotes.Item>
538+
<Footnotes.Item id="third-party" href="#third-party-ref">
539+
Response times may vary during periods of high usage. Requests may be subject to rate limiting.
540+
</Footnotes.Item>
541+
<Footnotes.Item id="ai" href="#ai-ref">
542+
Flex allotments will vary over time.
543+
</Footnotes.Item>
544+
</Footnotes>
545+
</Box>
546+
</Grid.Column>
547+
</Grid>
548+
</Section>
549+
</footer>
526550

527551
<RedlineBackground style={{height: 600, display: 'flex', flexDirection: 'column', gap: 'var(--base-size-32)'}}>
528552
<RedlineBackground
Loading

0 commit comments

Comments
 (0)