diff --git a/components/Footer.js b/components/Footer.js index 8745203..7e9d5d6 100644 --- a/components/Footer.js +++ b/components/Footer.js @@ -1,6 +1,7 @@ import React from "react"; import { Col, Row } from "react-bootstrap"; import FooterBg from "../svgs/FooterBg.js"; +import Image from 'next/image' function Footer(props) { const pagePos = props.pagePos; @@ -91,17 +92,21 @@ function Footer(props) {
diff --git a/components/Header.js b/components/Header.js index ee5fb16..6783969 100644 --- a/components/Header.js +++ b/components/Header.js @@ -1,4 +1,5 @@ import React, { useEffect, useState } from "react"; +import Image from "next/image"; import { disableBodyScroll, @@ -101,17 +102,21 @@ function Header(props) { diff --git a/next.config.js b/next.config.js index 5a9f45a..33d6c4e 100755 --- a/next.config.js +++ b/next.config.js @@ -3,6 +3,10 @@ const nextConfig = { reactStrictMode: true, swcMinify: true, assetPrefix: './', + images: { + loader: 'akamai', + path: '', + }, } module.exports = nextConfig diff --git a/pages/index.js b/pages/index.js index f41a419..9e60b13 100755 --- a/pages/index.js +++ b/pages/index.js @@ -6,6 +6,7 @@ import LookupBg from "../svgs/LookupBg.js"; import { Waypoint } from "react-waypoint"; import Slider from "react-slick"; import cbor from "cbor"; +import Image from "next/image"; export default function Home(props) { const setPagePos = props.setPagePos; @@ -1071,7 +1072,7 @@ export default function Home(props) { diff --git a/sass/_about.scss b/sass/_about.scss index 6e7cc52..e35f21a 100644 --- a/sass/_about.scss +++ b/sass/_about.scss @@ -96,6 +96,7 @@ padding: 6px; border-radius: 6px; margin: 0; + overflow: auto; } } }