From b9b061b4eff18d20f98e44ca100b5ad995cdedda Mon Sep 17 00:00:00 2001 From: bpurkaystha <99665800+bpurkaystha@users.noreply.github.com> Date: Sat, 26 Feb 2022 05:32:06 +0700 Subject: [PATCH 1/2] Breadcrumbs on the tutorial and use-case pages (#1092) --- _includes/tutorial-content.html | 2 +- _layouts/recipe.html | 11 ++++++++++- _layouts/tutorial.html | 10 ++++++++++ assets/sass/main.scss | 20 ++++++++++++++++++++ 4 files changed, 41 insertions(+), 2 deletions(-) diff --git a/_includes/tutorial-content.html b/_includes/tutorial-content.html index 180505ed92..a7a47acb66 100644 --- a/_includes/tutorial-content.html +++ b/_includes/tutorial-content.html @@ -118,7 +118,7 @@

{% endif %} {% endfor %} - + diff --git a/_layouts/recipe.html b/_layouts/recipe.html index bc8c6d9e44..f4be76443e 100644 --- a/_layouts/recipe.html +++ b/_layouts/recipe.html @@ -31,10 +31,12 @@ {% include nav.html %} -
+ {% if page.community_contribution %} Community contribution ✨ {% endif %} @@ -122,6 +124,13 @@
Video walkthrough
{% include contribute-tutorial-lang.html %} {% else %} {% include tutorial-content.html %} +
+ +
{% endif %} {% endif %}
diff --git a/_layouts/tutorial.html b/_layouts/tutorial.html index 67efb88753..9a4747ad04 100644 --- a/_layouts/tutorial.html +++ b/_layouts/tutorial.html @@ -35,6 +35,9 @@
+ {% if page.community_contribution %} Community contribution ✨ {% endif %} @@ -260,6 +263,13 @@
Video walkthrough
{% include contribute-tutorial-lang.html %} {% else %} {% include tutorial-content.html %} +
+ +
{% endif %} {% endif %}
diff --git a/assets/sass/main.scss b/assets/sass/main.scss index e69f27eb21..f666aab9e9 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -404,6 +404,26 @@ a { } } +.breadcrumb { + a { + color: $color_white !important; + } + li { + margin-left: 0; + } +} + +.section { + .container { + .breadcrumb { + a { + color: $color_black !important; + font-weight: 900; + } + } + } +} + .secondary-card-row, .third-card-row, .fourth-card-row, From f2064859245e398f01c9fc0a56f1f9f9a75a846a Mon Sep 17 00:00:00 2001 From: Yeva Byzek Date: Mon, 28 Feb 2022 09:50:55 -0500 Subject: [PATCH 2/2] Relative links for back to tutorials (#1095) * Relative links for back to tutorials * Remove extraneous line --- _layouts/recipe.html | 4 ++-- _layouts/tutorial.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_layouts/recipe.html b/_layouts/recipe.html index f4be76443e..fa0382cdc2 100644 --- a/_layouts/recipe.html +++ b/_layouts/recipe.html @@ -35,7 +35,7 @@
{% if page.community_contribution %} Community contribution ✨ @@ -127,7 +127,7 @@
Video walkthrough
diff --git a/_layouts/tutorial.html b/_layouts/tutorial.html index 9a4747ad04..2fc70dc55b 100644 --- a/_layouts/tutorial.html +++ b/_layouts/tutorial.html @@ -36,7 +36,7 @@
{% if page.community_contribution %} Community contribution ✨ @@ -266,7 +266,7 @@
Video walkthrough