diff --git a/docs/_includes/layouts/pages/element.11ty.ts b/docs/_includes/layouts/pages/element.11ty.ts index f39bb287f5..093f4760d7 100644 --- a/docs/_includes/layouts/pages/element.11ty.ts +++ b/docs/_includes/layouts/pages/element.11ty.ts @@ -897,16 +897,24 @@ export default class ElementsPage extends Renderer { async #renderPlaygrounds(ctx: Context, entries: FileEntry[]) { const common = await this.#renderPlaygroundsCommon(ctx, entries); - return entries.map(([filename, config]) => this.#renderPlayground( - filename, - config, - ctx, - common, - entries - .filter(([, config]) => config.inline === filename) - .map(([s]) => s) - - )); + const { tagName } = ctx; + const iconAlert = (tagName !== 'rh-icon') ? '' : html` +

Looking for the icons?

+

Head over to our Foundations: Iconography page to explore the full collection.

+
+ `; + return [ + iconAlert, + entries.map(([filename, config]) => this.#renderPlayground( + filename, + config, + ctx, + common, + entries + .filter(([, config]) => config.inline === filename) + .map(([s]) => s) + )), + ].join(''); }; #renderPlayground( diff --git a/elements/rh-icon/demo/sets.html b/elements/rh-icon/demo/sets.html deleted file mode 100644 index 15a991e0fb..0000000000 --- a/elements/rh-icon/demo/sets.html +++ /dev/null @@ -1,118 +0,0 @@ - - - -
- - - -