wip: design

This commit is contained in:
reya
2025-01-15 09:11:21 +07:00
parent e8b34ae69e
commit ec24bba69c
35 changed files with 534 additions and 1566 deletions
+2 -5
View File
@@ -1,10 +1,7 @@
use crate::{constants::KEYRING_SERVICE, get_client, states::app::AppRegistry};
use gpui::{div, IntoElement, ParentElement, Render, Styled, View, ViewContext, VisualContext};
use nostr_sdk::prelude::*;
use ui::{
input::{InputEvent, TextInput},
label::Label,
};
use ui::input::{InputEvent, TextInput};
pub struct Onboarding {
input: View<TextInput>,
@@ -70,7 +67,7 @@ impl Render for Onboarding {
.flex()
.flex_col()
.gap_1()
.child(Label::new("Private Key").text_sm())
.child(div().child("Private Key").text_sm())
.child(self.input.clone()),
)
}