Migrate to astro-icon v1
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon';
|
||||
import { Icon } from 'astro-icon/components';
|
||||
|
||||
export interface CallToAction {
|
||||
text: string;
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon';
|
||||
import { Icon } from 'astro-icon/components';
|
||||
import { Picture } from '@astrojs/image/components';
|
||||
|
||||
interface Item {
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon';
|
||||
import { Icon } from 'astro-icon/components';
|
||||
|
||||
interface Item {
|
||||
question: string;
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon';
|
||||
import { Icon } from 'astro-icon/components';
|
||||
|
||||
interface Item {
|
||||
title: string;
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon';
|
||||
import { Icon } from 'astro-icon/components';
|
||||
|
||||
interface Item {
|
||||
title?: string;
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon';
|
||||
import { Icon } from 'astro-icon/components';
|
||||
import { SITE } from '~/config.mjs';
|
||||
import { getHomePermalink } from '~/utils/permalinks';
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon';
|
||||
import { Icon } from 'astro-icon/components';
|
||||
import Logo from '~/components/Logo.astro';
|
||||
import ToggleTheme from '~/components/common/ToggleTheme.astro';
|
||||
import ToggleMenu from '~/components/common/ToggleMenu.astro';
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon';
|
||||
import { Icon } from 'astro-icon/components';
|
||||
import { Picture } from '@astrojs/image/components';
|
||||
import type { CallToAction } from '~/components/widgets/CallToAction.astro';
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon';
|
||||
import { Icon } from 'astro-icon/components';
|
||||
import { Picture } from '@astrojs/image/components';
|
||||
|
||||
import type { CallToAction } from '~/components/widgets/CallToAction.astro';
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon';
|
||||
import { Icon } from 'astro-icon/components';
|
||||
---
|
||||
|
||||
<section class="bg-blue-50 dark:bg-slate-800 not-prose">
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon';
|
||||
import { Icon } from 'astro-icon/components';
|
||||
import { Picture } from '@astrojs/image/components';
|
||||
|
||||
interface Item {
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon';
|
||||
import { Icon } from 'astro-icon/components';
|
||||
import type { CallToAction } from '~/components/widgets/CallToAction.astro';
|
||||
|
||||
interface Item {
|
||||
|
Reference in New Issue
Block a user