Updated styling
Signed-off-by: Louis Hollingworth <louis@hollingworth.nl>
This commit is contained in:
parent
20f681aa3c
commit
7ba84dd020
14 changed files with 2497 additions and 2316 deletions
|
|
@ -9,11 +9,11 @@ const { to, title } = Astro.props;
|
|||
const isExternal = to.startsWith('http');
|
||||
---
|
||||
{ isExternal == true ? (
|
||||
<a href={to} target="_blank" rel="noopener noreferrer" class="card">
|
||||
<a href={to} target="_blank" rel="noopener noreferrer" class="bg-gray-50 hover:bg-gray-100 dark:bg-slate-700 dark:hover:bg-slate-600 m-4 px-5 py-5 md:px-10 rounded-3xl shadow-lg hover:shadow-xl">
|
||||
<p>{title} →</p>
|
||||
</a>
|
||||
) : (
|
||||
<a href={to} class="card">
|
||||
<a href={to} class="bg-gray-50 hover:bg-gray-100 dark:bg-slate-700 dark:hover:bg-slate-600 m-4 px-5 py-5 md:px-10 rounded-3xl shadow-lg hover:shadow-xl">
|
||||
<p>{title} →</p>
|
||||
</a>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue