From f17e6ed2c55f0c5be617c22bfab47e98878dbd82 Mon Sep 17 00:00:00 2001 From: Jakub Gonet Date: Thu, 7 May 2026 19:11:38 +0200 Subject: [PATCH] landing: drop astro-icon --- landing-page/astro.config.mjs | 2 - landing-page/package.json | 2 - landing-page/src/components/Header.astro | 13 +- landing-page/src/components/Intro.astro | 4 +- landing-page/src/icons/delete-forever.svg | 3 + landing-page/src/icons/logo-text.svg | 2 +- landing-page/src/icons/logo.svg | 2 +- landing-page/src/pages/demos/eval.astro | 5 +- pnpm-lock.yaml | 350 ---------------------- 9 files changed, 15 insertions(+), 368 deletions(-) create mode 100644 landing-page/src/icons/delete-forever.svg diff --git a/landing-page/astro.config.mjs b/landing-page/astro.config.mjs index b6832cb6..73dc4a01 100644 --- a/landing-page/astro.config.mjs +++ b/landing-page/astro.config.mjs @@ -3,7 +3,6 @@ import { defineConfig } from "astro/config"; import react from "@astrojs/react"; import tailwindcss from "@tailwindcss/vite"; -import icon from "astro-icon"; // used for build-time generation of diagrams // import rehypeMermaid from "rehype-mermaid"; import mermaid from "astro-mermaid"; @@ -30,7 +29,6 @@ export default defineConfig({ }, integrations: [ react(), - icon(), mermaid({ autoTheme: true, mermaidConfig: { diff --git a/landing-page/package.json b/landing-page/package.json index 78a525e8..f9d04a70 100644 --- a/landing-page/package.json +++ b/landing-page/package.json @@ -12,14 +12,12 @@ "@astrojs/react": "^5.0.1", "@fontsource-variable/handjet": "^5.2.6", "@fontsource-variable/inter": "^5.2.6", - "@iconify-json/material-symbols-light": "^1.2.30", "@swmansion/popcorn": "workspace:*", "@tailwindcss/vite": "^4.1.11", "@types/react": "^19.1.8", "@types/react-dom": "^19.1.6", "ghostty-web": "^0.4.0", "astro": "^6.0.6", - "astro-icon": "^1.1.5", "astro-mermaid": "^1.3.1", "chokidar": "^4.0.3", "highlight.js": "^11.11.1", diff --git a/landing-page/src/components/Header.astro b/landing-page/src/components/Header.astro index 54bea034..099e53fc 100644 --- a/landing-page/src/components/Header.astro +++ b/landing-page/src/components/Header.astro @@ -1,5 +1,7 @@ --- -import { Icon } from "astro-icon/components"; +import LogoText from "../icons/logo-text.svg"; +import Hamburger from "../icons/hamburger.svg"; +import Close from "../icons/close.svg"; const linkClass = "transition-colors duration-300 hover:text-orange-100"; const openNewTab = { target: "_blank", rel: "noopener noreferrer" }; @@ -11,8 +13,7 @@ const openNewTab = { target: "_blank", rel: "noopener noreferrer" }; >