Skip to content

Commit 494a5ae

Browse files
committed
Connect/Java: Make primary navigation cards look more pleasant
1 parent d28e557 commit 494a5ae

File tree

2 files changed

+23
-10
lines changed

2 files changed

+23
-10
lines changed

docs/_include/logos.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!-- markdownlint-disable MD034 -->
2+
<!-- markdownlint-disable MD053 -->
3+
4+
[CrateDB logo]: https://avatars.githubusercontent.com/u/4048232?s=200&v=4
5+
[Hibernate logo]: https://logo.svgcdn.com/devicon/hibernate-original.svg
6+
[jOOQ logo]: https://www.jooq.org/img/jooq-logo-black.png
7+
[JUnit logo]: https://avatars.githubusercontent.com/u/874086?s=200&v=4
8+
[PostgreSQL logo]: https://jdbc.postgresql.org/icons/postgreslogo.svg

docs/connect/java/index.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55

66
:::{include} /_include/links.md
77
:::
8+
:::{include} /_include/logos.md
9+
:::
810

911
:::{div} sd-text-muted
10-
Java applications mostly use JDBC to connect to CrateDB.
12+
Connect to CrateDB from Java.
1113
:::
1214

1315
## Protocols
@@ -48,42 +50,46 @@ and more details about the CrateDB JDBC Driver.
4850
You can also talk to CrateDB using HTTP, using any HTTP library of your choice.
4951
Below is a quick example using Apache Commons HTTP.
5052

53+
:::{todo}
54+
Add example.
55+
:::
56+
5157

52-
## Driver list
58+
## Drivers and adapters
5359

5460
:::::{grid} 2 2 2 3
55-
:gutter: 3
61+
:gutter: 2
5662
:padding: 0
5763

58-
::::{grid-item-card} {fab}`java;fa-xl` PostgreSQL JDBC
64+
::::{grid-item-card} ![PostgreSQL logo][PostgreSQL logo]{height=40px} &nbsp; PostgreSQL JDBC
5965
:link: postgresql-jdbc
6066
:link-type: ref
6167
:link-alt: PostgreSQL JDBC (pgJDBC)
6268
The PostgreSQL JDBC driver.
6369
::::
6470

65-
::::{grid-item-card} {fab}`java;fa-xl` CrateDB JDBC
71+
::::{grid-item-card} ![CrateDB logo][CrateDB logo]{height=40px} &nbsp; CrateDB JDBC
6672
:link: cratedb-jdbc
6773
:link-type: ref
6874
:link-alt: CrateDB JDBC
6975
The CrateDB JDBC driver.
7076
::::
7177

72-
::::{grid-item-card} {fab}`hibernate` Hibernate
78+
::::{grid-item-card} ![Hibernate logo][Hibernate logo]{height=40px} &nbsp; Hibernate
7379
:link: hibernate
7480
:link-type: ref
7581
:link-alt: Hibernate with CrateDB
7682
A Quarkus/Panache example using Hibernate.
7783
::::
7884

79-
::::{grid-item-card} {fab}`jooq` jOOQ
80-
:link: hibernate
85+
::::{grid-item-card} ![jOOQ logo][jOOQ logo]{height=40px} &nbsp; jOOQ
86+
:link: jooq
8187
:link-type: ref
8288
:link-alt: jOOQ with CrateDB
8389
A jOOQ example.
8490
::::
8591

86-
::::{grid-item-card} {fab}`junit` Software testing
92+
::::{grid-item-card} ![JUnit logo][JUnit logo]{height=40px} &nbsp; Software testing
8793
:link: java-testing
8894
:link-type: ref
8995
:link-alt: Software testing with CrateDB and Java
@@ -92,7 +98,6 @@ JUnit and Testcontainers for CrateDB.
9298

9399
:::::
94100

95-
{material-outlined}`apps;2em`
96101

97102
:::{toctree}
98103
:maxdepth: 1

0 commit comments

Comments
 (0)