Follow Cardano
FollowCardano
A centered title above a row of round icon links to Cardano's community channels: X, Reddit, the Cardano Forum, Facebook, Meetup, Telegram, Stack Exchange, and LinkedIn. The channel list is part of the component, so every page that shows it links to the same set.
The homepage and /newsletter show it through FollowCardanoSection, which adds the "Social" divider and the light gradient background.
When to use
- To point readers to the official community channels at the end of a page.
- For a single link to one channel, use a normal link or button instead.
Basic Usage
import FollowCardano from '@site/src/components/Layout/FollowCardano';
import { translate } from '@docusaurus/Translate';
<FollowCardano
title={translate({ id: 'myPage.follow.title', message: 'Get Involved' })}
headingLevel={2}
iconForegroundColor="#0136AE"
iconBackgroundColor="#ffffff"
/>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | - | Heading above the icons. |
iconForegroundColor | string | white in light mode, black in dark mode | Color of the icons. Any CSS color. |
iconBackgroundColor | string | - | Color of the round background behind each icon. Without it the circles are transparent. |
headingLevel | number | 1 | Heading level of the title, 1 to 6. The look stays the same. Pass 2 or a deeper level when the page already has a hero, so it keeps a single <h1>. |
className | string | - | Extra class on the outer element. |
Live Preview
Get Involved
Accessibility
- Every icon link has a translated
aria-labelsuch as "Cardano on X", because the icons have no visible text.