Skip to content

Commit

Permalink
docs(icons): fix Solaris icons URL and add it to the header and footer (
Browse files Browse the repository at this point in the history
#2396)

Co-authored-by: Julien Déramond <[email protected]>
  • Loading branch information
louismaximepiton and julien-deramond authored Dec 8, 2023
1 parent e9cf41f commit 637705f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ params:
repo: "https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap"
twitter: "getbootstrap"
blog: "https://blog.getbootstrap.com/"
icons: "https://system.design.orange.com/0c1af118d/p/65c68d-solaris-icon-library"
icons: "https://oran.ge/icons"
bootstrap: "https://getbootstrap.com"
ods:
web: "https://system.design.orange.com/0c1af118d/n/76065f"
Expand Down
3 changes: 3 additions & 0 deletions site/layouts/partials/docs-navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
<li class="nav-item">
<a class="nav-link{{ if eq .Page.Title "Orange Design System for web" }} active" aria-current="page{{ end }}" href="/docs/{{ .Site.Params.docs_version }}/guidelines/" onclick="dataLayer.push({'event': 'clic', 'site_name':'accessibility-boosted', 'phase':'prod', 'track_category':'navbar', 'track_name':'guidelines'});">Design guidelines</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ .Site.Params.icons }}" target="_blank" rel="noopener" onclick="dataLayer.push({'event': 'clic', 'site_name':'accessibility-boosted', 'phase':'prod', 'track_category':'navbar', 'track_name':'icons'});">Solaris icons</a>
</li>
</ul>
</div>
<div id="bd-navbar2" class="navbar-collapse collapse bd-navbar border-0">
Expand Down
3 changes: 2 additions & 1 deletion site/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ <h3 class="accordion-header footer-heading" id="headingLinks">
<li><a class="nav-link{{ if (and (eq .Page.Layout "docs") (ne $category_slug "getting-started")) }} active" aria-current="true{{ end }}" href="/docs/{{ .Site.Params.docs_version }}/" aria-describedby="headingLinks">Docs</a></li>
<li><a class="nav-link{{ if eq .Page.Title "Examples" }} active" aria-current="page{{ end }}" href="/docs/{{ .Site.Params.docs_version }}/examples/" aria-describedby="headingLinks">Examples</a></li>
<li><a class="nav-link{{ if eq .Page.Title "Orange Design System for web" }} active" aria-current="page{{ end }}" href="/docs/{{ .Site.Params.docs_version }}/guidelines/" aria-describedby="headingLinks">Design guidelines</a></li>
<!-- Boosted mod: removed .Site.Params.icons|themes|blog|swag -->
<li><a class="nav-link" href="{{ .Site.Params.icons }}" aria-describedby="headingLinks" target="_blank" rel="noopener">Solaris icons</a></li>
<!-- Boosted mod: removed .Site.Params.themes|.blog|.swag -->
</ul>
</div>
</div>
Expand Down

0 comments on commit 637705f

Please sign in to comment.