Skip to content

Commit 2c62338

Browse files
committed
Add clients page
1 parent 3d2825b commit 2c62338

15 files changed

+164
-221
lines changed
Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
<script setup lang="ts">
2+
import { useRouter } from 'vue-router'
3+
4+
interface Client {
5+
id: string
6+
name: string
7+
icon: string
8+
path: string
9+
}
10+
11+
const router = useRouter()
12+
13+
const clients: Client[] = [
14+
{
15+
id: 'dotnet-client',
16+
name: '.NET',
17+
icon: 'dotnet',
18+
path: '/clients/dotnet/latest'
19+
},
20+
{
21+
id: 'java-client',
22+
name: 'Java',
23+
icon: 'java',
24+
path: '/clients/java/latest'
25+
},
26+
{
27+
id: 'node-client',
28+
name: 'Node.js',
29+
icon: 'nodejs',
30+
path: '/clients/node/latest'
31+
},
32+
{
33+
id: 'python-client',
34+
name: 'Python',
35+
icon: 'python',
36+
path: '/clients/python/latest'
37+
},
38+
{
39+
id: 'golang-client',
40+
name: 'Go',
41+
icon: 'go',
42+
path: '/clients/golang/latest'
43+
},
44+
{
45+
id: 'rust-client',
46+
name: 'Rust',
47+
icon: 'rust',
48+
path: '/clients/rust/latest'
49+
}
50+
]
51+
52+
const navigate = (client: Client): void => {
53+
router.push(client.path)
54+
}
55+
</script>
56+
57+
<template>
58+
<div class="clients-grid">
59+
<div class="grid">
60+
<div
61+
v-for="client in clients"
62+
:key="client.id"
63+
class="client-card"
64+
@click="navigate(client)"
65+
>
66+
<div class="client-icon">
67+
<img
68+
:src="`https://skillicons.dev/icons?i=${client.icon}`"
69+
:alt="client.name"
70+
class="skill-icon"
71+
/>
72+
</div>
73+
<p>{{ client.name }}</p>
74+
</div>
75+
</div>
76+
</div>
77+
</template>
78+
79+
<style lang="scss" scoped>
80+
.clients-grid {
81+
padding: 2rem 0;
82+
}
83+
84+
.grid {
85+
display: grid;
86+
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
87+
gap: 1.5rem;
88+
max-width: 1200px;
89+
}
90+
91+
.client-card {
92+
background: var(--vp-c-bg-soft);
93+
border: 1px solid var(--vp-c-border);
94+
border-radius: 12px;
95+
padding: 2rem;
96+
text-align: center;
97+
cursor: pointer;
98+
position: relative;
99+
overflow: hidden;
100+
101+
p {
102+
margin: 0;
103+
color: var(--vp-c-text-2);
104+
font-size: 0.95rem;
105+
line-height: 1.5;
106+
text-align: center;
107+
}
108+
}
109+
110+
.client-icon {
111+
margin-bottom: 1.5rem;
112+
display: flex;
113+
justify-content: center;
114+
align-items: center;
115+
}
116+
117+
.skill-icon {
118+
width: 48px;
119+
height: 48px;
120+
pointer-events: none;
121+
}
122+
123+
.dark .client-card {
124+
background: var(--vp-c-bg-alt);
125+
}
126+
127+
@media (max-width: 768px) {
128+
.grid {
129+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
130+
gap: 1.5rem;
131+
padding: 0 0.5rem;
132+
}
133+
134+
.client-card {
135+
padding: 1.5rem;
136+
}
137+
}
138+
139+
@media (max-width: 480px) {
140+
.grid {
141+
grid-template-columns: 1fr;
142+
}
143+
}
144+
</style>

docs/clients/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
sitemap:
3+
priority: 0
4+
changefreq: monthly
5+
---
6+
7+
# Clients
8+
9+
Building with KurrentDB begins with choosing the right client library for your
10+
programming language. KurrentDB client libraries provide the essential tools and
11+
APIs needed to integrate your applications with KurrentDB's event streaming
12+
platform, whether you're using [Kurrent Cloud](/cloud/introduction.md) or
13+
deploying [on-premises](https://www.kurrent.io/kurrent-platform-editions).
14+
15+
KurrentDB maintains and actively develops client libraries for multiple
16+
programming languages. Our engineering team continuously enhances these
17+
libraries with new features, performance optimizations, security updates, and
18+
compatibility improvements to support your needs.
19+
20+
<ClientsGrid />

docs/clients/grpc/README.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

docs/clients/grpc/appending-events.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

docs/clients/grpc/authentication.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

docs/clients/grpc/delete-stream.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

docs/clients/grpc/getting-started.md

Lines changed: 0 additions & 21 deletions
This file was deleted.
-183 KB
Binary file not shown.
-18.4 KB
Binary file not shown.

docs/clients/grpc/observability.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)