Skip to content

Commit

Permalink
Merge pull request #5170 from braze-inc/kh/breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
bre-fitzgerald authored Apr 4, 2023
2 parents 1128e4a + 74bddef commit de90850
Show file tree
Hide file tree
Showing 20 changed files with 74 additions and 28 deletions.
2 changes: 2 additions & 0 deletions _docs/_help/home.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ popular_topic_list:
- name: Logging Custom Event Properties
link: /docs/help/help_articles/campaigns_and_canvas/using_custom_event_properties/
---


1 change: 0 additions & 1 deletion _docs/_partners/data_and_infrastructure_agility.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ search_tag: Partner
partner_api: "https://www.braze.com/api/v1/partners"
partner_path: "https://www.braze.com/product/alloys/partners/"
partner_top_header: "Data & Infrastructure Agility"
partner_top_text: "These partners allow you to send, store, and otherwise coordinate your data across different tools and providers."

valid_partner_list:
- name: Fivetran
Expand Down
8 changes: 7 additions & 1 deletion _layouts/api_glossary.html
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,14 @@
<div id="glossary-main">

<div id="content_start"></div>

{%- unless hide_breadcrumb -%}
<div id="breadcrumb">
</div>
{%- endunless -%}

<h1> {{ page.glossary_top_header }} </h1>
<p class="glossary_text"> {{ page.glossary_top_text }} </p>
<p class="glossary_text"> {{ page.glossary_top_text | markdownify }} </p>
<div id="guide_featured_list">

{%- for menu_list in page.guide_featured_list -%}
Expand Down
5 changes: 5 additions & 0 deletions _layouts/api_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@

<div id="api_list" class="flex mx-auto">
<div id="content_start"></div>
{%- unless hide_breadcrumb -%}
<div id="breadcrumb">
</div>
{%- endunless -%}

{{content}}
</div>

Expand Down
5 changes: 5 additions & 0 deletions _layouts/customer_behavior_events_glossary.html
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,11 @@

<div id="api-main">
<div id="content_start"></div>

{%- unless hide_breadcrumb -%}
<div id="breadcrumb">
</div>
{%- endunless -%}


<h1> Customer behavior and user events </h1>
Expand Down
4 changes: 4 additions & 0 deletions _layouts/doc_guide.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
<div class="row doc-row">
<div id="doc-main" class="col-xl justify-content-between">
<div id="content_start"></div>
{%- unless hide_breadcrumb -%}
<div id="breadcrumb">
</div>
{%- endunless -%}
<h2 class="doc_menu_title"> {{ page.doc_top_header }} </h2>
<p> {{ page.doc_top_text | markdownify }} </p>

Expand Down
4 changes: 2 additions & 2 deletions _layouts/documents.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
<div class="col d-print-block " id="main_content" >

<div id="article-main">
<div id="content_start"></div>
{%- unless hide_breadcrumb -%}
<div id="breadcrumb">&nbsp;
<div id="breadcrumb">
</div>
{%- endunless -%}
<div id="content_start"></div>
{{ content }}

</div>
Expand Down
4 changes: 4 additions & 0 deletions _layouts/glossary_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,10 @@
<div id="glossary-main">

<div id="content_start"></div>
{%- unless hide_breadcrumb -%}
<div id="breadcrumb">
</div>
{%- endunless -%}
<h1> {{ page.glossary_top_header }} </h1>
<p class="glossary_text"> {{ page.glossary_top_text }} </p>

Expand Down
4 changes: 4 additions & 0 deletions _layouts/liquid_use_case_glossary.html
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@

<div id="api-main">
<div id="content_start"></div>
{%- unless hide_breadcrumb -%}
<div id="breadcrumb">
</div>
{%- endunless -%}

<h1> Liquid use case library </h1>
<p class="api_text">Looking for inspiration to craft the perfect personalization using Liquid? Take a look through our collection of Liquid use cases, outlined by category below. <br><br>Use the search bar or the checkboxes below to find the use cases that fit your need. </p>
Expand Down
4 changes: 4 additions & 0 deletions _layouts/message_engagement_events_glossary.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,10 @@
<div id="api-main">

<div id="content_start"></div>
{%- unless hide_breadcrumb -%}
<div id="breadcrumb">
</div>
{%- endunless -%}
<h1> Message engagement events </h1>
<p class="api_text">Use the search bar or the checkboxes below to find the events you need to use Currents effectively. <br> <br> These schema consist of the Braze Events that are directly related to message sending. </p>

Expand Down
8 changes: 6 additions & 2 deletions _layouts/partner_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: default
hide_toc: true
hide_bottom_nav: true
hide_breadcrumb: true
hide_breadcrumb: false
---


Expand Down Expand Up @@ -276,8 +276,12 @@

<div id="partner-main">
<div id="content_start"></div>
{%- unless hide_breadcrumb -%}
<div id="breadcrumb">
</div>
{%- endunless -%}

<h1> {{ page.partner_top_header }} </h1>
<h1> {{ page.partner_top_header | markdownify }} </h1>
<p class="partner_text"> {{ page.partner_top_text }} </p>

