Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions preview-src/cheat-sheet.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ RETURN n.name AS name
----

[.description]
This example is displayed for AuraDB Enterprise (`[.aura-dbe]`)
This example is displayed for AuraDB Virtual Dedicated Cloud (`[.aura-dbe]`)
====


Expand All @@ -280,7 +280,7 @@ RETURN n.name AS name
----

[.description]
This example is displayed for both AuraDB Free and AuraDB Enterprise.
This example is displayed for both AuraDB Free and AuraDB Virtual Dedicated Cloud.
====


Expand Down Expand Up @@ -310,7 +310,7 @@ When generating a Neo4j (ie not Aura) cheat sheet, we would only add those two v

In this example the labels would _not_ be displayed.

If we add any other versions to the playbook, such as AuraDB Enterprise, the labels will be displayed when viewing the examples for Neo4j Community Edition or Neo4j Enterprise Edition, but the content will be hidden entirely when viewing the AuraDB Enterprise examples.
If we add any other versions to the playbook, such as AuraDB Virtual Dedicated Cloud, the labels will be displayed when viewing the examples for Neo4j Community Edition or Neo4j Enterprise Edition, but the content will be hidden entirely when viewing the AuraDB Virtual Dedicated Cloud examples.
--
====

Expand Down
22 changes: 11 additions & 11 deletions preview-src/docs-roles.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= Docs roles with a long title
:page-role: alpha aura-db-enterprise beta deprecated-5.17 invented-label new-5.17 not-on-aura
:page-role: alpha aura-db-dedicated beta deprecated-5.17 invented-label new-5.17 not-on-aura
:page-theme: docs
:page-banner: warning
:page-banner-text: Lorem ipsum dolor sit est.
Expand All @@ -26,13 +26,13 @@ Blocks with the appropriate roles have labels added.

[discrete]
[role="label--new-5.17 label--enterprise-edition"]
=== (Discrete) H3 AuraDB Enterprise AND Not on Aura
=== (Discrete) H3 AuraDB Virtual Dedicated Cloud AND Not on Aura

Labels are not displayed for discrete headers.


[role=label--aura-db-enterprise label--not-on-aura]
=== H3 AuraDB Enterprise AND Not on Aura
[role=label--aura-db-dedicated label--not-on-aura]
=== H3 AuraDB Virtual Dedicated Cloud AND Not on Aura

Lorem ipsum dolor sit

Expand Down Expand Up @@ -141,14 +141,14 @@ And so does this table
|===


[role=label--aura-db-enterprise]
== AuraDB Enterprise
[role=label--aura-db-dedicated]
== AuraDB Virtual Dedicated Cloud

Lorem ipsum dolor sit


[role=label--aura-db-enterprise label--not-on-aura]
== H2 AuraDB Enterprise AND Not on Aura
[role=label--aura-db-dedicated label--not-on-aura]
== H2 AuraDB Virtual Dedicated Cloud AND Not on Aura

Lorem ipsum dolor sit

Expand All @@ -158,12 +158,12 @@ Lorem ipsum dolor sit
Lorem ipsum dolor sit


[role=label--aura-db-enterprise label--not-on-aura]
=== H3 AuraDB Enterprise AND Not on Aura
[role=label--aura-db-dedicated label--not-on-aura]
=== H3 AuraDB Virtual Dedicated Cloud AND Not on Aura

Lorem ipsum dolor sit

[role=label--aura-db-enterprise label--not-on-aura]
[role=label--aura-db-dedicated label--not-on-aura]
=== H4 show roles

Lorem ipsum dolor sit
Expand Down
2 changes: 1 addition & 1 deletion preview-src/labels.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</div>

<div class="box">
<span class="label label--aura-db-enterprise">AuraDB Enterprise</span>
<span class="label label--aura-db-dedicated">AuraDB Virtual Dedicated Cloud</span>
</div>

<div class="box">
Expand Down
2 changes: 1 addition & 1 deletion preview-src/ui-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ page:
class: 'aura-dbf'
- name: 'AuraDB Professional'
class: 'aura-dbp'
- name: 'AuraDB Enterprise'
- name: 'AuraDB Virtual Dedicated Cloud'
class: 'aura-dbe'
- name: 'AuraDS Professional'
class: 'aura-dsp'
Expand Down
3 changes: 2 additions & 1 deletion src/css/labels.css
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ span.label--not-on-aura {
color: var(--warning-background-color);
}

