Skip to content

Commit b708cfe

Browse files
committed
New GSG and GA banners and fixes
1 parent 666290e commit b708cfe

File tree

7 files changed

+18198
-12442
lines changed

7 files changed

+18198
-12442
lines changed

package-lock.json

Lines changed: 17780 additions & 12432 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

preview-src/docs-ndl.adoc

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,24 @@
66
:!toc:
77
:page-toclevels: -1
88

9+
10+
[.widget2.banner]
11+
== Getting started
12+
13+
[.icon]
14+
image:icons/ndl/start.svg[]
15+
16+
--
17+
[.caption2]
18+
Get started with Neo4j
19+
20+
[.description2]
21+
Learn more about graph databases and start working with your data using Neo4j tools.
22+
23+
[.banner.button]
24+
xref:tutorials:index.adoc[Get started]
25+
--
26+
927
[.cards.icon-l]
1028
== CTA cards
1129

@@ -19,10 +37,6 @@ image:icons/ndl/deployment-options.svg[]
1937
[.description]
2038
Choose from self-managed local and cloud deployments, or fully-managed options. See how to run Neo4j on Docker or Kubernetes.
2139

22-
[.link]
23-
xref:deployment-options:index.adoc[Create your database]
24-
25-
2640
=== Cypher
2741

2842
[.icon]
@@ -163,6 +177,26 @@ Tutorials & How-to guides
163177
xref:tutorials:index.adoc[All tutorials]
164178
--
165179

180+
[.widget3.highlights]
181+
== GraphAcademy courses
182+
183+
[.icon2]
184+
image:icons/ndl/ga-home.png[]
185+
186+
--
187+
[.caption]
188+
GraphAcademy courses
189+
190+
[.list2]
191+
* link:{docs-home}/genai/tutorials/embeddings-vector-indexes/[Embedding & Vector Indexes Tutorial]
192+
* link:{docs-home}/getting-started/appendix/tutorials/guide-import-relational-and-etl/[Import data from a relational database into Neo4j]
193+
* link:{docs-home}/getting-started/appendix/tutorials/guide-build-a-recommendation-engine/[Build a Cypher recommendation engine]
194+
* link:{docs-home}/operations-manual/current/tutorial/tutorial-composite-database/[Set up and use a composite database]
195+
196+
[.footer-link]
197+
xref:tutorials:index.adoc[All tutorials]
198+
--
199+
166200

167201
[.cards.icon-s.align-center]
168202
== Other resources
@@ -185,7 +219,7 @@ image:icons/ndl/icon-community.svg[]
185219
link:https://community.neo4j.com/[Community forum]
186220
link:https://discord.com/invite/neo4j[Discord]
187221

188-
=== Developer blogs, articles and books
222+
=== Dev blogs, articles, and books
189223

190224
[.icon]
191225
image:icons/ndl/icon-developercenter.svg[]

preview-src/icons/ndl/ga-home.png

916 KB
Loading

preview-src/icons/ndl/start.svg

Lines changed: 133 additions & 0 deletions
Loading

src/css/docs-ndl.css

Lines changed: 181 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,24 @@ body.docs-ndl .widget .sectionbody {
211211
column-gap: 0;
212212
}
213213

