-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27932 from rushatgabhane/rush-help-dot
[HelpDot] Show platforms and hubs
- Loading branch information
Showing
22 changed files
with
591 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<li> | ||
<a href="/articles/{{ include.hub }}/{{ include.href }}" class="link"> | ||
<a href="/articles/{{ include.platform }}/{{ include.hub }}/{{ include.href }}" class="link"> | ||
{{ include.title }} | ||
</a> | ||
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% assign platform = site.data.routes.platforms | where: "href", include.href | first %} | ||
|
||
<a class="card" href="/{{ platform.href }}/hubs"> | ||
<div class="row"> | ||
<div class="left-icon"> | ||
<img class="icon" src="{{ platform.image }}" alt="{{ platform.href }}"/> | ||
</div> | ||
<div class="body"> | ||
<h3 class="title with-margin">{{ platform.title }}</h3> | ||
<p class="description with-min-height">{{ platform.description }}</p> | ||
</div> | ||
</div> | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{% assign selectedPlatform = page.url | remove: "/hubs/" | remove: "/" | remove: ".html" %} | ||
{% assign platform = site.data.routes.platforms | where: "href", selectedPlatform | first %} | ||
<div class="homepage"> | ||
<h1 class="title">{{ platform.hub-title }}</h1> | ||
|
||
<p>{{ site.data.routes.home.description }}</p> | ||
|
||
<div class="cards-group"> | ||
{% for hub in platform.hubs %} | ||
{% include hub-card.html hub=hub platform=selectedPlatform %} | ||
{% endfor %} | ||
</div> | ||
|
||
<div class="cards-group"> | ||
<!-- Concierge button anchored globally (rendered on narrow screens) --> | ||
{% include floating-concierge-button.html id="floating-concierge-button-global" %} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.