remove dead code and unify patterns

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-04-29 23:03:10 +02:00
parent 35ac328d5e
commit a74f6b91d4
12 changed files with 16 additions and 312 deletions
+4 -15
View File
@@ -1,6 +1,7 @@
---
import { ArrowRight, FolderCode, Key, Rss } from "@lucide/astro";
import { Image } from "astro:assets";
import type { SocialLinks } from "../config";
interface Props {
name: string;
@@ -8,19 +9,7 @@ interface Props {
description: string;
avatar: any;
location?: string;
socialLinks?: {
github?: string;
gitlab?: string;
gitea?: string;
linkedin?: string;
twitter?: string;
bluesky?: string;
instagram?: string;
youTube?: string;
medium?: string;
kofi?: string;
codetips?: string;
};
socialLinks?: SocialLinks;
gpgKey?: string;
rssFeed?: string;
}
@@ -205,10 +194,10 @@ const {
</a>
</div>
)}
{socialLinks.youTube && (
{socialLinks.youtube && (
<div class="tooltip" data-tip="Youtube">
<a
href={socialLinks.youTube}
href={socialLinks.youtube}
class="btn btn-circle btn-ghost"
aria-label="YouTube"
target="_blank"