Page Embed

Embed portal into your website or documentation

The embed page enables you to integrate a portal seamlessly into your website or documentation. You can maintain your existing website header and footer, ensuring a consistent user experience across your site.

Demo

Experience a demo of the page embed on CodePen.

Configuration

To customize the appearance of your embedded portal, go to Workspace > Settings > Page.

The page embed settings allow you to tailor the look and feel of the page to match your brand or audience. From the right-hand sidebar, you are able to change the title and subtitle, color scheme, locale and more.

Alternatively you can use the advanced options below to specify the configuration via code.

Installation

To embed the portal in your website:

1

Click the install button

Click the Install button at the bottom of the configuration sidebar.

2

Copy the install code

Follow the instructions in the install panel. Copy the relevant code snippets and paste them into your website or app.

Advanced options

Overwriting the UI settings

You can overwrite the configured styles and settings of the page by adding custom properties to the embed code. This allows for customizing the styling when embedding the page in different locations.

The properties are specified as attributes within the <released-page> custom HTML element.

Page properties

Property
Description

channel-id

The ID of the release notes channel.

module

Determines with modules to show on the page. Can be changelog , roadmap or all. Defaults to all.

header

Can be true or false. If false, the header with the title and description is hidden. This options allows you use an existing header or create a completely custom header.

cover-images

Determines whether the cover image will be shown. Can be true or false.

title

The title of the widget.

sub-title

The subtitle of the widget.

color-scheme

The color scheme to use for the widget. Can be system, dark, or light. See Configuring Dark Mode for more details.

color-primary

The primary UI color. Can be hex, hsl, rgb, or css color name.

top-offset

Expects a number (eg. 100) or false as values. A value of 100 will create an offset of 100 pixels from the top for sticky titles. A value of false will disable sticky titles.

Notification badge

To notify users about the availability of a new post, you can enhance the user experience by incorporating a notification badge on the link or button leading to the announcement page. This badge functions similarly to the notification badge found in the widget.

The notification badge let's users know when a new update is available.

Installing the badge

Follow the Installation instructions and copy the code for the badge.

It's best to place the <release-badge> element inside the <a> tag when adding the badge to a link.

<a href="/changelog" class="nav-link">What's New? <released-badge channel-id="CHANNEL_ID"></released-badge></a>

Adjusting the position of the badge

You can adjust the position of the badge by styling it with CSS. We recommend two options:

  • Use the margin property to adjust the position

  • Use the transform property to adjust the position

<style>
released-badge {
  margin-top: -8px;
  margin-right: -8px; // example with margins
  transform: translate(50%, -50%); // example of transform
}
</style>

Experiment with badge positioning on CodePen.

Last updated

Was this helpful?