214+
body.docs-ndl .widget2 .sectionbody {
215+
background: rgba(var(--colors-baltic-60));
216+
border-radius: 1rem;
217+
border: none;
218+
padding: 0;
219+
row-gap: 0;
220+
column-gap: 0;
221+
}
222+
223+
body.docs-ndl .widget3 .sectionbody {
224+
background: rgba(var(--colors-neutral-10));
225+
border-radius: 1rem;
226+
border: none;
227+
padding: 1rem;
228+
row-gap: 0;
229+
column-gap: 0;
230+
}
231+
214232
body.docs-ndl.sub .widget .sectionbody {
215233
background: transparent;
216234
padding: 0;
@@ -219,6 +237,22 @@ body.docs-ndl.sub .widget .sectionbody {
219237
column-gap: 1rem;
220238
}
221239

240+
body.docs-ndl.sub .widget2 .sectionbody {
241+
background: transparent;
242+
padding: 0;
243+
justify-content: flex-start;
244+
row-gap: 1rem;
245+
column-gap: 1rem;
246+
}
247+
248+
body.docs-ndl.sub .widget3 .sectionbody {
249+
background: transparent;
250+
padding: 0;
251+
justify-content: flex-start;
252+
row-gap: 1rem;
253+
column-gap: 1rem;
254+
}
255+
222256
body.docs-ndl.sub .widget .sectionbody .sect2 {
223257
border-radius: 1rem;
224258
flex: 0 0 32%;
@@ -270,7 +304,7 @@ body.docs-ndl .next-steps .sectionbody ol li:last-of-type {
270304

271305
body.docs-ndl .next-steps .sectionbody ol li p {
272306
margin: 0 0 0 1rem;
273-
}
307+
}dd
274308

275309
body.docs-ndl .next-steps .sectionbody ol li div.paragraph {
276310
margin: 0;
@@ -366,6 +400,21 @@ body.docs-ndl .paragraph.caption {
366400
font-weight: var(--font-weight-normal);
367401
}
368402

403+
body.docs-ndl .paragraph.caption2,
404+
body.docs-ndl .paragraph.footer-link {
405+
display: flex;
406+
width: 100%;
407+
padding: 12px 0 0;
408+
margin: 0;
409+
color: var(--color-white);
410+
}
411+
412+
body.docs-ndl .paragraph.caption2 {
413+
font-family: var(--header-font-family);
414+
font-size: var(--doc-font-size-h2);
415+
font-weight: var(--font-weight-normal);
416+
}
417+
369418
body.docs-ndl .paragraph.footer-link {
370419
justify-content: flex-end;
371420
padding-right: 0;
@@ -391,22 +440,90 @@ body.docs-ndl .cards .sect2.selectable:hover div.description {
391440
text-decoration: underline;
392441
}
393442

443+
/* banner */
444+
445+
body.docs-ndl .banner .sectionbody > div.openblock {
446+
flex: 0 0 50%;
447+
padding: 3px 3px 3px;
448+
border-bottom: 0;
449+
margin-bottom: 0;
450+
}
451+
452+
body.docs-ndl .banner .sectionbody > div.icon {
453+
flex: 0 0 40%;
454+
padding: 0;
455+
object-fit: cover;
456+
border-radius: 0.25rem;
457+
margin-bottom: 0;
458+
}
459+
460+
body.docs-ndl .banner .icon img {
461+
width: 639px;
462+
height: 246px;
463+
padding: 0 6.7rem 0;
464+
margin: 0;
465+
}
466+
467+
body.docs-ndl .banner .button {
468+
border-radius: 0.25rem;
469+
padding: 0.5em 1.5em;
470+
font-weight: 400;
471+
text-align: center;
472+
margin-left: 24px;
473+
}
474+
475+
@media screen and (min-width: 1024px) {
476+
.banner .banner-item.button-cta {
477+
padding-right: 0 1rem 0;
478+
}
479+
}
480+
481+
.banner .button:hover {
482+
background: rgba(var(--banner-background-color));
483+
color: var(--colors-baltic-25);
484+
}
485+
486+
.description2 {
487+
color: var(--color-white);
488+
font-size: var(--doc-font-size--desktop);
489+
line-height: var(--doc-line-height);
490+
margin: var(--doc-margin);
491+
max-width: var(--doc-max-width);
492+
padding: 12px 24px 12px;
493+
}
494+
394495
/* highlights */
395496

396497
body.docs-ndl .highlights .sectionbody > div.openblock {
397498
flex: 0 1 40%;
398499
}
399500

400501
body.docs-ndl .highlights .sectionbody > div.icon {
401-
flex: 0 1 60%;
402-
padding: 0 6rem;
502+
flex: 0 1 40%;
503+
padding-top: 1rem;
504+
padding-bottom: 1rem;
505+
padding-left: 8rem;
506+
padding-right: 5.438rem;
507+
align-self: center;
508+
}
509+
510+
body.docs-ndl .highlights .sectionbody > div.icon2 {
511+
flex: 0 1 40%;
512+
padding-top: 1rem;
513+
padding-bottom: 1rem;
514+
padding-left: 5rem;
515+
padding-right: 4rem;
403516
align-self: center;
404517
}
405518

406519
body.docs-ndl .highlights .sectionbody > div.icon span.image {
407520
display: flex;
408521
}
409522

523+
body.docs-ndl .highlights .sectionbody > div.icon2 span.image {
524+
display: flex;
525+
}
526+
410527
body.docs-ndl .highlights .list {
411528
padding-left: 1rem;
412529
}
@@ -416,6 +533,16 @@ body.docs-ndl .highlights .list ul li {
416533
padding-bottom: 0.5rem;
417534
}
418535

536+
body.docs-ndl .highlights .list2 {
537+
padding-left: 1rem;
538+
}
539+
540+
body.docs-ndl .highlights .list2 ul li {
541+
border-bottom: 1px solid rgba(var(--colors-neutral-20));
542+
padding-bottom: 0.5rem;
543+
list-style-type: none;
544+
}
545+
419546
body.docs-ndl .widget.highlights .footer-link {
420547
text-align: end;
421548
}
@@ -435,7 +562,7 @@ body.docs-ndl .widget.highlights .icon img {
435562
/* lists */
436563

437564
body.docs-ndl .lists .sectionbody > div.sect2 {
438-
flex: 0 0 25%;
565+
flex: 0 0 22%;
439566
}
440567

441568
body.docs-ndl .widget .sectionbody > div.sect2 .ulist {
@@ -466,7 +593,7 @@ body.docs-ndl .sect2 {
466593
}
467594

468595
body.docs-ndl .cards .sectionbody > div.sect2 {
469-
flex: 0 1 32%;
596+
flex: 0 1 29%;
470597
/* margin-right: 1rem; */
471598
}
472599

@@ -577,6 +704,22 @@ body.docs-ndl .widget .icon {
577704
width: 100%;
578705
}
579706

707+
body.docs-ndl .cards .sect2 .icon,
708+
body.docs-ndl .widget2 .icon {
709+
order: 1;
710+
padding: 0;
711+
margin: 0;
712+
width: 100%;
713+
}
714+
715+
body.docs-ndl .cards .sect2 .icon,
716+
body.docs-ndl .widget3 .icon {
717+
order: 0;
718+
padding: 0;
719+
margin: 0;
720+
width: 100%;
721+
}
722+
580723
body.docs-ndl .cards .sect2 .icon p {
581724
display: flex;
582725
width: -webkit-fill-available;
@@ -598,6 +741,10 @@ body.docs-ndl .widget.highlights .icon {
598741
padding: 2rem;
599742
}
600743

744+
body.docs-ndl .widget3.highlights .icon {
745+
padding: 2rem;
746+
}
747+
601748
body.docs-ndl .cards .sect2 .icon img {
602749
width: 4rem;
603750
height: 4rem;
@@ -753,6 +900,24 @@ body.docs-ndl .cards .sect2 .ulist ul li {
753900
justify-content: center;
754901
}
755902

903+
body.docs-ndl .widget2 .sectionbody {
904+
row-gap: 2rem;
905+
}
906+
907+
body.docs-ndl .widget2 .sectionbody > div {
908+
flex: 0 1 100%;
909+
justify-content: center;
910+
}
911+
912+
body.docs-ndl .widget3 .sectionbody {
913+
row-gap: 2rem;
914+
}
915+
916+
body.docs-ndl .widget3 .sectionbody > div {
917+
flex: 0 1 100%;
918+
justify-content: center;
919+
}
920+
756921
body.docs-ndl .lists ul {
757922
/* text-align: center; */
758923
}
@@ -762,6 +927,17 @@ body.docs-ndl .cards .sect2 .ulist ul li {
762927
flex: 0 0 48%;
763928
}
764929

930+
body.docs-ndl .widget2 .sectionbody .sect2,
931+
body.docs-ndl.sub .widget2 .sectionbody .sect2 {
932+
flex: 0 0 48%;
933+
}
934+
935+
body.docs-ndl .widget3 .sectionbody .sect2,
936+
body.docs-ndl.sub .widget3 .sectionbody .sect2 {
937+
flex: 0 0 48%;
938+
}
939+
940+
765941
body.docs-ndl .lists .sectionbody > div.sect2 > * {
766942
/* margin: 0 auto; */
767943
}

0 commit comments

Comments
 (0)