mirror of
https://github.com/KazooTTT/kazoottt-blog.git
synced 2025-06-21 17:51:32 +08:00
feat: links update
This commit is contained in:
@ -9,7 +9,7 @@ interface Props {
|
||||
name: string
|
||||
description: string
|
||||
href?: string
|
||||
iconPath: string
|
||||
iconPath?: string
|
||||
iconBgColour: string
|
||||
}[]
|
||||
}
|
||||
@ -35,7 +35,7 @@ const { class: className, title, tools, ...props } = Astro.props
|
||||
>
|
||||
<div class='relative flex flex-row items-center gap-x-4 px-2 py-0.5 transition-all'>
|
||||
<div class='absolute -inset-0 z-10 rounded-lg border border-border bg-muted opacity-0 transition-all group-hover:opacity-50' />
|
||||
<Icon name={tool.iconPath} class='z-20 h-10 w-10 rounded-lg bg-muted p-2' />
|
||||
<Icon name={tool.iconPath ?? 'tool'} class='z-20 h-10 w-10 rounded-lg bg-muted p-2' />
|
||||
<div class='z-20 flex flex-col'>
|
||||
<h3 class='font-medium'>{tool.name}</h3>
|
||||
<p class='text-muted-foreground'>{tool.description}</p>
|
||||
|
Reference in New Issue
Block a user