From fc4dba96d602de7f13791976fdce88e1a03a89a0 Mon Sep 17 00:00:00 2001 From: Felix Labayen Date: Wed, 22 Feb 2023 23:27:44 +0800 Subject: [PATCH] REFACTOR: Forgot to commit these files --- components/ArticleCard.tsx | 2 +- components/ArticleImage.tsx | 2 +- components/BasicCard.tsx | 2 +- components/BasicSection.tsx | 2 +- views/HomePage/FeaturesGallery.tsx | 2 +- views/HomePage/Partners.tsx | 2 +- views/HomePage/Testimonials.tsx | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/components/ArticleCard.tsx b/components/ArticleCard.tsx index 6bde7de..4ece8ec 100644 --- a/components/ArticleCard.tsx +++ b/components/ArticleCard.tsx @@ -1,4 +1,4 @@ -import NextImage from 'next/image'; +import NextImage from "next/legacy/image"; import NextLink from 'next/link'; import styled from 'styled-components'; import { media } from 'utils/media'; diff --git a/components/ArticleImage.tsx b/components/ArticleImage.tsx index 4e4feb7..d8c4303 100644 --- a/components/ArticleImage.tsx +++ b/components/ArticleImage.tsx @@ -1,4 +1,4 @@ -import NextImage, { ImageProps } from 'next/image'; +import NextImage, { ImageProps } from "next/legacy/image"; import React from 'react'; import styled from 'styled-components'; diff --git a/components/BasicCard.tsx b/components/BasicCard.tsx index 0a8e416..d75137b 100644 --- a/components/BasicCard.tsx +++ b/components/BasicCard.tsx @@ -1,4 +1,4 @@ -import NextImage from 'next/image'; +import NextImage from "next/legacy/image"; import styled from 'styled-components'; interface BasicCardProps { diff --git a/components/BasicSection.tsx b/components/BasicSection.tsx index fe6c746..36f4609 100644 --- a/components/BasicSection.tsx +++ b/components/BasicSection.tsx @@ -1,4 +1,4 @@ -import NextImage from 'next/image'; +import NextImage from "next/legacy/image"; import React, { PropsWithChildren } from 'react'; import styled from 'styled-components'; import { media } from 'utils/media'; diff --git a/views/HomePage/FeaturesGallery.tsx b/views/HomePage/FeaturesGallery.tsx index 9f28357..c3f9e13 100644 --- a/views/HomePage/FeaturesGallery.tsx +++ b/views/HomePage/FeaturesGallery.tsx @@ -1,4 +1,4 @@ -import NextImage from 'next/image'; +import NextImage from "next/legacy/image"; import React, { useState } from 'react'; import styled from 'styled-components'; import Collapse from 'components/Collapse'; diff --git a/views/HomePage/Partners.tsx b/views/HomePage/Partners.tsx index a13b662..02947ba 100644 --- a/views/HomePage/Partners.tsx +++ b/views/HomePage/Partners.tsx @@ -1,4 +1,4 @@ -import NextImage from 'next/image'; +import NextImage from "next/legacy/image"; import React from 'react'; import styled from 'styled-components'; import { Autoplay } from 'swiper'; diff --git a/views/HomePage/Testimonials.tsx b/views/HomePage/Testimonials.tsx index 7db67e4..f06258a 100644 --- a/views/HomePage/Testimonials.tsx +++ b/views/HomePage/Testimonials.tsx @@ -1,4 +1,4 @@ -import NextImage from 'next/image'; +import NextImage from "next/legacy/image"; import React from 'react'; import styled from 'styled-components';