diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..923b0a9
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,7 @@
+services:
+ client:
+ image: 80.249.144.200:5000/relynolli_client:latest-amd
+ platform: linux/amd64
+ build: .
+ ports:
+ - "3000:3000"
\ No newline at end of file
diff --git a/src/components/reusable/header/index.tsx b/src/components/reusable/header/index.tsx
index b8e86f7..db4ebb1 100644
--- a/src/components/reusable/header/index.tsx
+++ b/src/components/reusable/header/index.tsx
@@ -150,15 +150,15 @@ const Header = () => {
- {cart.data &&
-
-
-
-
-
- }
+ {/*{cart.data &&*/}
+ {/* */}
+ {/* */}
+ {/* */}
+ {/* */}
+ {/* */}
+ {/*}*/}
diff --git a/src/pages/articles/index.tsx b/src/pages/articles/index.tsx
index 8c7e3e0..22d17b1 100644
--- a/src/pages/articles/index.tsx
+++ b/src/pages/articles/index.tsx
@@ -6,6 +6,7 @@ import {News} from "@/service/types/local";
import {WrapperDark} from "@/components/reusable/wrapper";
import {Skeleton} from "@nextui-org/react";
import Link from "next/link";
+import Head from "next/head";
const NewsCard = (props: News) => {
return (
@@ -37,6 +38,11 @@ const News = () => {
})
return (
+ <>
+
+ Блог Relynolli – полезные статьи о моторных маслах
+
+
@@ -50,7 +56,10 @@ const News = () => {
}
- )
+
+
+ >
+ )
}
diff --git a/src/pages/catalog/[code].tsx b/src/pages/catalog/[code].tsx
index 442dd11..d67b5fa 100644
--- a/src/pages/catalog/[code].tsx
+++ b/src/pages/catalog/[code].tsx
@@ -84,15 +84,15 @@ const OilCard = ({product}: InferGetStaticPropsType) => {
1 шт
- {isClient &&
- }*/}
{
isClient &&
toggleFavourite(product.id)}
diff --git a/src/pages/catalog/index.tsx b/src/pages/catalog/index.tsx
index 4d3953b..559bada 100644
--- a/src/pages/catalog/index.tsx
+++ b/src/pages/catalog/index.tsx
@@ -23,6 +23,7 @@ import LocalAPI from "@/service/localAPI";
import { Img } from "react-image";
import { Dispatch, SetStateAction, useEffect, useState } from "react";
import { Product } from "@/service/types/local";
+import Head from "next/head";
type SelectedFiltersStruct = {
[key: string]: string[];
@@ -189,25 +190,25 @@ const CatalogCard = (product: Product & { isFavourite: boolean }) => {
{`${product.price.BASE}`.replace(/\B(?=(\d{3})+(?!\d))/g, " ")} ₽
- {(cartItems.data) ? (
-
- toggleCart.mutate({
- productId: product.id,
- quantity: 1,
- })
- }
- className={
- "bg-green-2 text-black-3 relative z-20 text-lg font-bold uppercase italic"
- }
- >
- {(cartItems.data && cartItems.data.data && cartItems.data.data
- .map(({ productId }) => productId)
- .includes(product.id))
- ? "В корзине"
- : "В корзину"}
-
- ) : null}
+ {/*{(cartItems.data) ? (*/}
+ {/* */}
+ {/* toggleCart.mutate({*/}
+ {/* productId: product.id,*/}
+ {/* quantity: 1,*/}
+ {/* })*/}
+ {/* }*/}
+ {/* className={*/}
+ {/* "bg-green-2 text-black-3 relative z-20 text-lg font-bold uppercase italic"*/}
+ {/* }*/}
+ {/* >*/}
+ {/* {(cartItems.data && cartItems.data.data && cartItems.data.data*/}
+ {/* .map(({ productId }) => productId)*/}
+ {/* .includes(product.id))*/}
+ {/* ? "В корзине"*/}
+ {/* : "В корзину"}*/}
+ {/* */}
+ {/*) : null}*/}
) => {
});
return (
+ <>
+
+ Каталог Relynolli – купить моторное масло для автомобиля и техники на официальном сайте
+
+
) => {
/>
+ >
);
};
diff --git a/src/pages/contact.tsx b/src/pages/contact.tsx
index 0719b5c..3ff4e47 100644
--- a/src/pages/contact.tsx
+++ b/src/pages/contact.tsx
@@ -1,6 +1,7 @@
import Wrapper from "@/components/reusable/wrapper";
import Stepper from "@/components/reusable/stepper";
import CallbackForm from "@/components/reusable/contacts/callbackForm";
+import Head from "next/head";
const Form1 = () => (
<>
@@ -537,6 +538,13 @@ const Contact = () => {
]
return (
+ <>
+
+
+
+ Контакты Relynolli: телефоны, адреса, почта
+
+
@@ -576,6 +584,7 @@ const Contact = () => {
+ >
)
}
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 4f8a945..5e3193f 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -15,6 +15,7 @@ import {News, Wrapper} from "@/service/types/local";
import useClient from "@/hooks/useClient";
import {useQuery} from "@tanstack/react-query";
import LocalAPI from "@/service/localAPI";
+import Head from "next/head";
const Hero = () => {
return (
@@ -359,6 +360,10 @@ const ArticlesSlider = () => {
export default function Home() {
return (
<>
+
+ Relynolli – купить моторное масло на официальном сайте российского производителя по выгодной цене
+
+
diff --git a/src/pages/news/index.tsx b/src/pages/news/index.tsx
index 342a8fd..b01cbe0 100644
--- a/src/pages/news/index.tsx
+++ b/src/pages/news/index.tsx
@@ -6,6 +6,7 @@ import {News} from "@/service/types/local";
import {WrapperDark} from "@/components/reusable/wrapper";
import {Skeleton} from "@nextui-org/react";
import Link from "next/link";
+import Head from "next/head";
const NewsCard = (props: News) => {
return (
@@ -37,20 +38,28 @@ const News = () => {
})
return (
-
+ <>
+
+ Новости Relynolli – актуальная информация о бренде, публикации в СМИ
+
+
+
-
- {
- queryNews.data && queryNews.data.data!.map(news =>
)
- }
- {
- queryNews.isFetching && Array(10).fill(0).map((_, index) =>
-
- )
- }
+
+ {
+ queryNews.data && queryNews.data.data!.map(news =>
)
+ }
+ {
+ queryNews.isFetching && Array(10).fill(0).map((_, index) =>
+
+ )
+ }
+
+
+
+ >
+ )
-
- )
}
diff --git a/src/pages/support.tsx b/src/pages/support.tsx
index 42b3c16..7c66aad 100644
--- a/src/pages/support.tsx
+++ b/src/pages/support.tsx
@@ -53,7 +53,7 @@ const Support = () => {
на все Ваши вопросы!
}>
Задать вопрос