feat: organize to consistency
This commit is contained in:
@@ -33,19 +33,20 @@ const socialPlatforms: SocialPlatform[] = [
|
|||||||
---
|
---
|
||||||
|
|
||||||
<div class="inline-flex items-center gap-x-2">
|
<div class="inline-flex items-center gap-x-2">
|
||||||
{
|
{socialPlatforms.map((platform) => (
|
||||||
socialPlatforms.map((platform) => (
|
<a
|
||||||
<a
|
class="button-base-hidden group inline-flex rounded-lg gap-x-2"
|
||||||
class="button-base-hidden group inline-flex rounded-lg gap-x-2"
|
href={platform.url}
|
||||||
href={platform.url}
|
target="_blank"
|
||||||
target="_blank"
|
rel="noopener noreferrer"
|
||||||
rel="noopener noreferrer"
|
title={`Share on ${platform.name}`}
|
||||||
title={`Share on ${platform.name}`}
|
>
|
||||||
>
|
<div class="button-text-title-hidden flex relative items-center text-center">
|
||||||
<div class="button-text-title-hidden flex relative items-center text-center">
|
<Icon
|
||||||
<Icon name={platform.svg} class="h-5 w-5" />
|
name={platform.svg}
|
||||||
</div>
|
class="h-5 w-5"
|
||||||
</a>
|
/>
|
||||||
))
|
</div>
|
||||||
}
|
</a>
|
||||||
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user