Updates references to use legacy image

This commit is contained in:
James Purser 2023-05-20 20:17:35 +10:00
parent 45168d143d
commit b6b10dff7b
6 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
import Image from 'next/image';
import Image from "next/legacy/image";
const FeatureImage = ({ imagedata, basepath }) => {

View file

@ -1,4 +1,4 @@
import Image from 'next/image';
import Image from "next/legacy/image";
import { Navigation, Pagination, Scrollbar, A11y, Autoplay } from 'swiper';
import { Swiper, SwiperSlide } from 'swiper/react';
import 'swiper/css';

View file

@ -1,6 +1,6 @@
import ReactPaginate from "react-paginate";
import { useRouter } from "next/router";
import Image from 'next/image';
import Image from "next/legacy/image";
import { Link } from "react-router-dom";
const GalleryList = ({gallery, basepath}) => {

View file

@ -1,6 +1,6 @@
import ReactPaginate from "react-paginate";
import { useRouter } from "next/router";
import Image from 'next/image';
import Image from "next/legacy/image";
import Link from 'next/link'
const GalleryPager = ({galleryImages, basepath, gallery}) => {

View file

@ -1,4 +1,4 @@
import Image from 'next/image';
import Image from "next/legacy/image";
import { Link } from 'react-router-dom';
import config from '../data/internal/config'

View file

@ -3,7 +3,7 @@ import LatestEpisodes from "../components/latestepisodes"
import Link from 'next/link'
import getConfig from 'next/config'
import Head from 'next/head'
import Image from 'next/image';
import Image from "next/legacy/image";
import config from '../data/internal/config';
import { FEEDS, getFeed } from "../lib/rss"
import { generatePodcastFeeds, generateRssFeed } from "../data/internal/feed-generator"