v4 upgrade

This commit is contained in:
Surjith S M
2024-05-23 13:11:39 +05:30
parent cdcdd8158e
commit 3c0e388da0
9 changed files with 2459 additions and 1931 deletions

View File

@@ -1,6 +1,6 @@
---
// @ts-ignore
import { Icon } from "astro-icon";
import { Icon } from "astro-icon/components";
const features = [
{

View File

@@ -2,7 +2,7 @@
import { Picture } from "astro:assets";
import heroImage from "assets/hero.png";
import Link from "@components/ui/link.astro";
import { Icon } from "astro-icon";
import { Icon } from "astro-icon/components";
---
<main

View File

@@ -1,16 +1,18 @@
---
// @ts-ignore
import { Icon } from "astro-icon";
import { Icon } from "astro-icon/components";
---
<div class="mt-24">
<h2 class="text-center text-slate-500">Works with your technologies</h2>
<div class="flex gap-8 md:gap-20 items-center justify-center mt-10 flex-wrap">
<Icon class="h-8 md:h-12" name="simple-icons:react" />
<Icon class="h-8 md:h-12" name="simple-icons:svelte" />
<Icon class="h-8 md:h-14" name="simple-icons:tailwindcss" />
<Icon class="h-8 md:h-16" name="simple-icons:alpinedotjs" />
<Icon class="h-8 md:h-12" name="simple-icons:vercel" />
<Icon class="h-8 md:h-12" name="simple-icons:astro" />
<Icon class="size-8 md:size-12" name="simple-icons:react" />
<Icon class="size-8 md:size-12" name="simple-icons:svelte" />
<Icon class="size-8 md:size-12" name="simple-icons:astro" />
<Icon class="size-8 md:size-16" name="simple-icons:tailwindcss" />
<Icon class="size-8 md:size-16" name="simple-icons:alpinedotjs" />
<Icon class="size-8 md:size-12" name="simple-icons:vercel" />
</div>
</div>