Skip to content

Add hosted content disclaimer component#15467

Merged
i-hardy merged 4 commits intomainfrom
ih/hosted-disclaimer
Mar 5, 2026
Merged

Add hosted content disclaimer component#15467
i-hardy merged 4 commits intomainfrom
ih/hosted-disclaimer

Conversation

@i-hardy
Copy link
Copy Markdown
Contributor

@i-hardy i-hardy commented Mar 3, 2026

What does this change?

This adds a HostedContentDisclaimer component, containing the disclaimer text regarding hosted content that needs to be displayed on these pages.

Why?

This is part of the ongoing hosted content migration work, and replaces the 'about' dropdown on existing hosted content pages. The UX of the existing component is considered less than ideal and this conveys the same required information in a more straightforward way.

Screenshots

The new component is the lower section, with article paragraph for context
Screenshot 2026-03-03 at 14 28 05


@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 3, 2026

Hello 👋! When you're ready to run Chromatic, please apply the run_chromatic label to this PR.

You will need to reapply the label each time you want to run Chromatic.

Click here to see the Chromatic project.

@cemms1 cemms1 requested a review from a team March 3, 2026 15:14
@cemms1 cemms1 added feature Departmental tracking: work on a new feature Commercial 💰 labels Mar 3, 2026

const textStyles = css`
${textSans12};
color: ${sourcePalette.neutral[46]};
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might want to add a palette colour for this in paletteDeclarations to allow for dark mode support when we get to it. Not a blocker for this PR though

@i-hardy i-hardy added the run_chromatic Runs chromatic when label is applied label Mar 3, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Mar 3, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 3, 2026

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 3, 2026

@i-hardy i-hardy added the run_chromatic Runs chromatic when label is applied label Mar 5, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Mar 5, 2026
@i-hardy i-hardy merged commit 8ea2760 into main Mar 5, 2026
31 checks passed
@i-hardy i-hardy deleted the ih/hosted-disclaimer branch March 5, 2026 15:15
@gu-prout
Copy link
Copy Markdown

gu-prout Bot commented Mar 5, 2026

Seen on PROD (merged by @i-hardy 8 minutes and 35 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Commercial 💰 feature Departmental tracking: work on a new feature Seen-on-PROD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants