Skip to content

Instantly share code, notes, and snippets.

View bogdan-andrei-sturzoiu's full-sized avatar

Bogdan Andrei Sturzoiu bogdan-andrei-sturzoiu

  • Elastic
  • Copenhagen
View GitHub Profile

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 June 5, 2020 14:17
Copenhagen search results template for search across multiple Help Centers
<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 April 9, 2019 11:12
The Copenhagen theme implementation of subsections
<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 April 9, 2019 09:37
Show the subsections of each section from the category page
<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 January 14, 2019 10:58
Sample category page with a block design for sections
<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 January 11, 2019 09:59
Category page example handling empty sub-sections
<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 April 25, 2019 08:03
Section page example with sub-sections presented as blocks
<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 February 25, 2019 09:19
Sections-in-sections snippet
{{#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}}