Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing book component error #69

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
channel = "nightly-2024-02-12"
profile = "minimal"
targets = ["wasm32-unknown-unknown"]

6 changes: 3 additions & 3 deletions src/components/aprende/books.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,13 @@ fn Book(
view! {
<div class="flex gap-2 items-center bg-orange-200 rounded-md px-2 py-3">
<p class="font-work-sans text-black text-sm">
"ℹ️ Este Libro está marcado como incompleto"
"Este Libro está marcado como incompleto!"
</p>
</div>
}
})}
<div class="mx-auto">
<ButtonLink href=link size="big">
<div class="mx-auto text-center text-sm font-bold pt-14 sm:text-sm md:text-base lg:text-lg leading-tight">
<ButtonLink href=link size="big" class="p-8">
{link_text}
</ButtonLink>
</div>
Expand Down
7 changes: 6 additions & 1 deletion src/components/aprende/youtube.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ fn YoutubeCard(
<h3 class="font-semibold">{title}</h3>
<p>{description}</p>
<div class="flex justify-center items-center gap-2">
<ButtonLink href=format!("https://www.youtube.com/@{}", username) size="tiny">
<ButtonLink
href=format!("https://www.youtube.com/@{}", username)
size="tiny"
class="p-2"
>
"Youtube"
</ButtonLink>
{if twitch {
Expand All @@ -77,6 +81,7 @@ fn YoutubeCard(
<ButtonLink
href=format!("https://www.twitch.tv/{}", username)
size="tiny"
class="p-2"
>
"Twitch"
</ButtonLink>
Expand Down
Loading