Skip to content

Commit

Permalink
imgagesfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Пётр Безденежных authored and Пётр Безденежных committed Jan 12, 2024
1 parent c3bb91a commit 83a2053
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
images: { unoptimized: true }
images: { unoptimized: true },
basePath: '/vshsdt'
}

module.exports = nextConfig
7 changes: 4 additions & 3 deletions src/app/education/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
'use client';

import { Flex, Text, Box, Link } from '@chakra-ui/react'
import NextLink from 'next/link'
import { Flex, Text, Box, Link } from '@chakra-ui/react';
import NextLink from 'next/link';
import Image from 'next/image';
import Footer from '../footer';
import Header from '../header';

Expand All @@ -10,7 +11,7 @@ export default function Home() {
<Flex direction="column">
<Header/>
<Flex direction="column" align="center" p="1.5rem">
<img src="/Group_72.jpg" width='200px' alt="logo" />
<Image src="/Group_72.jpg" width="200" height="200" alt="logo" />
</Flex>
<Flex direction="row" mb="1.5rem" justify="center">
<Flex direction="column">
Expand Down

0 comments on commit 83a2053

Please sign in to comment.