Skip to content

Commit 8c1d7cc

Browse files
committed
feat(*): indicate Spin Hub links to an external site
Signed-off-by: Vaughn Dice <[email protected]>
1 parent 3a7c38e commit 8c1d7cc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

content/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ enable_shortcodes = true
66

77
### Start Building
88

9-
<p class="subtitle mb-5">The <a href="/hub">Spin Hub</a> is an open library of templates, plugins and resources to help you create powerful apps, fast.</p>
9+
<p class="subtitle mb-5">The <a href="https://spinframework.dev/hub" target="_blank">Spin Hub <img src="/static/image/arrowexternal.svg" alt="external link" class="external"/> </a> is an open library of templates, plugins and resources to help you create powerful apps, fast.</p>
1010

1111
{{suh_cards}}
1212
{{card_element "sample" "Next.js React App" "An app template for running Next.js as a Wasm app with Spin." "https://spinframework.dev/hub/preview/template_nextjs" "JS,Next,http" true }}

templates/content_navbar.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@
152152
<div class="overlay"></div>
153153

154154
{{!-- quicklinks can be added to the topbar here --}}
155-
<a class="navbar-item plausible-event-name=docs-nav-hub" href="/hub" title="Sample apps, plugins and templates in Spin Hub">
156-
Spin Hub
155+
<a class="navbar-item plausible-event-name=docs-nav-hub" href="https://spinframework.dev/hub" title="Sample apps, plugins and templates in Spin Hub" target="_blank">
156+
Spin Hub <img src="/static/image/arrowexternal.svg" alt="external link" class="external"/>
157157
</a>
158158

159159
{{#if (active_project request.spin-path-info "/cloud/" )}}

0 commit comments

Comments
 (0)