Добавил яндекс метрику
This commit is contained in:
parent
501a608dd1
commit
a73a2d4ba9
|
|
@ -1,5 +1,6 @@
|
||||||
import {Links, Meta, Outlet, Scripts} from "react-router";
|
import {Links, Meta, Outlet, Scripts} from "react-router";
|
||||||
import './app.css';
|
import './app.css';
|
||||||
|
import {MetrikaCounter} from "react-metrika";
|
||||||
|
|
||||||
export function Layout({ children }: { children: React.ReactNode }) {
|
export function Layout({ children }: { children: React.ReactNode }) {
|
||||||
return (
|
return (
|
||||||
|
|
@ -11,6 +12,9 @@ export function Layout({ children }: { children: React.ReactNode }) {
|
||||||
<Meta/>
|
<Meta/>
|
||||||
<Links/>
|
<Links/>
|
||||||
<Scripts />
|
<Scripts />
|
||||||
|
<MetrikaCounter
|
||||||
|
id={111638245}
|
||||||
|
/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{children}
|
{children}
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,7 @@
|
||||||
"@types/react": "^19.2.7",
|
"@types/react": "^19.2.7",
|
||||||
"@types/react-dom": "^19.2.3",
|
"@types/react-dom": "^19.2.3",
|
||||||
"cross-env": "^10.0.0",
|
"cross-env": "^10.0.0",
|
||||||
|
"react-metrika": "^1.0.0",
|
||||||
"tailwindcss": "^4.1.13",
|
"tailwindcss": "^4.1.13",
|
||||||
"tw-animate-css": "^1.4.0",
|
"tw-animate-css": "^1.4.0",
|
||||||
"typescript": "^5.9.2",
|
"typescript": "^5.9.2",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue