Skip to content

Commit f7e894b

Browse files
Restore white logo on selected templates.
1 parent 4a383a6 commit f7e894b

File tree

1 file changed

+26
-15
lines changed

1 file changed

+26
-15
lines changed

src/partials/header-content.hbs

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,52 @@
33
<div class="navbar-brand">
44
{{!-- <a class="navbar-item" href="{{{or site.url (or siteRootUrl siteRootPath)}}}"> --}}
55
<a class="navbar-item" href="/">
6-
<img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20230926084108/Logo_FullColor_RGB_TransBG.svg" alt="{{ site.title }}" />
76
{{!-- <link rel="icon" href="{{{uiRootPath}}}/img/favicon.ico" type="image/x-icon"> --}}
87
{{!-- <img class="navbar-logo" src="{{{uiRootPath}}}/img/logo.svg" alt="{{ site.title }}" /> --}}
9-
</a>
108

11-
{{#if (eq page.attributes.theme "docs") }}
9+
{{#if (eq page.attributes.theme "docs") }}
10+
<img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20230926084108/Logo_FullColor_RGB_TransBG.svg" alt="{{ site.title }}" />
11+
</a>
1212
<a href="/docs/" class="navbar-item no-left-padding" aria-label="Docs">
1313
Docs
1414
</a>
15-
{{else if (eq page.attributes.theme "cheat-sheet")}}
15+
{{else if (eq page.attributes.theme "cheat-sheet")}}
16+
<img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20230926084108/Logo_FullColor_RGB_TransBG.svg" alt="{{ site.title }}" />
17+
</a>
1618
<a href="/docs/cypher-cheat-sheet/" class="navbar-item no-left-padding" aria-label="Labs">
1719
Cypher Cheat Sheet
1820
</a>
19-
{{else if (eq page.attributes.theme "labs")}}
21+
{{else if (eq page.attributes.theme "labs")}}
22+
<img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20230926084108/Logo_FullColor_RGB_TransBG.svg" alt="{{ site.title }}" />
23+
</a>
2024
<a href="/labs/" class="navbar-item no-left-padding" aria-label="Labs">
2125
Labs
2226
</a>
23-
{{else if (eq page.attributes.theme "kb")}}
24-
{{!-- <img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20230926084108/Logo_FullColor_RGB_TransBG.svg" alt="{{ site.title }}" /> --}}
27+
{{else if (eq page.attributes.theme "kb")}}
28+
<img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20231023102534/neo4j-logo.svg" alt="{{ site.title }}" />
29+
{{!-- <img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20230926084108/Logo_FullColor_RGB_TransBG.svg" alt="{{ site.title }}" /> --}}
30+
</a>
2531
<a href="/developer/kb/" class="navbar-item no-left-padding page-name-white" aria-label="Knowledge Base">
2632
Knowledge Base
2733
</a>
28-
{{else if (eq page.attributes.theme "training")}}
29-
{{!-- <img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20230926084108/Logo_FullColor_RGB_TransBG.svg" alt="{{ site.title }}" /> --}}
34+
{{else if (eq page.attributes.theme "training")}}
35+
<img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20231023102534/neo4j-logo.svg" alt="{{ site.title }}" />
36+
{{!-- <img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20230926084108/Logo_FullColor_RGB_TransBG.svg" alt="{{ site.title }}" /> --}}
37+
</a>
3038
<a href="/graphacademy/online-training/" class="navbar-item no-left-padding page-name-white" aria-label="GraphAcademy">
3139
GraphAcademy
3240
</a>
33-
{{else if (eq page.attributes.theme "graphgists")}}
34-
{{!-- <img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20230926084108/Logo_FullColor_RGB_TransBG.svg" alt="{{ site.title }}" /> --}}
41+
{{else if (eq page.attributes.theme "graphgists")}}
42+
<img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20231023102534/neo4j-logo.svg" alt="{{ site.title }}" />
43+
{{!-- <img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20230926084108/Logo_FullColor_RGB_TransBG.svg" alt="{{ site.title }}" /> --}}
44+
</a>
3545
<a href="/graphgists/" class="navbar-item no-left-padding page-name-white" aria-label="GraphGists">
3646
GraphGists
3747
</a>
38-
{{else}}
39-
{{!-- <img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20231023102534/neo4j-logo.svg" alt="{{ site.title }}" /> --}}
48+
{{else}}
49+
<img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20231023102534/neo4j-logo.svg" alt="{{ site.title }}" />
50+
{{!-- <img class="navbar-logo" src="https://dist.neo4j.com/wp-content/uploads/20230926084108/Logo_FullColor_RGB_TransBG.svg" alt="{{ site.title }}" /> --}}
51+
</a>
4052
<a href="/developer/" class="navbar-item no-left-padding page-name-white" aria-label="Developer Guides">
4153
Developer
4254
</a>
@@ -64,8 +76,8 @@
6476
{{/each}}
6577
</div>
6678
</div>
79+
{{/if}}
6780
</div>
68-
{{/if}}
6981

7082
<button class="navbar-search search-button" data-target="topbar-nav" id="search_open_mobile" aria-label="Open Search">
7183
<svg width="23px" height="23px" viewBox="0 0 23 23" version="1.1" class="fill-current float-right" id="searchx" role="button" title="Search Website">
@@ -90,7 +102,6 @@
90102
<span></span>
91103
</button>
92104
</div>
93-
94105
<div id="topbar-nav" class="navbar-menu">
95106
{{#if (eq page.attributes.theme 'cheat-sheet') }}
96107
<div class="navbar-start">

0 commit comments

Comments
 (0)