diff --git a/src/layout/header.tsx b/src/layout/header.tsx index 1b20fa3..324ca2e 100644 --- a/src/layout/header.tsx +++ b/src/layout/header.tsx @@ -134,17 +134,20 @@ export const Header = () => { Settings {!userState.auth && ( - - - Login - + <> + + + + Login + + )} {userState.auth && userState.user && (
@@ -420,3 +423,143 @@ const TipButtonWithDialog = React.memo(() => { ) }) + +const RegisterButtonWithDialog = () => { + const [showPopUp, setShowPopUp] = useState(false) + + return ( + <> + setShowPopUp(true)} + > + Register + + {showPopUp && ( +
+
+
+
+
+
+

Create an account via

+
+
setShowPopUp(false)} + > + + + +
+
+
+
+
+ +

+ Once you create your "account" on any of these, come + back and click login, then sign-in with extension. +

+
+ + Alby Browser Extension + + + Keys.Band Browser Extension + +
+

+ Q: Why can't I create an account normally? +
+ A: DEG Mods can't ban you or delete your content (we can + only hide you), and the consequence of that is this kind of + registration/login system. +

+
+
+

or

+
+
+
+
+ +

+ Once you create your "account" on any of these, come + back and click login, then sign-in with extension. +

+
+ + Nostore Browser Extension + +
+
+
+

or

+
+
+
+
+ +

+ Once you create your "account" on any of these, come + back and click login, then Advanced login, then sign-in + with bunker URL. +

+
+ + Amber + +
+
+
+
+
+
+ )} + + ) +}