diff --git a/next.config.js b/next.config.js index 5c91482e..82b43f55 100644 --- a/next.config.js +++ b/next.config.js @@ -1,24 +1,29 @@ const { withContentlayer } = require('next-contentlayer') +/** @type {import('next').NextConfig} */ const nextConfig = { + reactStrictMode: true, + images: { + domains: ['raw.githubusercontent.com', 'github.com', 'i.imgur.com'] + }, async rewrites() { return [ { source: '/rss', - destination: '/feed', + destination: '/feed' }, { source: '/atom', - destination: '/feed', + destination: '/feed' }, { source: '/rss.xml', - destination: '/feed', + destination: '/feed' }, { source: '/atom.xml', - destination: '/feed', - }, + destination: '/feed' + } ] } } diff --git a/src/app/portifolio/components/about-section.tsx b/src/app/portifolio/components/about-section.tsx index 1aa6c2bb..36ed05d6 100644 --- a/src/app/portifolio/components/about-section.tsx +++ b/src/app/portifolio/components/about-section.tsx @@ -1,6 +1,9 @@ import Link from 'next/link' +import Image from 'next/image' import { DownloadSimple, Book } from '@/shared/lib/phosphor-icons' + + export function AboutSection() { return (
- Mateus Felipe's picture

Sobre mim

- Mateus Felipe's picture
diff --git a/public/assets/portifolio/code-type.svg b/src/app/portifolio/components/home-section/code-type.svg similarity index 100% rename from public/assets/portifolio/code-type.svg rename to src/app/portifolio/components/home-section/code-type.svg diff --git a/src/app/portifolio/components/home-section.tsx b/src/app/portifolio/components/home-section/index.tsx similarity index 88% rename from src/app/portifolio/components/home-section.tsx rename to src/app/portifolio/components/home-section/index.tsx index 0bf15dd0..98d9bff6 100644 --- a/src/app/portifolio/components/home-section.tsx +++ b/src/app/portifolio/components/home-section/index.tsx @@ -1,3 +1,7 @@ +import Image from "next/image"; + +import codeTyping from './code-type.svg' + export function HomeSection() { return (
- + Code Typing
diff --git a/src/app/portifolio/components/projects-section/project-card.tsx b/src/app/portifolio/components/projects-section/project-card.tsx index ece9114d..06fdf064 100644 --- a/src/app/portifolio/components/projects-section/project-card.tsx +++ b/src/app/portifolio/components/projects-section/project-card.tsx @@ -1,6 +1,7 @@ +import Image from 'next/image' import { FiFolder, FiGithub, FiGlobe } from 'react-icons/fi' -import { ProjectData, techIcons } from './projects' import { BsDot } from 'react-icons/bs' +import { ProjectData, techIcons } from './projects' interface Props { data: ProjectData @@ -42,8 +43,10 @@ export function ProjectCard({ data }: Props) {
{data.image && (
- Project image diff --git a/src/app/portifolio/components/projects-section/projects.tsx b/src/app/portifolio/components/projects-section/projects.tsx index b01bdf2d..1122b646 100644 --- a/src/app/portifolio/components/projects-section/projects.tsx +++ b/src/app/portifolio/components/projects-section/projects.tsx @@ -44,7 +44,7 @@ export const devProjects: ProjectData[] = [ { title: 'Formatch', image: - 'https://raw.githubusercontent.com/mateusfg7/formatch/main/.github/thumbnail.png', + 'https://raw.githubusercontent.com/mateusfg7/formatch-app/main/.github/thumbnail.png', core_techs: ['typescript', 'react-native', 'expo'], description: 'Aplicativo que conecta você a um profissional da área de construção civil, e ainda te mantém informado sobre novidades do setor. ',