Skip to content

Commit

Permalink
Merge pull request #69 from RodriDev23/fixing-book-component-error
Browse files Browse the repository at this point in the history
Fixing book component error
  • Loading branch information
SergioRibera authored Oct 7, 2024
2 parents 54add63 + f197839 commit 9171dfa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
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

0 comments on commit 9171dfa

Please sign in to comment.