import type { NextPage } from 'next' import Head from 'next/head' import { useState,useEffect } from 'react' import Image from 'next/image' import styles from '../styles/Home.module.css' import { Header } from '../components/header' import { Modal } from '../components/modal' import { Main } from '../components/main' import { Solution } from '../components/solution' import { Team } from '../components/team' import { Contacts } from '../components/contacts' import { MyFooter } from '../components/footer' import { Rings } from '../components/rings' import { MobileHeader } from '../components/mobile header' const Home: NextPage = () => { let [showModal, setShowModal] = useState(false) const [width, setWidth] = useState(0) useEffect(() => { setWidth(window.innerWidth); }); return (