Files
mip-website/pages/appContainer.js
T

36 lines
1.1 KiB
JavaScript
Raw Normal View History

2024-01-04 11:28:20 +03:30
import React from 'react'
2023-07-12 15:37:34 +03:30
import Header from './components/Layout/header'
import Footer from './components/Layout/footer'
2024-01-04 11:28:20 +03:30
import Head from 'next/head'
import dynamic from 'next/dynamic'
import { Router } from 'next/router'
2023-07-12 15:37:34 +03:30
2024-01-04 11:28:20 +03:30
const Chat = dynamic(() => import('./pack'), { ssr: false })
2026-10-17 17:20:59 +03:30
const AppContainer = ({ children }) => {
2024-01-04 11:28:20 +03:30
return (
<div>
<Head>
2025-06-25 20:29:54 +03:30
<meta name="google-site-verification" content="hygRCp6fRa9qi8RXCaAosXK4mBcnCJVRH1ayHtAQy8o" />
2024-01-04 11:28:20 +03:30
<script
type='text/javascript'
dangerouslySetInnerHTML={{
__html: `
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "kggvhu7xfo");
`
}}
/>
</Head>
<Chat />
<Header />
2026-10-17 17:20:59 +03:30
<main id='main-content'>{children}</main>
2024-01-04 11:28:20 +03:30
<Footer />
</div>
)
}
2023-07-12 15:37:34 +03:30
2024-01-04 11:28:20 +03:30
export default AppContainer