Skip to content

Commit 1c0e8c5

Browse files
Register the Elastic Stack logo as a hub product icon (#3875)
* Register the Elastic Stack logo as a hub product icon Reuse logo_elastic_stack.svg for the elastic-stack hero and link-card key so stack hub pages do not fall back to a letter chip. Co-authored-by: Cursor <cursoragent@cursor.com> * Declare the products hub prefix as a navigation phantom Isolated docs-content builds reject pages under prefixes that assembler navigation does not claim. A real toc entry would fail assembler until the hub pages exist on docs-content main. Co-authored-by: Cursor <cursoragent@cursor.com> * Revert "Declare the products hub prefix as a navigation phantom" This reverts commit 97de7e9. * Format the elastic-stack icon entry for curb. --------- Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 81b5091 commit 1c0e8c5

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

docs/syntax/hero.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The `:title:` option doubles as the page title, so a hub page needs no body H1.
2424
|---|---|---|
2525
| `:title:` | string | **Required.** Renders as the page `<h1>` next to the icon. Also used as the document title. |
2626
| `:description:` | inline markdown | One-line summary below the title. Supports bold, italics, and links. |
27-
| `: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. |
27+
| `: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. |
2828
| `:primary-action:` | markdown link | First action. Format: `[Label](/url)` or `[Label](#anchor)`. |
2929
| `:secondary-action:` | markdown link | Second action. |
3030
| `:tertiary-action:` | markdown link | Third action. |

docs/syntax/link-card.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ sub-list, so every group of links reads the same way wherever it appears.
4141
4242
`variant: es`, `obs`, or `sec` adds a left border in the matching solution colour. Use it for solution cards.
4343

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

4646
## Inside `{explore}`
4747

src/Elastic.Markdown/Myst/Directives/Hub/ProductIcons.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ public static class ProductIcons
5858
<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"/>
5959
</g>
6060
</svg>
61+
""",
62+
["elastic-stack"] =
63+
"""
64+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" aria-hidden="true">
65+
<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"/>
66+
<path fill="#00BFB3" d="M0 20.148h32v-8.296H0v8.296Z"/>
67+
<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"/>
68+
</svg>
6169
"""
6270
}.ToFrozenDictionary(StringComparer.OrdinalIgnoreCase);
6371

0 commit comments

Comments
 (0)