better styling for design link
This commit is contained in:
parent
24b3b10bfb
commit
43dd11af2c
1 changed files with 6 additions and 2 deletions
|
@ -12,9 +12,13 @@ export const Design = ({ name }) => {
|
|||
<div
|
||||
className={`flex flex-col flex-nowrap items-start justify-start gap-2 pt-2 pb-4 h-auto w-96
|
||||
btn btn-secondary btn-ghost border border-secondary
|
||||
hover:bg-opacity-20 hover:bg-secondary hover:border hover:border-secondary`}
|
||||
hover:bg-opacity-20 hover:bg-secondary hover:border hover:border-secondary
|
||||
relative`}
|
||||
>
|
||||
<Link
|
||||
href={`/new/pattern/${name}`}
|
||||
className="w-full h-full before:absolute before:inset-y-0 before:inset-x-0"
|
||||
>
|
||||
<Link href={`/new/pattern/${name}`} className="static w-full h-full">
|
||||
<h5 className="flex flex-row items-center justify-between w-full">
|
||||
<span>{t(`designs:${name}.t`)}</span>
|
||||
<span className="flex flex-col items-end">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue