-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(guidelines): drop design guidelines content and replace it with …
…a simpler page
- Loading branch information
1 parent
90eb01e
commit c747184
Showing
5 changed files
with
38 additions
and
59 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: guidelines | ||
title: Orange Design System for web | ||
description: 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! | ||
aliases: "/guidelines/" | ||
--- | ||
|
||
<div style="background-color: var(--bs-gray-300); height: 200px" class="p-4"> | ||
<div class="container"> | ||
<h2 class="h1">Other platforms in the Orange Design System</h2> | ||
</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
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,58 +1,19 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
{{ partial "header" . }} | ||
</head> | ||
<body> | ||
{{ partial "analytics-body" . }} | ||
{{ partial "skippy" . }} | ||
|
||
{{ partial "docs-navbar" . }} | ||
{{ partial "guidelines-subnav" . }} | ||
|
||
<div class="container-xxl bd-layout"> | ||
<aside class="bd-sidebar"> | ||
{{ partial "guidelines-sidebar" . }} | ||
</aside> | ||
|
||
<main class="bd-main bd-guidelines order-1 {{ if eq .Title "Typography" }}bd-typography{{ else if eq .Title "Alerts" }}bd-alerts{{ end }}"> | ||
<div class="bd-intro pt-md-5 pt-lg-4 ps-lg-4"> | ||
<h1 class="bd-title" id="content">{{ .Title | markdownify }}</h1> | ||
{{ define "main" }} | ||
<!-- Boosted mod no Header tag here to avoid duplicate banner landmark accessibility error --> | ||
<main class="bd-content order-1 py-5" id="content"> | ||
<div class="container pt-md-1 pb-md-4"> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<h1 class="bd-title mt-0">{{ .Title | markdownify }}</h1> | ||
<p class="bd-lead">{{ .Page.Params.Description | markdownify }}</p> | ||
{{ partial "ads" . }} | ||
</div> | ||
|
||
{{ if (eq .Page.Params.toc true) }} | ||
<div class="bd-toc mt-4 mb-5 my-md-0 py-md-4 ps-xl-3 mb-lg-5"> | ||
<strong class="d-block h6 my-2 pb-2 border-bottom border-light border-1">On this page</strong> | ||
{{ .TableOfContents }} | ||
<div class="d-flex flex-column flex-sm-row"> | ||
<a href="{{ .Site.Params.ods.web }}" class="btn btn-lg btn-primary">Visit system.design.orange.com</a> | ||
</div> | ||
{{ end }} | ||
|
||
<div class="bd-content ps-lg-4 mb-3"> | ||
{{ if .Page.Params.sections }} | ||
<div class="row g-3"> | ||
{{ range .Page.Params.sections }} | ||
<div class="col-md-6"> | ||
<a class="d-block text-decoration-none" href="../{{ urlize .title }}/"> | ||
<strong class="d-block h5 mb-0">{{ .title }}</strong> | ||
<span class="text-secondary">{{ .description }}</span> | ||
</a> | ||
</div> | ||
{{ end }} | ||
</div> | ||
{{ end }} | ||
|
||
{{ .Content }} | ||
</div> | ||
</main> | ||
</div> | ||
</div> | ||
|
||
{{ partial "footer" . }} | ||
{{ partial "scripts" . }} | ||
|
||
{{ range .Page.Params.extra_js -}} | ||
<script{{ with .async }} async{{ end }} src="{{ .src }}"></script> | ||
{{- end -}} | ||
</body> | ||
</html> | ||
</main> | ||
<div class="container-fluid p-0"> | ||
{{ .Content }} | ||
</div> | ||
{{ end }} |
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