From 5d12ba7216d7ce814f90af67de22333882019dca Mon Sep 17 00:00:00 2001
From: reya <123083837+reyamir@users.noreply.github.com>
Date: Wed, 3 Jul 2024 14:36:54 +0700
Subject: [PATCH] fix: some screen too large
---
apps/desktop2/src/routes/auth.lazy.tsx | 6 +-
.../src/routes/auth/create-profile.tsx | 138 +++++++++---------
apps/desktop2/src/routes/auth/import.lazy.tsx | 68 ++++-----
apps/desktop2/src/routes/auth/remote.lazy.tsx | 8 +-
apps/desktop2/src/routes/bootstrap-relays.tsx | 4 +-
5 files changed, 112 insertions(+), 112 deletions(-)
diff --git a/apps/desktop2/src/routes/auth.lazy.tsx b/apps/desktop2/src/routes/auth.lazy.tsx
index 0b2c36c6..a708e347 100644
--- a/apps/desktop2/src/routes/auth.lazy.tsx
+++ b/apps/desktop2/src/routes/auth.lazy.tsx
@@ -1,4 +1,4 @@
-import { Box, Container } from "@lume/ui";
+import { Container } from "@lume/ui";
import { Outlet, createLazyFileRoute } from "@tanstack/react-router";
export const Route = createLazyFileRoute("/auth")({
@@ -8,9 +8,9 @@ export const Route = createLazyFileRoute("/auth")({
function Screen() {
return (
-
+
-
+
);
}
diff --git a/apps/desktop2/src/routes/auth/create-profile.tsx b/apps/desktop2/src/routes/auth/create-profile.tsx
index 03dea685..ddb9b658 100644
--- a/apps/desktop2/src/routes/auth/create-profile.tsx
+++ b/apps/desktop2/src/routes/auth/create-profile.tsx
@@ -55,83 +55,81 @@ function Screen() {
};
return (
-
+
Let's set up your profile.
-
-
- {picture ? (
-

+
+
+ {picture ? (
+

+ ) : null}
+
+
+
+
+
+
+
- ) : null}
-
-
-
-
-
-
diff --git a/apps/desktop2/src/routes/auth/import.lazy.tsx b/apps/desktop2/src/routes/auth/import.lazy.tsx
index e53f7efa..1bcadfb3 100644
--- a/apps/desktop2/src/routes/auth/import.lazy.tsx
+++ b/apps/desktop2/src/routes/auth/import.lazy.tsx
@@ -38,47 +38,49 @@ function Screen() {
};
return (
-
+
Continue with Private Key
-
-
-
- setKey(e.target.value)}
- className="px-3 border-transparent rounded-lg h-11 bg-neutral-100 placeholder:text-neutral-600 focus:border-blue-500 focus:ring-0 dark:bg-white/10 dark:placeholder:text-neutral-400"
- />
-
-
-
-
setPassword(e.target.value)}
- className="px-3 border-transparent rounded-lg h-11 bg-neutral-100 placeholder:text-neutral-600 focus:border-blue-500 focus:ring-0 dark:bg-white/10 dark:placeholder:text-neutral-400"
- />
+
+
diff --git a/apps/desktop2/src/routes/auth/remote.lazy.tsx b/apps/desktop2/src/routes/auth/remote.lazy.tsx
index 4d3f9e82..51779493 100644
--- a/apps/desktop2/src/routes/auth/remote.lazy.tsx
+++ b/apps/desktop2/src/routes/auth/remote.lazy.tsx
@@ -37,12 +37,12 @@ function Screen() {
};
return (
-
+
Continue with Nostr Connect
-
-
+
+