Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breadcrumbs on the tutorial and use-case pages #1092

Merged
merged 10 commits into from
Feb 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _includes/tutorial-content.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ <h2 class="title tutorial-section-title" id="take-it-to-prod">
{% endif %}

{% endfor %}

</div>
</div>
</div>
Expand Down
11 changes: 10 additions & 1 deletion _layouts/recipe.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@
</head>
<body class="pg-tutorial">
{% include nav.html %}

<section class="hero">
<div class="hero-body">
<div class="container">
<ul class="breadcrumb">
<li><a href="/tutorials/use-cases.html">&lt; Back to tutorials</a></li>
</ul>
{% if page.community_contribution %}
<span class="community-contribution">Community contribution ✨</span>
{% endif %}
Expand Down Expand Up @@ -122,6 +124,13 @@ <h5 class="title is-5">Video walkthrough</h5>
{% include contribute-tutorial-lang.html %}
{% else %}
{% include tutorial-content.html %}
<section class="section">
<div class="container">
<ul class="breadcrumb">
<li><a href="/tutorials/use-cases.html">&lt; Back to tutorials</a></li>
</ul>
</div>
</section>
{% endif %}
{% endif %}
</div>
Expand Down
10 changes: 10 additions & 0 deletions _layouts/tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
<section class="hero">
<div class="hero-body">
<div class="container">
<ul class="breadcrumb">
<li><a href="/tutorials/">&lt; Back to tutorials</a></li>
</ul>
{% if page.community_contribution %}
<span class="community-contribution">Community contribution ✨</span>
{% endif %}
Expand Down Expand Up @@ -260,6 +263,13 @@ <h5 class="title is-5">Video walkthrough</h5>
{% include contribute-tutorial-lang.html %}
{% else %}
{% include tutorial-content.html %}
<section class="section">
<div class="container">
<ul class="breadcrumb">
<li><a href="/tutorials/">&lt; Back to tutorials</a></li>
</ul>
</div>
</section>
{% endif %}
{% endif %}
</div>
Expand Down
20 changes: 20 additions & 0 deletions assets/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down