1.1.1 - Updated projects
Some checks failed
Docker Deploy / build-and-push (push) Has been cancelled
Some checks failed
Docker Deploy / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -1,14 +1,9 @@
|
||||
---
|
||||
import { Icon } from "astro-icon/components";
|
||||
import { socialLinks } from "../config/data";
|
||||
|
||||
// Helper function to check if icon is a string (Astro icon)
|
||||
function isAstroIcon(icon: any): icon is string {
|
||||
return typeof icon === "string";
|
||||
}
|
||||
---
|
||||
|
||||
<div class="flex flex-row gap-4 text-3xl">
|
||||
<div class="flex flex-row gap-3 text-3xl flex-wrap justify-center">
|
||||
{
|
||||
socialLinks.map((link) => {
|
||||
return (
|
||||
|
||||
@@ -8,7 +8,7 @@ function isAstroIcon(icon: any): icon is string {
|
||||
}
|
||||
---
|
||||
|
||||
<div class="flex flex-row gap-4 text-3xl">
|
||||
<div class="flex flex-row gap-4 text-3xl flex-wrap justify-center">
|
||||
{
|
||||
techLinks.map((link) => {
|
||||
if (isAstroIcon(link.icon)) {
|
||||
|
||||
Reference in New Issue
Block a user