From 7db731d2a60b00f83fdc1deae59cf319d1568bbd Mon Sep 17 00:00:00 2001 From: "ug.rp" Date: Sun, 19 May 2024 07:54:18 +0200 Subject: [PATCH] update wording --- src/pages/create/channel/import.js | 116 +++++++++++++++-------------- src/styles/defaults.css | 5 ++ 2 files changed, 67 insertions(+), 54 deletions(-) diff --git a/src/pages/create/channel/import.js b/src/pages/create/channel/import.js index 730a4d6..9ba02e1 100644 --- a/src/pages/create/channel/import.js +++ b/src/pages/create/channel/import.js @@ -78,14 +78,22 @@ export default function PageNewChannelImport({dbSession: {radio4000ApiUrl, sessi return ( <>
-

To import a Radio4000 from v1.radio4000.com (version 1) into the new radio4000.com (version 2).

-

Steps to follow on this page

+

To migrate/import a radio channel from Radio4000 version 1 (v1.radio4000.com) to the new Radio4000 version 2 (radio4000.com). If you're experiencing any issue, we can help!

  1. - Log in both Radio4000 accounts, version 1 and version 2. + Sign-up for a version 2 user account (required for everyone, also for version 1 users)
  2. - Click "import", visit your new radio page! + On this page, sign-in your two accounts (version 1 and version 2). +
  3. +
  4. + Click the import button (the radio channel and all its tracks are imported) +
  5. +
  6. + Visit your new radio page! +
  7. +
  8. + (Optional) Repeat the operation, to import multiple radio channels into one Radio4000 version 2 account.
@@ -98,35 +106,35 @@ export default function PageNewChannelImport({dbSession: {radio4000ApiUrl, sessi {sessionFirebase ? (

✔ {sessionFirebase.email}{' '} - -

+ +

) : ( - <> - -
Use a Radio4000 version 1 account for this step.
- - )} - - - -

Login Radio4000 version 2 (new)

- {session?.user?.email ? ( -

- ✔ {session?.user.email} Log out -

- ) : ( - <> - -
Use a Radio4000 version 2 account for this step (this is a "new account" you need to create).
+ <> + +
Use a Radio4000 version 1 account for this step.
+)} +
+ + +

Login Radio4000 version 2 (new)

+ {session?.user?.email ? ( +

+ ✔ {session?.user.email} Log out +

+ ) : ( + <> + +
Use a Radio4000 version 2 account for this step (this is a "new account" that everyone needs to create, in order to use the new radio system).
+ - )} -
+ )} + - - {/* MIGRATE STUFF */} + +{/* MIGRATE STUFF */} {sessionFirebase && session?.user?.email ? ( <> {!migrationResult && !userChannelFirebase ? ( @@ -152,29 +160,29 @@ export default function PageNewChannelImport({dbSession: {radio4000ApiUrl, sessi > {loading ? 'Importing…' : 'Import'} @{userChannelFirebase.slug} - - - - - )} - - {migrationResult && !error ? ( -
-

Successfully imported @{userChannelFirebase.slug}!

-

Go to the new Radio4000. Your channel is waiting for you.

-

radio4000.com/{userChannelFirebase.slug}

-
- ) : ( - - )} - - ) : ( - - Waiting for user authentication into version 1 & version 2 accounts, to start channel import. - - )} -
- - - ) + + + + +)} + +{migrationResult && !error ? ( +
+

Successfully imported @{userChannelFirebase.slug}!

+

Go to the new Radio4000. Your channel is waiting for you.

+

radio4000.com/{userChannelFirebase.slug}

+
+) : ( + +)} + +) : ( + + Waiting for user authentication into version 1 & version 2 accounts, to start radio channel migration. This will import to the version 2 website. + +)} +
+ + +) } diff --git a/src/styles/defaults.css b/src/styles/defaults.css index e16fe03..d50c607 100644 --- a/src/styles/defaults.css +++ b/src/styles/defaults.css @@ -76,6 +76,11 @@ strong { font-weight: 600; } +blockquote { + font-style: italic; + font-size: 0.9rem; +} + /* keyboard shortcuts */ kbd { display: inline-block;