Skip to content

Commit 6f2d830

Browse files
authored
Homepage fixes after Sebastians feedback (#278)
1 parent 4332d0f commit 6f2d830

File tree

9 files changed

+159
-151
lines changed

9 files changed

+159
-151
lines changed

preview-src/docs-explainer.adoc

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ image:icons/ndl/icon-import.svg[]
3333
Use Cypher for importing bulk data into Neo4j. Suited for non-admin users.
3434

3535
[.link]
36-
link:{docs-home}/cypher-manual/current/clauses/load-csv/[]
36+
link:https://www.neo4j.com/docs/cypher-manual/current/clauses/load-csv/[Load CSV]
3737

3838

3939
[.labs.label--labs]
@@ -46,7 +46,7 @@ image:icons/ndl/icon-csvtodb.svg[]
4646
Learn how to translate and migrate tabular data and relational datasets into a graph database.
4747

4848
[.link]
49-
link:{docs-home}/data-import/relational-to-graph-import/[]
49+
link:https://www.neo4j.com/docs/data-import/relational-to-graph-import/[Relational to graph]
5050

5151

5252
[.not-selectable]
@@ -59,7 +59,7 @@ image:icons/ndl/icon-connectors.svg[]
5959
Learn how to use connectors to connect data from various sources into Neo4j.
6060

6161
[.link]
62-
link:{docs-home}/connectors/[]
62+
link:https://www.neo4j.com/docs/connectors/[Connectors]
6363

6464

6565
[.label--graph-academy.label--featured]
@@ -72,7 +72,7 @@ image:icons/ndl/icon-neo4j.svg[]
7272
Start using Neo4j's tool for importing data and get started quickly with testing and prototyping.
7373

7474
[.link]
75-
link:{docs-home}/data-importer/current/[]
75+
link:https://www.neo4j.com/docs/data-importer/current/[Data importer]
7676

7777
=== Neo4j Admin Import
7878

@@ -83,7 +83,7 @@ image:icons/ndl/icon-admin.svg[]
8383
Use Neo4j admin import for initial loading of large amounts of data.
8484

8585
[.link]
86-
link:{docs-home}/operations-manual/current/tools/neo4j-admin/neo4j-admin-import/#import-tool-full[]
86+
link:https://www.neo4j.com/docs/operations-manual/current/tools/neo4j-admin/neo4j-admin-import/#import-tool-full[Import admin]
8787

8888
=== APOC
8989

@@ -94,7 +94,7 @@ image:icons/ndl/icon-library.svg[]
9494
Learn how to import data from various data formats, including JSON, XML, and XLS using the APOC library.
9595

9696
[.link]
97-
link:{docs-home}/apoc/current/import/[*Import data using APOC Core*]
97+
link:https://www.neo4j.com/docs/apoc/current/import/[Import data using APOC Core]
9898

9999

100100
[.cards.selectable]
@@ -111,7 +111,7 @@ image:icons/ndl/icon-graphacademy.svg[]
111111
Learn how to import CSV data into Neo4j using Cypher.
112112

113113
[.link]
114-
link:https://graphacademy.neo4j.com/courses/importing-cypher/[*GraphAcademy: Importing CSV data into Neo4j*]
114+
link:https://graphacademy.neo4j.com/courses/importing-cypher/[GraphAcademy: Importing CSV data into Neo4j]
115115

116116

117117
=== Import CSV data with Neo4j Desktop
@@ -123,7 +123,7 @@ image:icons/ndl/icon-import.svg[]
123123
Learn how to use CSV files to import data to a graph with Neo4j Desktop.
124124

125125
[.link]
126-
link:{docs-home}/getting-started/appendix/tutorials/guide-import-desktop-csv/[*How-To: Import CSV data with Neo4j Desktop*]
126+
link:https://www.neo4j.com/docs/getting-started/appendix/tutorials/guide-import-desktop-csv/[How-To: Import CSV data with Neo4j Desktop]
127127

128128

129129
=== Importing JSON data from a REST API into Neo4j
@@ -135,7 +135,7 @@ image:icons/ndl/icon-neo4j.svg[]
135135
See techniques for loading data from JSON-based REST APIs into Neo4j.
136136

137137
[.link]
138-
link:{docs-home}/getting-started/data-import/json-rest-api-import/[*Importing JSON data from a REST API into Neo4j*]
138+
link:https://www.neo4j.com/docs/getting-started/data-import/json-rest-api-import/[Importing JSON data from a REST API into Neo4j]
139139

140140

141141

@@ -148,11 +148,11 @@ Here are some recommended resources start importing your data:
148148
+
149149
Learn how to import CSV data into Neo4j using Cypher.
150150

151-
* link:{docs-home}/getting-started/appendix/tutorials/guide-import-desktop-csv/[How-To: Import CSV data with Neo4j Desktop]
151+
* link:https://www.neo4j.com/docs/getting-started/appendix/tutorials/guide-import-desktop-csv/[How-To: Import CSV data with Neo4j Desktop]
152152
+
153153
Learn how to use CSV files to import data to a graph with Neo4j Destktop.
154154

155-
* link:{docs-home}/getting-started/data-import/json-rest-api-import/[Importing JSON data from a REST API into Neo4j]
155+
* link:https://www.neo4j.com/docs/getting-started/data-import/json-rest-api-import/[Importing JSON data from a REST API into Neo4j]
156156
+
157157
See techniques for loading data from JSON-based REST APIs into Neo4j.
158158

@@ -165,10 +165,10 @@ Here are some recommended resources start importing your data:
165165
+
166166
Learn how to import CSV data into Neo4j using Cypher.
167167

168-
. link:{docs-home}/getting-started/appendix/tutorials/guide-import-desktop-csv/[How-To: Import CSV data with Neo4j Desktop]
168+
. link:https://www.neo4j.com/docs/getting-started/appendix/tutorials/guide-import-desktop-csv/[How-To: Import CSV data with Neo4j Desktop]
169169
+
170170
Learn how to use CSV files to import data to a graph with Neo4j Destktop.
171171

172-
. link:{docs-home}/getting-started/data-import/json-rest-api-import/[Importing JSON data from a REST API into Neo4j]
172+
. link:https://www.neo4j.com/docs/getting-started/data-import/json-rest-api-import/[Importing JSON data from a REST API into Neo4j]
173173
+
174174
See techniques for loading data from JSON-based REST APIs into Neo4j.

preview-src/docs-ndl.adoc

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,43 +24,46 @@ Learn more about graph databases and start working with your data using Neo4j to
2424
xref:tutorials:index.adoc[Get started]
2525
--
2626

27-
[.cards.icon-l]
27+
[.cards.selectable]
2828
== CTA cards
2929

30-
[.featured.label--featured]
30+
[role=label--featured]
3131
=== Deployment options
3232

33-
[.icon]
33+
[.icon.icon-l]
3434
image:icons/ndl/deployment-options.svg[]
3535

3636
[.description]
37-
Choose from self-managed local and cloud deployments, or fully-managed options. See how to run Neo4j on Docker or Kubernetes.
37+
Choose from self-managed local and cloud deployments, or fully-managed options.
38+
39+
[.link]
40+
link:https://www.neo4j.com/docs/deployment-options[Get a Neo4j instance]
3841

3942
=== Cypher
4043

41-
[.icon]
44+
[.icon.icon-l]
4245
image:icons/ndl/cypher-manual.svg[]
4346

4447
[.description]
4548
Learn how to write Cypher, Neo4j's declarative query language.
4649

4750
[.link]
48-
xref:cypher:index.adoc[Query your data]
51+
link:https://www.neo4j.com/docs/cypher-manual/[Query your data]
4952

5053
=== Neo4j Tools
5154

52-
[.icon]
55+
[.icon.icon-l]
5356
image:icons/ndl/neo4j-tools.svg[]
5457

5558
[.description]
5659
Use Neo4j's tools to explore, visualize, manage, monitor, and import data to your graph.
5760

5861
[.link]
59-
xref:tools:index.adoc[Discover the products]
62+
link:https://www.neo4j.com/docs/tools[Discover the products]
6063

6164
=== Graph Data Science
6265

63-
[.icon]
66+
[.icon.icon-l]
6467
image:icons/ndl/data-science.svg[]
6568

6669
[.description]
@@ -71,7 +74,7 @@ xref:gds:index.adoc[Unlock insights from data]
7174

7275
=== Create applications
7376

74-
[.icon]
77+
[.icon.icon-l]
7578
image:icons/ndl/create-applications.svg[]
7679

7780
[.description]
@@ -82,7 +85,7 @@ xref:create-applications:index.adoc[Start developing]
8285

8386
=== Connect data sources
8487

85-
[.icon]
88+
[.icon.icon-l]
8689
image:icons/ndl/connectors.svg[]
8790

8891
[.description]
@@ -217,7 +220,7 @@ link:https://discord.com/invite/neo4j[Discord]
217220
image:icons/ndl/icon-developercenter.svg[]
218221

219222
[.link]
220-
link:https://neo4j.com/developer-blog/[Developer blog] xref:reference:resources.adoc[Other resources]
223+
link:https://neo4j.com/developer-blog/[Developer blog] link:https://www.neo4j.com/docs/reference/resources[Other resources]
221224

222225

223226

preview-src/lists.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
= Lists
2+
3+
== Bullet point
4+
5+
. Example 1
6+
. Example 2
7+
. Example 2
8+
9+
== Numbered
10+
11+
* Example 1
12+
* Example 2
13+
* Example 2

src/css/doc.css

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ body {
3232
font-weight: var(--heading-font-weight);
3333
hyphens: none;
3434
line-height: calc((var(--doc-line-height) + 1) / 2);
35-
margin: 2rem 0 1rem;
35+
margin: 17px 0 8px;
3636
}
3737

3838
.doc h1 {
@@ -174,7 +174,7 @@ body {
174174

175175
.doc a,
176176
.tooltip-body a {
177-
font-weight: 600;
177+
font-weight: 400;
178178
color: var(--link-font-color);
179179
}
180180

@@ -191,7 +191,7 @@ body {
191191
}
192192

193193
.doc a:visited {
194-
color: var(--link_visited-font-color);
194+
color: var(--link-font-color);
195195
}
196196

197197
.doc code a {
@@ -648,7 +648,7 @@ body {
648648

649649
.doc .olist li,
650650
.doc .ulist li {
651-
margin-bottom: 0.5rem;
651+
margin-bottom: 0.5;
652652
}
653653

654654
.doc .olist li > div:first-of-type,
@@ -1187,7 +1187,7 @@ body {
11871187
border-top-left-radius: 6px;
11881188
border-top-right-radius: 6px;
11891189
border-bottom: none;
1190-
cursor: pointer;
1190+
cursor: default;
11911191
}
11921192

11931193
.doc .tabbed-tabs .tabbed-tab--active {
@@ -1269,14 +1269,12 @@ body {
12691269
margin: 0 0.2rem;
12701270
content: "→";
12711271
color: var(--link-font-color);
1272-
transform: rotate(-45deg);
12731272
transition: all 0.2s linear;
12741273
top: 0;
12751274
}
12761275

12771276
.doc a.external:hover::after {
1278-
top: -12px;
1279-
opacity: 0;
1277+
text-decoration: none;
12801278
}
12811279

12821280
.doc .no-arrows a::after {
@@ -1321,7 +1319,7 @@ body {
13211319
}
13221320

13231321
.doc details summary {
1324-
cursor: pointer;
1322+
cursor: default;
13251323
}
13261324

13271325
.doc details[open] summary {

0 commit comments

Comments
 (0)