diff --git a/src/assets/locales/en.json b/src/assets/locales/en.json index b56ca1f1..e2ebc43f 100644 --- a/src/assets/locales/en.json +++ b/src/assets/locales/en.json @@ -253,7 +253,8 @@ "register": "Register", "settings": "Settings", "migration": "Migrate Account", - "jip": "Jip" + "jip": "Jip", + "pas": "Pas" }, "keyboardShortcuts": { "title": "Keyboard Shortcuts", @@ -1107,15 +1108,11 @@ }, "jip": { "title": "Jip", - "text": "P-Stream didn't fall out of a coconut tree, it was made mostly by a single person (a very epic one at that).", - "q1": { - "body": "You can join the official <0>P-Stream fluxer and ask questions there or you can email the one provided at the bottom of this page.", - "title": "Where can I get help?" - }, - "q2": { - "body": "We have a <0>GitHub where you can create a detailed issue in our repository. Additionally, if you wish, you can create a pull request to fix the issue yourself.", - "title": "How can I report a bug or issue?" - } + "text": "movie-web didn't fall out of a coconut tree, it was made mostly by a single person (a very epic one at that)." + }, + "pas": { + "title": "Pas", + "text": "P-Stream was a dream and Pas made it a reality." }, "screens": { "legal": { diff --git a/src/pages/Pas.tsx b/src/pages/Pas.tsx new file mode 100644 index 00000000..c7bda3a1 --- /dev/null +++ b/src/pages/Pas.tsx @@ -0,0 +1,59 @@ +import classNames from "classnames"; +import { Trans, useTranslation } from "react-i18next"; + +import { ThinContainer } from "@/components/layout/ThinContainer"; +import { Heading1, Paragraph } from "@/components/utils/Text"; +import { PageTitle } from "@/pages/parts/util/PageTitle"; + +import { SubPageLayout } from "./layouts/SubPageLayout"; + +// too lazy to import the actual button component +function Button(props: { + className: string; + onClick?: () => void; + children: React.ReactNode; + disabled?: boolean; +}) { + return ( + + ); +} + +export function PasPage() { + const { t } = useTranslation(); + + return ( + + + + {t("pas.title")} + + , + }} + /> + + + + + ); +} diff --git a/src/setup/App.tsx b/src/setup/App.tsx index 9bd30023..02aac5f5 100644 --- a/src/setup/App.tsx +++ b/src/setup/App.tsx @@ -39,6 +39,7 @@ import { MigrationUploadPage } from "@/pages/migration/MigrationUpload"; import { OnboardingPage } from "@/pages/onboarding/Onboarding"; import { OnboardingExtensionPage } from "@/pages/onboarding/OnboardingExtension"; import { OnboardingProxyPage } from "@/pages/onboarding/OnboardingProxy"; +import { PasPage } from "@/pages/Pas"; import { RegisterPage } from "@/pages/Register"; import { SupportPage } from "@/pages/Support"; import { WatchHistory } from "@/pages/watchHistory/WatchHistory"; @@ -190,6 +191,7 @@ function App() { {/* Support page */} } /> } /> + } /> {/* Discover pages */} } />