add link icon
This commit is contained in:
@@ -135,7 +135,7 @@ fn Link<T: 'static + Clone, S: 'static>(
|
|||||||
<a class="bg-prim-light hover:bg-prim-lightest border-b hover:border-third border-transparent text-xl rounded-lg text-center hover:text-third transition-colors px-5 py-4 min-w-60 inline-block"
|
<a class="bg-prim-light hover:bg-prim-lightest border-b hover:border-third border-transparent text-xl rounded-lg text-center hover:text-third transition-colors px-5 py-4 min-w-60 inline-block"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
href={move || link.with(|x| x.link.to_string())}>
|
href={move || link.with(|x| x.link.to_string())}>
|
||||||
<div class="size-54 min-w-54 bg-red-400 mb-2">
|
<div class="size-54 min-w-54 mb-2">
|
||||||
<img src={move || link.with(|x| x.icon.to_string())}
|
<img src={move || link.with(|x| x.icon.to_string())}
|
||||||
alt={move || link.with(|x| x.name.to_string())} class="size-54 object-cover" />
|
alt={move || link.with(|x| x.name.to_string())} class="size-54 object-cover" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user