Skip to content

Instantly share code, notes, and snippets.

Avatar

Bogdan Andrei Sturzoiu bogdan-andrei-sturzoiu

  • Elastic
  • Copenhagen
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am bogdan-andrei-sturzoiu on github.
  • I am bogdansturzoiu (https://keybase.io/bogdansturzoiu) on keybase.
  • I have a public key ASBCEEy8OOZC05otKEJEwzb775qJR2Ci96-AZgHvMqo--Ao

To claim this, I am signing this object:

@bogdan-andrei-sturzoiu
bogdan-andrei-sturzoiu / 1. search_results.hbs
Last active Jun 5, 2020
Copenhagen search results template for search across multiple Help Centers
View 1. search_results.hbs
<div class="container-divider"></div>
<div class="container">
<nav class="sub-nav">
{{breadcrumbs}}
{{search submit=false}}
</nav>
<div class="search-results">
<section class="search-results-sidebar">
{{#if help_center_filters}}
@bogdan-andrei-sturzoiu
bogdan-andrei-sturzoiu / section_page_copenhagen.hbs
Created Apr 9, 2019
The Copenhagen theme implementation of subsections
View section_page_copenhagen.hbs
<div class="container-divider"></div>
<div class="container">
<nav class="sub-nav">
{{breadcrumbs}}
{{search submit=false}}
</nav>
<div class="section-container">
<section class="section-content">
<header class="page-header">
@bogdan-andrei-sturzoiu
bogdan-andrei-sturzoiu / category_page_with_subsections
Created Apr 9, 2019
Show the subsections of each section from the category page
View category_page_with_subsections
<div class="inner-wrap kb search-hero-container">
<section class="hero-unit search-box clearfix">
<h2>{{dc 'HM003'}}</h2>
<div class="search-inner">
<input type="search" class="st-default-search-input"/>
</div>
</section>
</div>
@bogdan-andrei-sturzoiu
bogdan-andrei-sturzoiu / category_page.hbs
Created Jan 14, 2019
Sample category page with a block design for sections
View category_page.hbs
<div class="container-divider"></div>
<div class="container">
<nav class="sub-nav">
{{breadcrumbs}}
{{search submit=false scoped=true}}
</nav>
<div class="category-container">
<div class="category-content">
<header>
@bogdan-andrei-sturzoiu
bogdan-andrei-sturzoiu / category_page.hbs
Created Jan 11, 2019
Category page example handling empty sub-sections
View category_page.hbs
<div class="container-divider"></div>
<div class="container">
<nav class="sub-nav">
{{breadcrumbs}}
{{search submit=false scoped=true instant=true}}
</nav>
<div class="category-container">
<div class="category-content">
<header class="page-header">
@bogdan-andrei-sturzoiu
bogdan-andrei-sturzoiu / section_page_with_blocks.hbs
Last active Apr 25, 2019
Section page example with sub-sections presented as blocks
View section_page_with_blocks.hbs
<div class="container-divider"></div>
<div class="container">
<nav class="sub-nav">
{{breadcrumbs}}
{{search submit=false scoped=true}}
</nav>
<div class="section-container">
<section class="section-content">
<header>
@bogdan-andrei-sturzoiu
bogdan-andrei-sturzoiu / section_page.hbs
Last active Feb 25, 2019
Sections-in-sections snippet
View section_page.hbs
{{#if section.sections}}
<div class="section-tree">
{{#each section.sections}}
<section class="section">
<h3 class="section-tree-title">
<a href="{{url}}">{{name}}</a>
</h3>
{{#if articles}}
<ul class="article-list">
{{#each articles}}