+
- {apps.map(app => (
-
-
-
-
-
{app.name[lang]}
-
{app.desc[lang]}
-
{app.cat[lang]}
-
-
+ {
+ apps.length
+ ? apps.map(app => (
+
+ ))
+ : (
+
+
{t("community.no_result")}
-
-
- ))}
+ )
+ }
diff --git a/pages/privacy.jsx b/pages/privacy.jsx
index 729f8c4..8d832d3 100644
--- a/pages/privacy.jsx
+++ b/pages/privacy.jsx
@@ -1,6 +1,7 @@
import { useTranslation } from "@/utils/translation"
import { Card } from "@/components/ui/card"
import privacy from "@/data/privacy"
+import Markdown from "react-markdown";
export default function DownloadPage() {
const { lang } = useTranslation();
@@ -8,7 +9,7 @@ export default function DownloadPage() {
return (
-
+ {privacy[lang]}
)
diff --git a/pages/tos.jsx b/pages/tos.jsx
index f9d8f19..3fe1c20 100644
--- a/pages/tos.jsx
+++ b/pages/tos.jsx
@@ -1,6 +1,7 @@
import { useTranslation } from "@/utils/translation"
import { Card } from "@/components/ui/card"
import tos from "@/data/tos"
+import Markdown from "react-markdown";
export default function DownloadPage() {
const { lang } = useTranslation();
@@ -8,7 +9,7 @@ export default function DownloadPage() {
return (
-
+ {tos[lang]}
)
diff --git a/pages/whitepaper.jsx b/pages/whitepaper.jsx
index 2cf7c9d..6770e8e 100644
--- a/pages/whitepaper.jsx
+++ b/pages/whitepaper.jsx
@@ -1,6 +1,7 @@
import { useTranslation } from "@/utils/translation"
import { Card } from "@/components/ui/card"
import whitepaper from "@/data/whitepaper"
+import Markdown from "react-markdown";
export default function DownloadPage() {
const { lang } = useTranslation();
@@ -8,7 +9,7 @@ export default function DownloadPage() {
return (
-
+ {whitepaper[lang]}
)
diff --git a/public/carburetor.png b/public/carburetor.png
new file mode 100644
index 0000000..898fc5b
Binary files /dev/null and b/public/carburetor.png differ