@@ -3,51 +3,51 @@ import Heading from "@theme/Heading";
3
3
import UseCaseItem from "@site/src/components/Homepage/UseCases/UseCaseItem" ;
4
4
import Link from "@docusaurus/Link" ;
5
5
import { Icon } from "../../Common/Icon" ;
6
+ import connectingCSharpApplicationToCloudImg from "@site/static/img/cloud/connecting-c-application-article-cover.jpg" ;
7
+ import connectingNodeJsApplicationToCloudImg from "@site/static/img/cloud/connecting-nodejs-to-ravendb-article-cover.jpg" ;
6
8
7
9
const cloudUseCases = [
8
- {
9
- title : "Connecting C# application to Cloud" ,
10
- imgSrc :
11
- "https://ravendb.net/wp-content/uploads/2025/01/connecting-c-application-article-cover.jpg" ,
12
- description : (
13
- < >
14
- Learn how to connect to your Cloud instance with C#, and how to confirm
15
- your connection is established.
16
- </ >
17
- ) ,
18
- url : "https://ravendb.net/articles/connecting-c-application-to-ravendb-cloud" ,
19
- } ,
20
- {
21
- title : "Connecting Node.js application to Cloud" ,
22
- imgSrc :
23
- "https://ravendb.net/wp-content/uploads/2025/01/connecting-nodejs-to-ravendb-article-cover.jpg" ,
24
- description : (
25
- < >
26
- Learn how to connect to your Cloud instance with Node.js, and how to
27
- confirm your connection is established.
28
- </ >
29
- ) ,
30
- url : "https://ravendb.net/articles/connecting-node-js-application-to-ravendb-cloud" ,
31
- } ,
10
+ {
11
+ title : "Connecting C# application to Cloud" ,
12
+ imgSrc : connectingCSharpApplicationToCloudImg ,
13
+ description : (
14
+ < >
15
+ Learn how to connect to your Cloud instance with C#, and how to
16
+ confirm your connection is established.
17
+ </ >
18
+ ) ,
19
+ url : "https://ravendb.net/articles/connecting-c-application-to-ravendb-cloud" ,
20
+ } ,
21
+ {
22
+ title : "Connecting Node.js application to Cloud" ,
23
+ imgSrc : connectingNodeJsApplicationToCloudImg ,
24
+ description : (
25
+ < >
26
+ Learn how to connect to your Cloud instance with Node.js, and
27
+ how to confirm your connection is established.
28
+ </ >
29
+ ) ,
30
+ url : "https://ravendb.net/articles/connecting-node-js-application-to-ravendb-cloud" ,
31
+ } ,
32
32
] ;
33
33
34
34
export default function CloudUseCases ( ) : ReactNode {
35
- return (
36
- < section className = "mb-8" >
37
- < div className = "flex justify-between items-baseline" >
38
- < Heading as = "h3" > Use cases</ Heading >
39
- < Link
40
- to = "https://ravendb.net/articles"
41
- className = "inline-flex text-base/4 gap-2"
42
- >
43
- See all < Icon icon = "newtab" size = "xs" />
44
- </ Link >
45
- </ div >
46
- < div className = "grid grid-cols-1 sm:grid-cols-2 gap-4" >
47
- { cloudUseCases . map ( ( props , idx ) => (
48
- < UseCaseItem key = { idx } { ...props } />
49
- ) ) }
50
- </ div >
51
- </ section >
52
- ) ;
35
+ return (
36
+ < section className = "mb-8" >
37
+ < div className = "flex justify-between items-baseline" >
38
+ < Heading as = "h3" > Use cases</ Heading >
39
+ < Link
40
+ to = "https://ravendb.net/articles"
41
+ className = "inline-flex text-base/4 gap-2"
42
+ >
43
+ See all < Icon icon = "newtab" size = "xs" />
44
+ </ Link >
45
+ </ div >
46
+ < div className = "grid grid-cols-1 sm:grid-cols-2 gap-4" >
47
+ { cloudUseCases . map ( ( props , idx ) => (
48
+ < UseCaseItem key = { idx } { ...props } />
49
+ ) ) }
50
+ </ div >
51
+ </ section >
52
+ ) ;
53
53
}
0 commit comments