diff --git a/components/Head.tsx b/components/Head.tsx index 8b69669..288da04 100644 --- a/components/Head.tsx +++ b/components/Head.tsx @@ -7,7 +7,7 @@ export type WithYandexMetrikaProps = { children: React.ReactNode; } -export const WEBSITE_HOST_URL = 'https://robotop.krasnikov.pro/'; +export const WEBSITE_HOST_URL = 'https://robotop.krasnikov.pro'; const Head = ({ customMeta }: { customMeta?: MetaProps }): JSX.Element => { const router = useRouter(); diff --git a/components/Yandex.tsx b/components/Yandex.tsx new file mode 100644 index 0000000..9aaa5a8 --- /dev/null +++ b/components/Yandex.tsx @@ -0,0 +1,23 @@ +import React from 'react'; +import Script from 'next/script' + +export const YandexMetrics = () => { + return( +
+