Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/syntax/hero.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The `:title:` option doubles as the page title, so a hub page needs no body H1.
|---|---|---|
| `:title:` | string | **Required.** Renders as the page `<h1>` next to the icon. Also used as the document title. |
| `:description:` | inline markdown | One-line summary below the title. Supports bold, italics, and links. |
| `:icon:` | string | Product key. Resolves to an inline SVG. Known keys: `elasticsearch`, `kibana`, `observability`, `security`. An unknown key falls back to a single-letter chip. |
| `:icon:` | string | Product key. Resolves to an inline SVG. Known keys: `elasticsearch`, `kibana`, `logstash`, `observability`, `security`, `elastic-stack`. An unknown key falls back to a single-letter chip. |
| `:primary-action:` | markdown link | First action. Format: `[Label](/url)` or `[Label](#anchor)`. |
| `:secondary-action:` | markdown link | Second action. |
| `:tertiary-action:` | markdown link | Third action. |
Expand Down
2 changes: 1 addition & 1 deletion docs/syntax/link-card.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ sub-list, so every group of links reads the same way wherever it appears.

`variant: es`, `obs`, or `sec` adds a left border in the matching solution colour. Use it for solution cards.

`icon` takes the same product keys as [`{hero}`](hero.md): `elasticsearch`, `kibana`, `observability`, `security`.
`icon` takes the same product keys as [`{hero}`](hero.md): `elasticsearch`, `kibana`, `logstash`, `observability`, `security`, `elastic-stack`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ah, I missed this. Thank you!


## Inside `{explore}`

Expand Down
7 changes: 7 additions & 0 deletions src/Elastic.Markdown/Myst/Directives/Hub/ProductIcons.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ public static class ProductIcons
<path fill="rgba(255,255,255,0.85)" d="M0,20 L0,20 C0,26.627 5.373,32 12,32 L13,32 L13,20 L0,20 Z"/>
</g>
</svg>
""",
["elastic-stack"] = """
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" aria-hidden="true">
<path fill="#F04E98" d="M0 2.37A2.37 2.37 0 0 1 2.37 0h27.26A2.37 2.37 0 0 1 32 2.37v6.52H0V2.37Z"/>
<path fill="#00BFB3" d="M0 20.148h32v-8.296H0v8.296Z"/>
<path fill="#07C" d="M0 23.111h32v6.519A2.37 2.37 0 0 1 29.63 32H2.37A2.37 2.37 0 0 1 0 29.63v-6.52Z"/>
</svg>
"""
}.ToFrozenDictionary(StringComparer.OrdinalIgnoreCase);

Expand Down
Loading