-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: components svg container, helpfull, blog entry, many improvemen…
…ts in micro components to improve UX/UI
- Loading branch information
1 parent
b16f640
commit 9f8ea29
Showing
14 changed files
with
161 additions
and
66 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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,32 @@ | ||
use icondata as i; | ||
use leptos::*; | ||
use leptos_icons::*; | ||
|
||
#[component] | ||
pub fn Helpful() -> impl IntoView { | ||
view! { | ||
<div class="flex items-center mx-auto justify-center | ||
p-2 w-[22rem] text-sm mt-10 gap-x-4 | ||
shadow-sm rounded-full border border-gray-200 "> | ||
<p class="text-muted-foreground">Was this helpful?</p> | ||
<div class="flex items-center"> | ||
<button class="flex h-10 w-10 items-center justify-center transition duration-500 ease-in-out | ||
rounded-full hover:bg-[#35c758] hover:text-white"> | ||
<Icon class="h-5 w-5" icon=i::BsEmojiHeartEyes /> | ||
</button> | ||
<button class="flex h-10 w-10 items-center justify-center transition duration-500 ease-in-out | ||
rounded-full hover:bg-[#32ade6] hover:text-white"> | ||
<Icon class="h-5 w-5" icon=i::FaFaceGrinRegular /> | ||
</button> | ||
<button class="flex h-10 w-10 items-center justify-center transition duration-500 ease-in-out | ||
rounded-full hover:bg-[#ffcc01] hover:text-white"> | ||
<Icon class="h-5 w-5" icon=i::FaFaceMehRegular /> | ||
</button> | ||
<button class="flex h-10 w-10 items-center justify-center transition duration-500 ease-in-out | ||
rounded-full hover:bg-[#ff3c2f] hover:text-white"> | ||
<Icon class="h-5 w-5" icon=i::FaFaceSadCryRegular /> | ||
</button> | ||
</div> | ||
</div> | ||
} | ||
} |
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
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
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
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 |
---|---|---|
|
@@ -45,5 +45,6 @@ pub mod components { | |
pub mod link; | ||
pub mod values; | ||
pub mod working; | ||
pub mod helpful; | ||
} | ||
} |
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