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';
|
||||
import { Picture } from '@astrojs/image/components';
|
||||
import PostTags from '~/components/blog/Tags.astro';
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon';
|
||||
import { Icon } from 'astro-icon/components';
|
||||
import { getPermalink } from '~/utils/permalinks';
|
||||
|
||||
export interface Props {
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon';
|
||||
import { Icon } from 'astro-icon/components';
|
||||
import { Picture } from '@astrojs/image/components';
|
||||
|
||||
import PostTags from '~/components/blog/Tags.astro';
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon';
|
||||
import { Icon } from 'astro-icon/components';
|
||||
import { getBlogPermalink } from '~/utils/permalinks';
|
||||
---
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon';
|
||||
import { Icon } from 'astro-icon/components';
|
||||
|
||||
export interface Props {
|
||||
text: string;
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon';
|
||||
import { Icon } from 'astro-icon/components';
|
||||
|
||||
export interface Props {
|
||||
label?: string;
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
import { Icon } from 'astro-icon';
|
||||
import { Icon } from 'astro-icon/components';
|
||||
|
||||
import { SITE } from '~/config.mjs';
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -218,7 +218,7 @@ const meta = {
|
||||
title: 'Features',
|
||||
description:
|
||||
'Display your product in action and how the Features actually create a solution for your target customer.',
|
||||
icon: 'flat-color-icons:todo-list',
|
||||
icon: 'flat-color-icons:approval',
|
||||
},
|
||||
{
|
||||
title: 'Content',
|
||||
@ -254,7 +254,7 @@ const meta = {
|
||||
title: 'Footers',
|
||||
description:
|
||||
'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.',
|
||||
icon: 'icon-park:page-template',
|
||||
icon: 'flat-color-icons:database',
|
||||
},
|
||||
]}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user