span.label--aura-db-enterprise {
span.label--aura-db-enterprise,
span.label--aura-db-dedicated {
background: rgba(var(--colors-baltic-50));
color: rgba(var(--colors-baltic-10));
}
Expand Down
20 changes: 19 additions & 1 deletion src/css/neo4j-docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ div.aura-db-enterprise > h4::after,
p.aura-db-enterprise::before,
section.aura-db-enterprise.title::after,
span.aura-db-enterprise::after,
div.aura-db-dedicated > h2::after,
div.aura-db-dedicated > h3::after,
div.aura-db-dedicated > h4::after,
p.aura-db-dedicated::before,
section.aura-db-dedicated.title::after,
span.aura-db-dedicated::after,
section.enterprise-edition .title::after,
div.enterprise-edition > h2::after,
div.enterprise-edition > h3::after,
Expand Down Expand Up @@ -215,12 +221,24 @@ div.aura-db-enterprise > h4::after,
p.aura-db-enterprise::before,
section.aura-db-enterprise.title::after,
span.aura-db-enterprise::after {
content: "AuraDB Enterprise";
content: "AuraDB Virtual Dedicated Cloud";
background: var(--aura-db-enterprise-background-color);
border-color: var(--aura-db-enterprise-background-color);
color: var(--aura-db-enterprise-color);
}

div.aura-db-dedicated > h2::after,
div.aura-db-dedicated > h3::after,
div.aura-db-dedicated > h4::after,
p.aura-db-dedicated::before,
section.aura-db-dedicated.title::after,
span.aura-db-dedicated::after {
content: "AuraDB Virtual Dedicated Cloud";
background: var(--aura-db-dedicated-background-color);
border-color: var(--aura-db-dedicated-background-color);
color: var(--aura-db-dedicated-color);
}

div.enterprise-edition > h2::after,
div.enterprise-edition > h3::after,
div.enterprise-edition > h4::after,
Expand Down
2 changes: 2 additions & 0 deletions src/css/vars-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,8 @@
--not-on-aura-background-color: var(--warning-color);
--aura-db-enterprise-color: rgba(var(--colors-baltic-10));
--aura-db-enterprise-background-color: rgba(var(--colors-baltic-50));
--aura-db-dedicated-color: rgba(var(--colors-baltic-10));
--aura-db-dedicated-background-color: rgba(var(--colors-baltic-50));
--enterprise-edition-color: rgba(var(--colors-baltic-10));
--enterprise-edition-background-color: rgba(var(--colors-baltic-50));
--fabric-color: rgba(var(--colors-baltic-10));
Expand Down
2 changes: 2 additions & 0 deletions src/css/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,8 @@
--not-on-aura-background-color: var(--warning-color);
--aura-db-enterprise-color: rgba(var(--colors-baltic-10));
--aura-db-enterprise-background-color: rgba(var(--colors-baltic-50));
--aura-db-dedicated-color: rgba(var(--colors-baltic-10));
--aura-db-dedicated-background-color: rgba(var(--colors-baltic-50));
--enterprise-edition-color: rgba(var(--colors-baltic-10));
--enterprise-edition-background-color: rgba(var(--colors-baltic-50));
--fabric-color: rgba(var(--colors-baltic-10));
Expand Down
2 changes: 1 addition & 1 deletion src/js/50-cheat-sheet-toggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const optionMap = [...selectorOptions].map((o) => ({
const prodMatrix = {
'auradb-free': 'aura-dbf',
'auradb-professional': 'aura-dbp',
'auradb-enterprise': 'aura-dbe',
'auradb-dedicated': 'aura-dbe',
'aurads-professional': 'aura-dsp',
'aurads-enterprise': 'aura-dse',
'neo4j-community': 'neo4j-ce',
Expand Down
2 changes: 1 addition & 1 deletion src/js/60-docs-roles.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ document.addEventListener('DOMContentLoaded', function () {

// roles can be single word ie beta - use beta as label class and text from rolesDatee.beta
// roles can be single word + version ie new-5.20 - use new as label class and text from rolesData.new + version number
// roles can be multiple words ie aura-db-enterprise - use aura-db-enterprise as label class and text from rolesData.aura-db-enterprise
// roles can be multiple words ie aura-db-dedicated - use aura-db-dedicated as label class and text from rolesData.aura-db-dedicated
// roles like deprecated can appear with or without a version number - deprecated-5.20 or deprecated
// - use deprecated as label class and text from rolesData.deprecated
// - use deprecated as label class and text from rolesData.deprecated + version number
Expand Down
12 changes: 9 additions & 3 deletions src/js/data/rolesData.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,16 @@
"displayText": "AuraDB Free"
},
"aura-db-enterprise":{
"description": "Function available in AuraDB Enterprise",
"description": "Function available in AuraDB Virtual Dedicated Cloud",
"labelCategory": "product",
"product": "AuraDB Enterprise",
"displayText": "AuraDB Enterprise"
"product": "AuraDB Virtual Dedicated Cloud",
"displayText": "AuraDB Virtual Dedicated Cloud"
},
"aura-db-dedicated":{
"description": "Function available in AuraDB Virtual Dedicated Cloud",
"labelCategory": "product",
"product": "AuraDB Virtual Dedicated Cloud",
"displayText": "AuraDB Virtual Dedicated Cloud"
},
"aura-db-professional":{
"description": "Function available in AuraDB Professional",
Expand Down
2 changes: 1 addition & 1 deletion src/partials/navbar-end.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
</div>
</div>
<div class="navbar-item is-hoverable getting-started-cta">
<a class="navbar-link primary" href="https://neo4j.com/cloud/platform/aura-graph-database/?ref=docs-nav-get-started">Get Started Free</a>
<a class="navbar-link primary" href="https://neo4j.com/product/auradb/?ref=docs-nav-get-started">Get Started Free</a>
{{!-- <div class="navbar-dropdown">
<div class="navbar-item project">
<a class="project-name" href="https://neo4j.com/cloud/aura/?ref=docs-get-started-dropdown">
Expand Down