diff --git a/public/ozon_icon.jpg b/public/ozon_icon.jpg new file mode 100644 index 0000000..f1f1d30 Binary files /dev/null and b/public/ozon_icon.jpg differ diff --git a/public/ozon_icon.png b/public/ozon_icon.png new file mode 100644 index 0000000..7047a9b Binary files /dev/null and b/public/ozon_icon.png differ diff --git a/public/tg_icon.svg b/public/tg_icon.svg new file mode 100644 index 0000000..1efe81f --- /dev/null +++ b/public/tg_icon.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/public/vk_icon.svg b/public/vk_icon.svg new file mode 100644 index 0000000..d26ef73 --- /dev/null +++ b/public/vk_icon.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/pages/cart/orderInfo.tsx b/src/components/pages/cart/orderInfo.tsx index b23fd0f..b4aec2c 100644 --- a/src/components/pages/cart/orderInfo.tsx +++ b/src/components/pages/cart/orderInfo.tsx @@ -23,7 +23,7 @@ const OrderInfo = (props: OrderInfoProps) => {

Информация о заказе

Товаров на: - {String(totalProductPriceQs.data?.total_product_price).replace(/\B(?=(\d{3})+(?!\d))/g, " ")} ₽ + {String(totalProductPriceQs.data ? totalProductPriceQs.data.data!.total : 0).replace(/\B(?=(\d{3})+(?!\d))/g, " ")} ₽
{
Итого: - {String(totalProductPriceQs.data?.total_product_price).replace(/\B(?=(\d{3})+(?!\d))/g, " ")} ₽ + {String(totalProductPriceQs.data ? totalProductPriceQs.data.data!.total : 0).replace(/\B(?=(\d{3})+(?!\d))/g, " ")} ₽
Сумма НДС: - {totalProductPriceQs.data?.total_product_price * 0.2} ₽ + {totalProductPriceQs.data ? totalProductPriceQs.data.data!.total * 20 / 120 : 0} ₽
{ diff --git a/src/components/reusable/footer.tsx b/src/components/reusable/footer.tsx new file mode 100644 index 0000000..6473502 --- /dev/null +++ b/src/components/reusable/footer.tsx @@ -0,0 +1,67 @@ +import {Divider} from "@nextui-org/react"; +import Link from "next/link"; +import Logo from "../../../public/header_logo.svg"; +import TgIcon from "../../../public/tg_icon.svg" +import VkIcon from "../../../public/vk_icon.svg" +import {Img} from "react-image"; + +const Footer = () => { + return ( +
+
+
+ + + + Московская область, г. Домодедово, + Каширское ш, 4, к.1, оф.330 + +7(495)191-97-20 + +
+ + +
+ +
+ +
+
+
+

Бренд

+
    +
  • Персонализация
  • +
  • Технологии
  • +
  • Производство
  • +
  • Новости
  • +
  • Карьера
  • +
  • Миссия
  • +
+
+
+

Продукция

+
    +
  • Relynolli ® Standart M
  • +
  • Relynolli ® Premium M
  • +
+
+
+

Информация

+
    +
  • Оплата
  • +
  • Контакты
  • +
  • Поддержка и рекламации
  • +
+
+ +
+

© ООО "ТД Технохим Групп" 2024

+

Политика конфиденциальности

+

Обработка персональных данных

+
+
+ +
+ ) +} + +export default Footer \ No newline at end of file diff --git a/src/components/reusable/header/index.tsx b/src/components/reusable/header/index.tsx index dfc6b96..0d21b9f 100644 --- a/src/components/reusable/header/index.tsx +++ b/src/components/reusable/header/index.tsx @@ -136,7 +136,7 @@ const Header = () => { {cart.data && - @@ -198,7 +198,7 @@ const Header = () => { {cart.data && - @@ -206,15 +206,9 @@ const Header = () => { } - - - - - - ) diff --git a/src/components/reusable/layout.tsx b/src/components/reusable/layout.tsx index a447232..f2497c5 100644 --- a/src/components/reusable/layout.tsx +++ b/src/components/reusable/layout.tsx @@ -1,5 +1,6 @@ import Header from "@/components/reusable/header"; import {Mulish} from "next/font/google"; +import Footer from "@/components/reusable/footer"; const mulish = Mulish({ subsets: ["cyrillic", "latin"], @@ -12,6 +13,7 @@ const Layout = ({ children }: { children: React.ReactNode }) => {
{children}
+