Skip to content
Open
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
28 changes: 7 additions & 21 deletions src/partials/header-content.hbs
Original file line number Diff line number Diff line change
@@ -1,53 +1,39 @@
<header class="header">
<nav class="navbar">
<div class="navbar-brand">
{{!-- <a class="navbar-item" href="{{{or site.url (or siteRootUrl siteRootPath)}}}"> --}}
<a class="navbar-item" href="/">
{{!-- <link rel="icon" href="{{{uiRootPath}}}/img/favicon.ico" type="image/x-icon"> --}}
{{!-- <img class="navbar-logo" src="{{{uiRootPath}}}/img/logo.svg" alt="{{ site.title }}" /> --}}

{{#if (eq page.attributes.theme "docs") }}
<a class="navbar-item" href="{{{or site.url (or siteRootUrl siteRootPath)}}}">
{{#if (eq page.attributes.theme "docs") }}
<img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20230926084108/Logo_FullColor_RGB_TransBG.svg" alt="{{ site.title }}" />
</a>
<a href="/docs/" class="navbar-item no-left-padding" aria-label="Docs">
Docs
</a>
{{else if (eq page.attributes.theme "cheat-sheet")}}
{{else if (eq page.attributes.theme "cheat-sheet")}}
<img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20230926084108/Logo_FullColor_RGB_TransBG.svg" alt="{{ site.title }}" />
</a>
<a href="/docs/cypher-cheat-sheet/" class="navbar-item no-left-padding" aria-label="Labs">
Cypher Cheat Sheet
</a>
{{else if (eq page.attributes.theme "labs")}}
{{else if (eq page.attributes.theme "labs")}}
<img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20230926084108/Logo_FullColor_RGB_TransBG.svg" alt="{{ site.title }}" />
</a>
<a href="/labs/" class="navbar-item no-left-padding" aria-label="Labs">
Labs
</a>
{{else if (eq page.attributes.theme "kb")}}
{{else if (eq page.attributes.theme "kb")}}
<img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20231023102534/neo4j-logo.svg" alt="{{ site.title }}" />
{{!-- <img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20230926084108/Logo_FullColor_RGB_TransBG.svg" alt="{{ site.title }}" /> --}}
</a>
<a href="/developer/kb/" class="navbar-item no-left-padding page-name-white" aria-label="Knowledge Base">
Knowledge Base
</a>
{{else if (eq page.attributes.theme "training")}}
{{else if (eq page.attributes.theme "graphgists")}}
<img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20231023102534/neo4j-logo.svg" alt="{{ site.title }}" />
{{!-- <img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20230926084108/Logo_FullColor_RGB_TransBG.svg" alt="{{ site.title }}" /> --}}
</a>
<a href="/graphacademy/online-training/" class="navbar-item no-left-padding page-name-white" aria-label="GraphAcademy">
GraphAcademy
</a>
{{else if (eq page.attributes.theme "graphgists")}}
<img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20231023102534/neo4j-logo.svg" alt="{{ site.title }}" />
{{!-- <img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20230926084108/Logo_FullColor_RGB_TransBG.svg" alt="{{ site.title }}" /> --}}
</a>
<a href="/graphgists/" class="navbar-item no-left-padding page-name-white" aria-label="GraphGists">
GraphGists
</a>
{{else}}
{{else}}
<img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20231023102534/neo4j-logo.svg" alt="{{ site.title }}" />
{{!-- <img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20230926084108/Logo_FullColor_RGB_TransBG.svg" alt="{{ site.title }}" /> --}}
</a>
<a href="/developer/" class="navbar-item no-left-padding page-name-white" aria-label="Developer Guides">
Developer
Expand Down