From 99f776b86163191831537f461f38d931ffda59ef Mon Sep 17 00:00:00 2001 From: yude Date: Sat, 11 Dec 2021 19:19:50 +0900 Subject: [PATCH] Avoid using next/image --- pages/components/Footer/BlueRibbon.js | 3 +-- pages/components/Footer/HappyBusy.js | 3 +-- pages/components/Minecraft.js | 4 +--- pages/components/Minecraft/Head.js | 3 +-- pages/index.js | 4 +--- pages/minecraft.js | 3 +-- pages/profile.js | 4 +--- 7 files changed, 7 insertions(+), 17 deletions(-) diff --git a/pages/components/Footer/BlueRibbon.js b/pages/components/Footer/BlueRibbon.js index d88df24..d177776 100644 --- a/pages/components/Footer/BlueRibbon.js +++ b/pages/components/Footer/BlueRibbon.js @@ -1,12 +1,11 @@ // Next.js import Link from 'next/link' -import Image from 'next/image' const happybusy = (props) => { return ( - { return ( - {i}/) + list.push({i}/) } return
{list}
} diff --git a/pages/components/Minecraft/Head.js b/pages/components/Minecraft/Head.js index 300d708..7a9e163 100644 --- a/pages/components/Minecraft/Head.js +++ b/pages/components/Minecraft/Head.js @@ -1,11 +1,10 @@ import React, { useState, useEffect } from 'react'; -import Image from 'next/image' function App (props) { const uuid = props; return ( -
- yude's avatar
diff --git a/pages/minecraft.js b/pages/minecraft.js index 0b6bcf9..c877d98 100644 --- a/pages/minecraft.js +++ b/pages/minecraft.js @@ -9,7 +9,6 @@ import { useRouter } from 'next/router' import { useTranslation, useLanguageQuery, LanguageSwitcher } from 'next-export-i18n'; // Next.js -import Image from 'next/image' import Link from 'next/link' // Custom pages @@ -51,7 +50,7 @@ export default function About(props) {

{t('title')}

- Minecraft brief world map generated by Dynmap
-