Skip to content

Commit 7e9c198

Browse files
authored
Astro icon update (#310)
1 parent efe70dd commit 7e9c198

27 files changed

+1041
-161
lines changed

content/blog/CJ-4-0.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tags:
1313
- CheerpJ
1414
---
1515

16-
import Icon from "astro-icon";
16+
import { Icon } from "astro-icon/components";
1717
import LinkButton from "@leaningtech/astro-theme/components/LinkButton.astro";
1818
import { DISCORD_URL } from "@/consts.ts";
1919

content/blog/CJ-4-1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tags:
1313
- CheerpJ
1414
---
1515

16-
import Icon from "astro-icon";
16+
import { Icon } from "astro-icon/components";
1717
import LinkButton from "@leaningtech/astro-theme/components/LinkButton.astro";
1818
import { DISCORD_URL } from "@/consts.ts";
1919

packages/astro-theme/components/BlogPostPill.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import { Icon } from "astro-icon";
2+
import { Icon } from "astro-icon/components";
33
import type { CollectionEntry } from "astro:content";
44
55
interface Props {

packages/astro-theme/components/Breadcrumbs.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import { Icon } from "astro-icon";
2+
import { Icon } from "astro-icon/components";
33
import { getRootNav, findEntryPath } from "../lib/nav";
44
55
interface Props {

packages/astro-theme/components/DocsPagination.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
// Provides pagination within the current content group
33
4-
import { Icon } from "astro-icon";
4+
import { Icon } from "astro-icon/components";
55
import { findParentDirectoryOfId, type NavEntry } from "../lib/nav";
66
77
interface Props {

packages/astro-theme/components/DocsSidebar.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
import type { NavEntry } from "../lib/nav";
33
4-
import { Icon } from "astro-icon";
4+
import { Icon } from "astro-icon/components";
55
import { Image } from "astro:assets";
66
import DocsSidebarNavEntry from "./DocsSidebarNavEntry.astro";
77
import type { ProductData } from "../lib/products";

packages/astro-theme/components/Footer.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import { Icon } from "astro-icon";
2+
import { Icon } from "astro-icon/components";
33
import { DISCORD_URL, TWITTER_URL, GITHUB_URL, LINKEDIN_URL } from "../consts";
44
import { Image } from "astro:assets";
55
import logotype from "../assets/branding/company/logotype-white.svg";

packages/astro-theme/components/LinkButton.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import { Icon } from "astro-icon";
2+
import { Icon } from "astro-icon/components";
33
interface Props {
44
href: string;
55
label: string;

packages/astro-theme/components/LocaleSwitcher.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
import Icon from "astro-icon";
2+
import { Icon } from "astro-icon/components";
33
44
const currentLocale = Astro.currentLocale;
55
---

packages/astro-theme/components/nav/product/Nav.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { type ProductData } from "../../../lib/products";
33
import { Image } from "astro:assets";
44
import Search from "../../search/Search.astro";
55
import { DISCORD_URL } from "../../../consts";
6-
import Icon from "astro-icon";
6+
import { Icon } from "astro-icon/components";
77
import ProductVersionSwitcher from "../../ProductVersionSwitcher.astro";
88
import GitHubStarCount from "../GitHubStarCount.svelte";
99
import DiscordPresenceCount from "../DiscordPresenceCount.svelte";

0 commit comments

Comments
 (0)