Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creation of a Labs label for a different page-role #277

Merged
merged 3 commits into from
Nov 15, 2024
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
4 changes: 4 additions & 0 deletions preview-src/labels.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@
<span class="label label--cluster-member-single">SINGLE</span>
</div>

<div class="box">
<span class="label label--labs-label">Labs</span>
</div>

++++

== Tables with labels!
Expand Down
5 changes: 5 additions & 0 deletions src/css/labels.css
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,11 @@ span.label--labs {
background: var(--color-labs);
}

span.label--labs-label {
background: var(--color-labs);
color: rgba(var(--colors-neutral-10));
}

span.label--graph-academy {
background: var(--success-color);
}
6 changes: 6 additions & 0 deletions src/js/data/rolesData.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
"product": "Labs",
"displayText": "Labs"
},
"labs-label":{
"description": "Neo4j Labs project label",
"labelCategory": "content",
"product": "Labs",
"displayText": "Labs"
},
"graph-academy":{
"description": "Neo4j Graph Academy",
"labelCategory": "content",
Expand Down
Loading