-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from tigergraph/main
ui-dev: sync with main
- Loading branch information
Showing
11 changed files
with
4,882 additions
and
3,970 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<div class="nav-panel-explore{{#unless page.navigation}} is-active{{/unless}}" data-panel="explore"> | ||
{{#if page.component}} | ||
<div class="context"> | ||
<span class="title">{{page.component.title}}</span> | ||
<span class="version">{{#unless (eq page.componentVersion.displayVersion 'default')}}{{page.componentVersion.displayVersion}}{{/unless}}</span> | ||
</div> | ||
{{/if}} | ||
<ul class="components"> | ||
{{!-- Below is new nav code after revamp--}} | ||
<div class="home-left-nav-title" style="font-weight: bold;">TigerGraph DB</div> | ||
<div class="dropdown-category"> | ||
<a class="category-item" href="{{relativize site.components.tigergraph-server.url}}">{{site.components.tigergraph-server.title}}</a> | ||
<a class="category-item" href="https://docs.tigergraph.com/tigergraph-server/current/getting-started/">Get Started</a> | ||
</div> | ||
|
||
<div class="home-left-nav-title" style="font-weight: bold;">TigerGraph Cloud</div> | ||
<div class="dropdown-category"> | ||
<a class="category-item" href="{{relativize site.components.cloud.url}}">{{site.components.cloud.title}}</a> | ||
<a class="category-item" href="https://docs.tigergraph.com/cloud/main/start/get_started">Get Started</a> | ||
{{!-- Below is code for the cloudbeta--}} | ||
<div style="display: flex; align-items: center;"> | ||
<a class="category-item" href="https://docs.tigergraph.com/cloudbeta/overview/">{{site.components.cloudBeta.title}} | ||
<span style="font-weight: 400; top: -2px; position: relative; margin-left: 8px; color: rgb(255, 255, 254); padding: 2px 4px; font-size: 10px; border-radius: 2px; background-color: rgb(255, 109, 0);">New</span> | ||
</a> | ||
|
||
</div> | ||
</div> | ||
|
||
<div class="home-left-nav-title" style="font-weight: bold;">TigerGraph Suite</div> | ||
<div class="dropdown-category"> | ||
<a class="category-item" href="{{relativize site.components.gui.url}}">Admin Portal and GraphStudio</a> | ||
<a class="category-item" href="{{relativize site.components.insights.url}}">{{site.components.insights.title}}</a> | ||
<a class="category-item" href="https://docs.tigergraph.com/tigergraph-server/current/gsql-shell/web">GSQL Web Shell</a> | ||
</div> | ||
|
||
<div class="home-left-nav-title" style="font-weight: bold;">GSQL Language</div> | ||
<div class="dropdown-category"> | ||
<a class="category-item" href="{{relativize site.components.gsql-ref.url}}">GSQL Language Reference</a> | ||
<a class="category-item" href="https://docs.tigergraph.com/gsql-ref/current/tutorials/gsql-101/">GSQL 101</a> | ||
</div> | ||
|
||
<div class="home-left-nav-title" style="font-weight: bold;">Graph + AI</div> | ||
<div class="dropdown-category"> | ||
<a class="category-item" href="{{relativize site.components.graph-ml.url}}">Graph Data Science Library</a> | ||
<a class="category-item" href="{{relativize site.components.ml-workbench.url}}">ML Workbench</a> | ||
{{!-- Below is code for the CoPilot--}} | ||
<div style="display: flex; align-items: center;"> | ||
<a class="category-item" href="https://docs.tigergraph.com/tg-copilot/current/intro/">TigerGraph CoPilot</a> | ||
</div> | ||
<a class="category-item" href="{{relativize site.components.pytigergraph.url}}">pyTigerGraph</a> | ||
</div> | ||
|
||
<div class="home-left-nav-title" style="font-weight: bold;">Connectors and APIs</div> | ||
<div class="dropdown-category"> | ||
<a class="category-item" href="{{relativize site.components.graphql.url}}">GraphQL Service</a> | ||
<a class="category-item" href="https://github.com/tigergraph/ecosys/tree/master/tools/etl/tg-jdbc-driver">JDBC Driver</a> | ||
<a class="category-item" href="https://docs.tigergraph.com/tigergraph-server/current/api/">API Reference</a> | ||
</div> | ||
{{!--Old Nav this does NOT display: none but can still be indexed in the DOM--}} | ||
{{#each (rearrange site.components 'name' page.attributes.component-order)}} | ||
<li class="component{{#if (eq this @root.page.component)}} is-current{{/if}}"> | ||
<a class="title" href="{{{relativize ./url}}}">{{{./title}}}</a> | ||
{{#if (or ./versions.[1] (ne ./versions.[0].displayVersion 'default'))}} | ||
<ul class="versions"> | ||
{{#each ./versions}} | ||
<li class="version | ||
{{~#if (and (eq .. @root.page.component) (eq this @root.page.componentVersion))}} is-current{{/if~}} | ||
{{~#if (eq this ../latest)}} is-latest{{/if}}"> | ||
<a href="{{{relativize ./url}}}">{{./displayVersion}}</a> | ||
</li> | ||
{{/each}} | ||
</ul> | ||
{{/if}} | ||
{{/each}} | ||
</ul> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
<div class="nav-container"{{#if page.component}} data-component="{{page.component.name}}" data-version="{{page.version}}"{{/if}}> | ||
<aside class="nav"> | ||
<div class="panels"> | ||
{{> page-versions}} | ||
{{> nav-menu}} | ||
{{#if (or (eq page.attributes.role "home") (eq page.layout "404"))}} | ||
{{> nav-explore}} | ||
{{/if}} | ||
{{> nav-explore-hidden}} | ||
{{> nav-explore}} | ||
</div> | ||
</aside> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<div class="nav-container"{{#if page.component}} data-component="{{page.component.name}}" data-version="{{page.version}}"{{/if}}> | ||
<aside class="nav"> | ||
<div class="panels"> | ||
{{> nav-menu}} | ||
{{> nav-explore}} | ||
</div> | ||
</aside> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,13 @@ | ||
|
||
{{#with page.versions}} | ||
<div class="page-versions"> | ||
{{!-- | ||
<button class="version-menu-toggle" title="Show other versions of page"><div class="button-text">{{@root.page.componentVersion.displayVersion}}</div> | ||
<div class="button-arrow"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"> | ||
<path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/> | ||
</svg> | ||
</div> | ||
</button> | ||
--}} | ||
<ul class="version-menu"> | ||
{{#each this}} | ||
<li class="version | ||
{{~#if (and (eq .. @root.page.component) (eq this @root.page.componentVersion))}} is-current{{/if~}} | ||
{{~#if (eq this ../latest)}} is-latest{{/if}}"> | ||
<a href="{{{relativize ./url}}}">{{./displayVersion}}</a> | ||
</li> | ||
{{/each}} | ||
</ul> | ||
<div class="page-versions"> | ||
<button class="version-menu-toggle" title="Show other versions of page">{{@root.page.componentVersion.displayVersion}}</button> | ||
<div class="version-menu"> | ||
{{#each this}} | ||
<a class="version | ||
{{~#if (eq ./version @root.page.version)}} is-current{{/if~}} | ||
{{~#if ./missing}} is-missing{{/if}}" href="{{{relativize ./url}}}">{{./displayVersion}}</a> | ||
{{/each}} | ||
</div> | ||
</div> | ||
{{/with}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{{#with page.versions}} | ||
<div class="page-versions"> | ||
<button class="version-menu-toggle" title="Show other versions of page">{{@root.page.componentVersion.displayVersion}}</button> | ||
<div class="version-menu"> | ||
{{#each this}} | ||
<a class="version | ||
{{~#if (eq ./version @root.page.version)}} is-current{{/if~}} | ||
{{~#if ./missing}} is-missing{{/if}}" href="{{{relativize ./url}}}">{{./displayVersion}}</a> | ||
{{/each}} | ||
</div> | ||
</div> | ||
{{/with}} |