-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copys updated CSS bug and pending transitions (#73)
* Copys updated * solve height on Actions panel * Add sidebar and form button hovers * Add bg class in order to avoid hover on disabled button * Fix mistaken work * add Dynamic Text component * Replace word DAO * add Dynamic Text on dashboard and explore * Add animated-text styles, move tooltip and notification, add focus on inputs * fix height animation * Update public/styles/main.scss * Update public/styles/main.scss --------- Co-authored-by: Daniel Olano <[email protected]>
- Loading branch information
1 parent
30d0cee
commit 211f695
Showing
8 changed files
with
244 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
use dioxus::prelude::*; | ||
use std::collections::HashMap; | ||
|
||
#[derive(Clone, Props, PartialEq)] | ||
pub struct DynamicTextProps { | ||
pub words: Vec<String>, | ||
} | ||
|
||
pub fn DynamicText(props: DynamicTextProps) -> Element { | ||
rsx! { | ||
div { class: "animated-text", | ||
{ | ||
props.words.iter().enumerate().map(|(index, word)| { | ||
rsx! { | ||
span { key: "{index}", "{word}" } | ||
} | ||
}) | ||
} | ||
}, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.