|
1 | 1 | import { |
2 | | - mainProject0Text, |
3 | | - mainProject0Title, |
4 | | - mainProject2Text, |
5 | | - mainProject2Title, |
6 | | - ourProductsCommercialData1Text, |
7 | | - ourProductsCommercialData1Title, |
8 | | - ourProductsCommercialData2Text, |
9 | | - ourProductsCommercialData2Title, |
10 | | - ourProductsCommercialData3Text, |
11 | | - ourProductsCommercialData3Title |
| 2 | + productsOpenSourceData1Text, |
| 3 | + productsOpenSourceData1Title, |
| 4 | + productsOpenSourceData2Text, |
| 5 | + productsOpenSourceData2Title, |
| 6 | + productsOpenSourceData3Title, |
| 7 | + productsOpenSourceData3Text, |
| 8 | + productsCommercialData1Text, |
| 9 | + productsCommercialData1Title, |
| 10 | + productsCommercialData2Text, |
| 11 | + productsCommercialData2Title, |
| 12 | + productsCommercialData3Text, |
| 13 | + productsCommercialData3Title |
12 | 14 | } from "@/locales/.generated/server"; |
13 | 15 | import type { SupportedLanguage } from "@/locales/.generated/types"; |
14 | 16 |
|
15 | 17 | export function getCommercialProduct(lang: SupportedLanguage) { |
16 | 18 | return [ |
17 | 19 | { |
18 | | - title: ourProductsCommercialData2Title(lang), |
19 | | - description: ourProductsCommercialData2Text(lang), |
| 20 | + title: productsCommercialData2Title(lang), |
| 21 | + description: productsCommercialData2Text(lang), |
20 | 22 | image: "/images/products/media-pulse.svg" |
21 | 23 | }, |
22 | 24 | { |
23 | | - title: ourProductsCommercialData1Title(lang), |
24 | | - description: ourProductsCommercialData1Text(lang), |
| 25 | + title: productsCommercialData1Title(lang), |
| 26 | + description: productsCommercialData1Text(lang), |
25 | 27 | image: "/images/products/startGPT.svg" |
26 | 28 | }, |
| 29 | + |
27 | 30 | { |
28 | | - title: ourProductsCommercialData3Title(lang), |
29 | | - description: ourProductsCommercialData3Text(lang), |
30 | | - image: "/images/open-source/monika.svg", |
31 | | - url: "https://monika.hyperjump.tech/", |
32 | | - repoUrl: "https://github.com/hyperjumptech/monika", |
33 | | - button: true, |
34 | | - repo: "monika" |
| 31 | + title: productsCommercialData3Title(lang), |
| 32 | + description: productsCommercialData3Text(lang), |
| 33 | + image: "/images/products/voxa.svg" |
35 | 34 | } |
36 | 35 | ]; |
37 | 36 | } |
38 | 37 |
|
39 | 38 | export function getOpenSource(lang: SupportedLanguage) { |
40 | 39 | return [ |
41 | 40 | { |
42 | | - title: mainProject0Title(lang), |
43 | | - description: mainProject0Text(lang), |
| 41 | + title: productsOpenSourceData1Title(lang), |
| 42 | + description: productsOpenSourceData1Text(lang), |
| 43 | + image: "/images/open-source/monika.svg", |
| 44 | + url: "https://monika.hyperjump.tech/", |
| 45 | + repoUrl: "https://github.com/hyperjumptech/monika", |
| 46 | + button: true, |
| 47 | + repo: "monika" |
| 48 | + }, |
| 49 | + { |
| 50 | + title: productsOpenSourceData2Title(lang), |
| 51 | + description: productsOpenSourceData2Text(lang), |
44 | 52 | image: "/images/open-source/grule.svg", |
45 | 53 | url: "https://github.com/hyperjumptech/grule-rule-engine", |
46 | 54 | repoUrl: "https://github.com/hyperjumptech/grule-rule-engine", |
47 | 55 | button: true, |
48 | 56 | repo: "grule-rule-engine" |
49 | 57 | }, |
50 | 58 | { |
51 | | - title: mainProject2Title(lang), |
52 | | - description: mainProject2Text(lang), |
| 59 | + title: productsOpenSourceData3Title(lang), |
| 60 | + description: productsOpenSourceData3Text(lang), |
53 | 61 | image: "/images/open-source/whatsapp-chatbot-connector.svg", |
54 | 62 | url: "https://github.com/hyperjumptech/whatsapp-chatbot-connector", |
55 | 63 | repoUrl: "https://github.com/hyperjumptech/whatsapp-chatbot-connector", |
|
0 commit comments