From 262ca4448c0ba71ac97ad8be6fa431079efd3026 Mon Sep 17 00:00:00 2001 From: Triston Armstrong Date: Mon, 8 Jan 2024 22:33:54 -0600 Subject: [PATCH] convert img tags to Image components in index file --- next.config.js | 3 +++ pages/index.tsx | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/next.config.js b/next.config.js index c54a846..9b8c744 100644 --- a/next.config.js +++ b/next.config.js @@ -8,6 +8,9 @@ const nextConfig = { }, typescript: { ignoreBuildErrors: true + }, + images: { + unoptimized: true } } diff --git a/pages/index.tsx b/pages/index.tsx index 6a09a39..33ed4a6 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,10 +1,10 @@ import Job, { type JobProps } from '../components/Job' import Skill, { type SkillProps } from '../components/Skill' import ListItem, { type ListItemProps } from '../components/ListItem' -import Head from 'next/head' import { UsefulLinksList } from '../components/UsefulLinks/index' import { SocialLinksList } from '../components/SocialLinks/SocialLinks' import type { GetStaticProps } from 'next' +import Image from 'next/image' interface LandingProps { jobs: JobsType[] @@ -12,10 +12,10 @@ interface LandingProps { projects: ProjectsType[] } -export default function Landing({ jobs, skills, projects }: LandingProps) { +export default function Landing({ jobs, skills, projects }: LandingProps): React.JSX.Element { return (
- peng + {'peng'}

❗👷 This site is under construction 🚧 🏗️ 🚧

@@ -25,7 +25,7 @@ export default function Landing({ jobs, skills, projects }: LandingProps) {
-

Triston Armstrong 🫰