diff --git a/public/minus_icon_turned.svg b/public/minus_icon_turned.svg
new file mode 100644
index 0000000..d1a26e9
--- /dev/null
+++ b/public/minus_icon_turned.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/public/plus_icon_turned.svg b/public/plus_icon_turned.svg
new file mode 100644
index 0000000..d3eb7d5
--- /dev/null
+++ b/public/plus_icon_turned.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/public/ringrace.jpg b/public/ringrace.jpg
new file mode 100644
index 0000000..6be65cf
Binary files /dev/null and b/public/ringrace.jpg differ
diff --git a/public/ringrace.png b/public/ringrace.png
new file mode 100644
index 0000000..3b1cd40
Binary files /dev/null and b/public/ringrace.png differ
diff --git a/src/components/pages/cart/orderInfo.tsx b/src/components/pages/cart/orderInfo.tsx
index 215f9ed..f37c8f6 100644
--- a/src/components/pages/cart/orderInfo.tsx
+++ b/src/components/pages/cart/orderInfo.tsx
@@ -32,13 +32,16 @@ const OrderInfo = (props: OrderInfoProps) => {
Информация о заказе
- Товаров на:
- {/* TODO round value */}
- {/*{String(totalProductPriceQs.data ? _.sum(totalProductPriceQs.data.data!.items.map(item => item.cart.product.price.BASE * item.cart.quantity)) : 0).replace(/\B(?=(\d{3})+(?!\d))/g, " ")} ₽ */}
+ Товаров на:
+ {/* TODO round value */}
+ {/*{String(totalProductPriceQs.data ? _.sum(totalProductPriceQs.data.data!.items.map(item => item.cart.product.price.BASE * item.cart.quantity)) : 0).replace(/\B(?=(\d{3})+(?!\d))/g, " ")} ₽ */}
@@ -52,7 +55,8 @@ const OrderInfo = (props: OrderInfoProps) => {
Итого:
- {String(totalProductPriceQs.data ? totalProductPriceQs.data.data!.total : 0).replace(/\B(?=(\d{3})+(?!\d))/g, " ")} ₽
+ {String(totalProductPriceQs.data ? totalProductPriceQs.data.data!.total : 0).replace(/\B(?=(\d{3})+(?!\d))/g, " ")} ₽
@@ -64,7 +68,9 @@ const OrderInfo = (props: OrderInfoProps) => {
props.setIsDisabled(!props.isDisabled)
}}
className={"[&_span:last-child]:!text-[#808080] [&_span:last-child]:text-subtitle-5 [&_span:last-child]:leading-normal mb-6"}>Нажимая
- кнопку «Оформить заказ», я даю согласие на обработку моих персональных данных
+ кнопку «Оформить заказ», я даю согласие на обработку
+ моих персональных данных
)
diff --git a/src/components/reusable/accordSupport.tsx b/src/components/reusable/accordSupport.tsx
new file mode 100644
index 0000000..5aabf58
--- /dev/null
+++ b/src/components/reusable/accordSupport.tsx
@@ -0,0 +1,40 @@
+import {
+ Accordion,
+ AccordionItem
+} from "@nextui-org/react";
+import Plus from "@/../public/plus_icon_turned.svg"
+import Minus from "@/../public/minus_icon_turned.svg"
+
+const AccordSupp = () => {
+ return (
+
+ (isOpen ? : )}
+ >
+ daassdad
+
+ (isOpen ? : )}>
+ daaAsdasdaaaaaaaaaaaaaa
+
+ (isOpen ? : )}>
+ daaAsdasdaaaaaaaaaaaaaa
+
+ (isOpen ? : )}>
+ daaAsdasdaaaaaaaaaaaaaa
+
+ (isOpen ? : )}>
+ daaAsdasdaaaaaaaaaaaaaa
+
+
+
+ )
+}
+
+export default AccordSupp
\ No newline at end of file
diff --git a/src/components/reusable/linkDoc.tsx b/src/components/reusable/linkDoc.tsx
index a76a460..5832dbb 100644
--- a/src/components/reusable/linkDoc.tsx
+++ b/src/components/reusable/linkDoc.tsx
@@ -1,23 +1,32 @@
import {
- Button,
+ Button, Link,
} from "@nextui-org/react";
import DocIcon from "../../../public/docdownload.svg"
+type DocProps = {
+ name: string,
+ link: string,
+}
-const LinkDoc = () => {
+const LinkDoc = (props:DocProps) => {
return (
{
+ // window.location.href ={props.link};
+ // }}
>
-
Учредительный договор ООО “Энергострой”.doc
+
{props.name}
- 542 КБ
+ {/*{props.weight} */}
- )
+ )
}
export default LinkDoc
\ No newline at end of file
diff --git a/src/components/reusable/linkSupport.tsx b/src/components/reusable/linkSupport.tsx
index 100562e..f50023f 100644
--- a/src/components/reusable/linkSupport.tsx
+++ b/src/components/reusable/linkSupport.tsx
@@ -15,7 +15,7 @@ const LinkSupport = () => {
>
- Учредительный договор ООО “Энергострой”.doc
+
542 КБ
diff --git a/src/pages/catalog/[code].tsx b/src/pages/catalog/[code].tsx
index 2c170c6..8b9641f 100644
--- a/src/pages/catalog/[code].tsx
+++ b/src/pages/catalog/[code].tsx
@@ -172,8 +172,9 @@ const OilCard = ({product}: InferGetStaticPropsType
) => {
Документация
-
-
+
+ {isClient && product.properties.documents && }
+ {isClient && product.properties.documents && }
diff --git a/src/pages/personalization.tsx b/src/pages/personalization.tsx
index 2dcf73b..9515842 100644
--- a/src/pages/personalization.tsx
+++ b/src/pages/personalization.tsx
@@ -11,15 +11,21 @@ const Personalization = () => {
На базе собственного Научно-технического центра (НТЦ ООО «ТД Технохим Групп) наша компания готова доработать линейку продукции или услуги под запросы конкретного клиента.
-
-
+
+
+
Приборостроение, НИОКР
-
+
+
+
diff --git a/src/pages/support.tsx b/src/pages/support.tsx
index fa5fba8..38299f8 100644
--- a/src/pages/support.tsx
+++ b/src/pages/support.tsx
@@ -1,12 +1,15 @@
import Wrapper from "@/components/reusable/wrapper"
import LinkSupport from "@/components/reusable/linkSupport";
import FormSupport from "@/components/reusable/formSupport";
+import AccordSupp from "@/components/reusable/accordSupport";
+import {Button} from "@nextui-org/react";
+import ChevronBannerIcon from "../../public/banner_arr_btn.svg.svg";
const Support = () => {
return (
-
+
Мы всегда готовы ответить на вопросы, связанные с качеством выпускаемых смазочных материалов. Если у Вас возникли вопросы, то вы можете обратиться в службу технической поддержки компании ООО «ТД Технохим Групп»
@@ -19,8 +22,8 @@ const Support = () => {
-
- Важно
+
+ Важно
Данные о партии и сроке хранения продукции смотрите на этикетке канистры.
Перед началом работы следует внимательно ознакомиться с инструкцией по эксплуатации.
@@ -33,10 +36,21 @@ const Support = () => {
- Часто задаваемые вопросы
+ Часто задаваемые вопросы
+
-
+
+
+
У вас остались вопросы?
+
Вы можете обратиться в службу технической поддержки компании ООО «ТД Технохим Групп» и мы ответим
+ на все Ваши вопросы!
+
}>
+
Задать вопрос
+
+
+
)
}
diff --git a/tailwind.config.ts b/tailwind.config.ts
index 817dd14..1b5d55d 100644
--- a/tailwind.config.ts
+++ b/tailwind.config.ts
@@ -5,6 +5,7 @@ const {nextui} = require("@nextui-org/react");
const config: Config = {
content: [
+
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",