Skip to content

Commit

Permalink
docs: use oran.ge links when they exist (#2488)
Browse files Browse the repository at this point in the history
  • Loading branch information
louismaximepiton authored Feb 22, 2024
1 parent 6a709e6 commit cce0830
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ _Note: Please transform `- [ ]` into `- (NA)` in the description when things are

#### Design

- [ ] My change respects the design guidelines defined in [Orange Design System](https://system.design.orange.com/0c1af118d/p/8118d1-web)
- [ ] My change respects the design guidelines defined in [Orange Design System](https://oran.ge/dsweb)
- [ ] My change is compatible with a responsive display

#### Development
Expand Down
2 changes: 1 addition & 1 deletion hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ params:
icons: "https://oran.ge/icons"
bootstrap: "https://getbootstrap.com"
ods:
web: "https://system.design.orange.com/0c1af118d/n/76065f"
web: "https://oran.ge/dsweb"

download:
source: "https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/archive/v5.3.2.zip"
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/5.3/guidelines/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ aliases:
<div class="card border-1 mb-2 mb-md-3 mb-lg-0">
<img class="card-img-top" src="/docs/{{ $.Site.Params.docs_version }}/{{.image}}" alt="">
<div class="card-body ps-2 pt-2">
<a href="{{.link}}" class="stretched-link text-decoration-none h4" aria-label="{{.description}}" title="{{.description}}">{{.name}}</a>
<a href="{{.link}}" class="stretched-link text-decoration-none h4" aria-label="{{.description}}" title="{{.description}}" target="_blank" rel="noopener">{{.name}}</a>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions site/data/design-guidelines.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
- name: "Android"
description: "Design system for Android"
link: "https://system.design.orange.com/0c1af118d/n/40c8b1"
link: "https://oran.ge/dsandroid"
image: "assets/img/platforms/android.png"

- name: "iOS"
description: "Design system for iOS"
link: "https://system.design.orange.com/0c1af118d/n/24511f"
link: "https://oran.ge/dsios"
image: "assets/img/platforms/iOS.png"

- name: "Extended Reality"
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h1 class="display-1">{{ .Title | markdownify }}</h1>
</div>
{{ else if eq .Title "Orange Design System for web" }}
<div class="d-flex flex-column flex-sm-row">
<a href="{{ .Site.Params.ods.web }}" class="btn btn-primary" aria-label="Design system for web" title="Design system for web">Visit system.design.orange.com</a>
<a href="{{ .Site.Params.ods.web }}" class="btn btn-primary" aria-label="Design system for web" title="Design system for web" target="_blank" rel="noopener">Visit system.design.orange.com</a>
</div>
{{ end }}
</div>
Expand Down
2 changes: 1 addition & 1 deletion site/layouts/partials/home/orange-design-system.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h2 class="mb-3 fw-semibold lh-sm">Orange Design System for web</h2>
Streamline your workflow and improve experience consistency with this cross-platform, scalable and inspiring design system. Designers, developers, marketers and partners, start your digital creations from the ready-to-use resources here!
</p>
<p class="d-flex align-items-start flex-column lead fw-normal mb-0">
<a href="https://system.design.orange.com/0c1af118d/n/76065f" class="icon-link icon-link-hover fw-semibold" target="_blank" rel="noopener">
<a href="{{ .Site.Params.ods.web }}" class="icon-link icon-link-hover fw-semibold" target="_blank" rel="noopener">
Visit system.design.orange.com
<svg class="bi"><use xlink:href="#arrow-right"></use></svg>
</a>
Expand Down

0 comments on commit cce0830

Please sign in to comment.