<div id="partner_filter">
Expand Down
9 changes: 7 additions & 2 deletions _layouts/self_help.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: default
hide_toc: true
hide_bottom_nav: true
hide_breadcrumb: true
hide_breadcrumb: false
---

{%- comment -%} Assigned variables first by page, then by layout {%- endcomment -%}
Expand Down Expand Up @@ -40,11 +40,16 @@

<div id="help-main">
<div id="content_start"></div>
{%- unless hide_breadcrumb -%}
<div id="breadcrumb">
</div>
{%- endunless -%}
<h1> {{ page.help_top_header }} </h1>
<p> {{ page.user_top_text }} </p>
<p> {{ page.user_top_text | markdownify }} </p>

<div id="user-main">


<div id="help_step2">
<div id="help_list" >
{%- for help_list in page.resources_list -%}
Expand Down
12 changes: 8 additions & 4 deletions _layouts/user_guide.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: default
hide_toc: true
hide_bottom_nav: true
hide_breadcrumb: true
hide_breadcrumb: false
---


Expand Down Expand Up @@ -40,12 +40,16 @@

<div class="col d-print-block " id="main_content" >

<div id="user-main">

<div id="user-main">
<div id="content_start"></div>

{%- unless hide_breadcrumb -%}
<div id="breadcrumb">
</div>
{%- endunless -%}

<h1> {{ page.user_top_header }} </h1>
<p> {{ page.user_top_text }} </p>
<p> {{ page.user_top_text | markdownify }} </p>



Expand Down
10 changes: 5 additions & 5 deletions assets/css/_api.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
h1 {
color: $black-shark;
font-family: $braze-medium;
margin-top: 10px;
}
#breadcrumb {
margin-top: 0px;
}

.flex {
Expand Down Expand Up @@ -126,7 +130,7 @@
text-decoration: none;
margin-right: 15px;
margin-bottom: 15px;
padding: 10px 0 10px 0;
padding: 0px 0 0px 0;

.api_tags {
display: none;
Expand Down Expand Up @@ -278,10 +282,6 @@
height: ($calc_offset_top - 40px);
}
}
#breadcrumb {
margin-top: 0px;
}

}

#results_msg {
Expand Down
3 changes: 1 addition & 2 deletions assets/css/_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@
}

h1 {

font-size: 42px;
font-family: $braze-medium;
line-height: 1.5;
Expand Down Expand Up @@ -414,8 +413,8 @@ div.highlight {
}
}
#breadcrumb {
padding-bottom: 15px;
margin-top: 45px;
padding-bottom: 15px;
min-height: 15px;
font-size: 13px;
font-family: $braze-regular;
Expand Down
1 change: 1 addition & 0 deletions assets/css/_dev_guide.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ $guide_transition_time : 0.25s;
h1 {
color: $black-shark;
font-family: $braze-medium;
margin-top: 10px;
}
h1:first-of-type {
&::before {
Expand Down
10 changes: 5 additions & 5 deletions assets/css/_glossary_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
font-size: 30px;
line-height: 1.4;
color: $navy-bay;
margin-top: auto;
margin-top: 20px;
margin-bottom: 10px;
}

Expand Down Expand Up @@ -195,6 +195,10 @@
h1 {
color: $black-shark;
font-family: $braze-medium;
margin-top: 10px;
}
#breadcrumb {
margin-top: 0px;
}

.flex {
Expand Down Expand Up @@ -400,10 +404,6 @@
height: ($calc_offset_top - 40px);
}
}
#breadcrumb {
margin-top: 0px;
}

}


Expand Down
3 changes: 2 additions & 1 deletion assets/css/_partner_page.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#partner-main {
padding-top: 15px;
padding-top: 0px;
margin-top: 15px;
margin-bottom: 30px;
@media (min-width: $window-large-px) {
Expand Down Expand Up @@ -57,6 +57,7 @@
h1 {
color: $black-shark;
font-family: $braze-medium;
margin-top: 10px;
}

.flex {
Expand Down
3 changes: 1 addition & 2 deletions assets/css/_self_help.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
$help_transition_time : 0.25s;
#help-main {
padding-top: 15px;
margin-top: 15px;
margin-bottom: 30px;
@media (min-width: $window-large-px) {
Expand All @@ -12,10 +11,10 @@ $help_transition_time : 0.25s;
margin-right: auto;
}


h1 {
color: $black-shark;
font-family: $braze-medium;
margin-top: 10px;
}
.help_menu_title {
margin-top: 40px;
Expand Down
2 changes: 1 addition & 1 deletion assets/css/_user_guide.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
$user_transition_time : 0.25s;
#user-main {
padding-top: 15px;
margin-top: 15px;

@media (min-width: $window-large-px) {
Expand All @@ -16,6 +15,7 @@ $user_transition_time : 0.25s;
h1 {
color: $black-shark;
font-family: $braze-medium;
margin-top: 10px;
}
.user_menu_title {
margin-top: 40px;
Expand Down

0 comments on commit de90850

Please sign in to comment.