diff --git a/src/main.tsx b/src/main.tsx index bfd42c1..9d687a8 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -15,7 +15,7 @@ import * as Sentry from "@sentry/react"; import { CodexSdk } from "./sdk/codex"; import { ErrorPlaceholder } from "./components/ErrorPlaceholder/ErrorPlaceholder.tsx"; -if (true || (import.meta.env.PROD && !import.meta.env.CI)) { +if (import.meta.env.PROD && !import.meta.env.CI) { Sentry.init({ release: "codex-storage-marketplace-ui@" + import.meta.env.PACKAGE_VERSION, dsn: "https://22d77c59a27b8d5efc07132188b505b9@o4507855852011520.ingest.de.sentry.io/4507866758512720", diff --git a/src/routes/dashboard/help.tsx b/src/routes/dashboard/help.tsx index ea78221..d72e760 100644 --- a/src/routes/dashboard/help.tsx +++ b/src/routes/dashboard/help.tsx @@ -4,111 +4,113 @@ import { HelpCircle } from "lucide-react"; import { useEffect } from "react"; import * as Sentry from "@sentry/react"; -export const Route = createFileRoute("/dashboard/help")({ - component: () => { - useEffect(() => { - const feedback = Sentry.feedbackIntegration({ - // Additional SDK configuration goes in here, for example: - colorScheme: "dark", - triggerLabel: "", - }); - const widget = feedback.createWidget(); - return () => { - return widget.removeFromDom(); - }; - }, []); +const Help = () => { + useEffect(() => { + const feedback = Sentry.feedbackIntegration({ + // Additional SDK configuration goes in here, for example: + colorScheme: "dark", + triggerLabel: "", + }); + const widget = feedback.createWidget(); + return () => { + return widget.removeFromDom(); + }; + }, []); - return ( -
-
-

You might be wondering...

+ return ( +
+
+

You might be wondering...

-
- -
-

What's Codex?

-

- Codex is a decentralised data storage platform that provides - exceptionally strong censorship resistance and durability - guarantees. It serves as the storage layer of the Logos tech - stack. -

-
+
+ +
+

What's Codex?

+

+ Codex is a decentralised data storage platform that provides + exceptionally strong censorship resistance and durability + guarantees. It serves as the storage layer of the Logos tech + stack. +

+
-
- -
-

- What is the purpose of this web application? -

-

- This application allows you to interact with the Codex - Marketplace network in a user-friendly manner. -

-
+
+ +
+

+ What is the purpose of this web application? +

+

+ This application allows you to interact with the Codex Marketplace + network in a user-friendly manner. +

+
-
- -
-

Can Codex handle big files ?

-

- Codex can handle very large files, which is its main purpose. - However, for this UI, the files used should not be too large. -

-
+
+ +
+

Can Codex handle big files ?

+

+ Codex can handle very large files, which is its main purpose. + However, for this UI, the files used should not be too large. +

+
-
- -
-

Is it production ready ?

-

- Not at all! This is a very early alpha version. You should - expect to encounter bugs, but don't worry—feel free to reach out - to us if you need assistance. -

-
+
+ +
+

Is it production ready ?

+

+ Not at all! This is a very early alpha version. You should expect + to encounter bugs, but don't worry—feel free to reach out to us if + you need assistance. +

+
-
- -
-

- How can I reach you if I am stuck ? -

-

- Please create a new issue on our GitHub repository  - - https://github.com/codex-storage/codex-marketplace-ui - - . -

-
+
+ +
+

+ How can I reach you if I am stuck ? +

+

+ Please create a new issue on our GitHub repository  + + https://github.com/codex-storage/codex-marketplace-ui + + . +

+
-
- -
-

How can I build and run Codex ?

-

- For instructions, please visit{" "} - - https://docs.codex.storage - - . -

-
+
+ +
+

How can I build and run Codex ?

+

+ For instructions, please visit{" "} + + https://docs.codex.storage + + . +

- ); - }, +
+ ); +}; + +export const Route = createFileRoute("/dashboard/help")({ + component: Help, });