From af3793b3f30eb1712f1513969daa7dcda1fac952 Mon Sep 17 00:00:00 2001 From: Ivan Evans <74743263+Pasithea0@users.noreply.github.com> Date: Fri, 6 Dec 2024 15:47:02 -0700 Subject: [PATCH] improve onboarding a bit --- src/assets/locales/en.json | 4 +-- src/pages/onboarding/Onboarding.tsx | 45 ++++++++++++++--------------- 2 files changed, 23 insertions(+), 26 deletions(-) diff --git a/src/assets/locales/en.json b/src/assets/locales/en.json index f4422aec..b7b91de0 100644 --- a/src/assets/locales/en.json +++ b/src/assets/locales/en.json @@ -228,7 +228,7 @@ "defaultConfirm": { "cancel": "Cancel", "confirm": "Use default setup", - "description": "The default setup does not have the best streams and can be unbearably slow. ( ͠° ͟ʖ ͡°)", + "description": "The default setup does not have the best streams and can be unbearably slow.", "title": "Are you sure?" }, "extension": { @@ -269,7 +269,7 @@ "explainer": "To get the best streams possible, you will need to choose which streaming method you want to use.", "options": { "default": { - "text": "I don't want good quality streams,<0 /> <1>use the default setup ▄︻デ══━一 ʕ•͡-•ʔ" + "text": "I don't want good quality streams, use the default setup." }, "extension": { "action": "Install extension", diff --git a/src/pages/onboarding/Onboarding.tsx b/src/pages/onboarding/Onboarding.tsx index 01ff209f..39a82536 100644 --- a/src/pages/onboarding/Onboarding.tsx +++ b/src/pages/onboarding/Onboarding.tsx @@ -23,6 +23,14 @@ function VerticalLine(props: { className?: string }) { ); } +function HorizontalLine(props: { className?: string }) { + return ( +
+
+
+ ); +} + export function OnboardingPage() { const navigate = useNavigateOnboarding(); const skipModal = useModal("skip"); @@ -60,7 +68,7 @@ export function OnboardingPage() { {t("onboarding.start.explainer")} -
+
navigate("/onboarding/extension")}> {noProxies ? null : ( <> -

- -
- -
-

-
- +
+
+ + + + + )}