night with logo and plitki

This commit is contained in:
belikovme 2024-10-31 00:17:41 +07:00
parent 9e601f96a6
commit 8bd5363298
19 changed files with 703 additions and 289 deletions

View File

@ -2,14 +2,14 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="icon" href="%PUBLIC_URL%/logo_white.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo_white.svg" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<title>React App</title>
</head>

6
public/logo.svg Normal file
View File

@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100">
<path d="M 10,100 L 50,-10 L 90,100 L 65,100 L 50,40 L 35,100 Z"
transform="skewX(-10)" fill="black"/>
<path d="M 100,100 L 140,-10 L 180,100 Z"
transform="skewX(-10)" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 274 B

6
public/logo_white.svg Normal file
View File

@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100">
<path d="M 10,100 L 50,-10 L 90,100 L 65,100 L 50,40 L 35,100 Z"
transform="skewX(-10)" fill="white"/>
<path d="M 100,100 L 140,-10 L 180,100 Z"
transform="skewX(-10)" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 274 B

View File

@ -3,17 +3,17 @@
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"src": "logo.svg",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"src": "logo.svg",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"src": "logo.svg",
"type": "image/png",
"sizes": "512x512"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -1 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 841.9 595.3"><g fill="#61DAFB"><path d="M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11-2.3-10-4-19.7-5.2-29-4.7-38.2 1.1-67.9 14.6-75.8 3-1.8 6.9-2.6 11.5-2.6V78.5c-8.4 0-16 1.8-22.6 5.6-28.1 16.2-34.4 66.7-19.9 130.1-62.2 19.2-102.7 49.9-102.7 82.3 0 32.5 40.7 63.3 103.1 82.4-14.4 63.6-8 114.2 20.2 130.4 6.5 3.8 14.1 5.6 22.5 5.6 27.5 0 63.5-19.6 99.9-53.6 36.4 33.8 72.4 53.2 99.9 53.2 8.4 0 16-1.8 22.6-5.6 28.1-16.2 34.4-66.7 19.9-130.1 62-19.1 102.5-49.9 102.5-82.3zm-130.2-66.7c-3.7 12.9-8.3 26.2-13.5 39.5-4.1-8-8.4-16-13.1-24-4.6-8-9.5-15.8-14.4-23.4 14.2 2.1 27.9 4.7 41 7.9zm-45.8 106.5c-7.8 13.5-15.8 26.3-24.1 38.2-14.9 1.3-30 2-45.2 2-15.1 0-30.2-.7-45-1.9-8.3-11.9-16.4-24.6-24.2-38-7.6-13.1-14.5-26.4-20.8-39.8 6.2-13.4 13.2-26.8 20.7-39.9 7.8-13.5 15.8-26.3 24.1-38.2 14.9-1.3 30-2 45.2-2 15.1 0 30.2.7 45 1.9 8.3 11.9 16.4 24.6 24.2 38 7.6 13.1 14.5 26.4 20.8 39.8-6.3 13.4-13.2 26.8-20.7 39.9zm32.3-13c5.4 13.4 10 26.8 13.8 39.8-13.1 3.2-26.9 5.9-41.2 8 4.9-7.7 9.8-15.6 14.4-23.7 4.6-8 8.9-16.1 13-24.1zM421.2 430c-9.3-9.6-18.6-20.3-27.8-32 9 .4 18.2.7 27.5.7 9.4 0 18.7-.2 27.8-.7-9 11.7-18.3 22.4-27.5 32zm-74.4-58.9c-14.2-2.1-27.9-4.7-41-7.9 3.7-12.9 8.3-26.2 13.5-39.5 4.1 8 8.4 16 13.1 24 4.7 8 9.5 15.8 14.4 23.4zM420.7 163c9.3 9.6 18.6 20.3 27.8 32-9-.4-18.2-.7-27.5-.7-9.4 0-18.7.2-27.8.7 9-11.7 18.3-22.4 27.5-32zm-74 58.9c-4.9 7.7-9.8 15.6-14.4 23.7-4.6 8-8.9 16-13 24-5.4-13.4-10-26.8-13.8-39.8 13.1-3.1 26.9-5.8 41.2-7.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 8.6-3.7 18-7 27.7-10.1 5.7 19.6 13.2 40 22.5 60.9-9.2 20.8-16.6 41.1-22.2 60.6-9.9-3.1-19.3-6.5-28-10.2zM310 490c-13.6-7.8-19.5-37.5-14.9-75.7 1.1-9.4 2.9-19.3 5.1-29.4 19.6 4.8 41 8.5 63.5 10.9 13.5 18.5 27.5 35.3 41.6 50-32.6 30.3-63.2 46.9-84 46.9-4.5-.1-8.3-1-11.3-2.7zm237.2-76.2c4.7 38.2-1.1 67.9-14.6 75.8-3 1.8-6.9 2.6-11.5 2.6-20.7 0-51.4-16.5-84-46.6 14-14.7 28-31.4 41.3-49.9 22.6-2.4 44-6.1 63.6-11 2.3 10.1 4.1 19.8 5.2 29.1zm38.5-66.7c-8.6 3.7-18 7-27.7 10.1-5.7-19.6-13.2-40-22.5-60.9 9.2-20.8 16.6-41.1 22.2-60.6 9.9 3.1 19.3 6.5 28.1 10.2 35.4 15.1 58.3 34.9 58.3 50.6-.1 15.7-23 35.6-58.4 50.6zM320.8 78.4z"/><circle cx="420.9" cy="296.5" r="45.7"/><path d="M520.5 78.1z"/></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100">
<path d="M 10,100 L 50,-10 L 90,100 L 65,100 L 50,40 L 35,100 Z"
transform="skewX(-10)" fill="black"/>
<path d="M 100,100 L 140,-10 L 180,100 Z"
transform="skewX(-10)" fill="black"/>
</svg>

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 274 B

View File

@ -1,22 +1,252 @@
// import React from 'react';
// function Footer() {
// return (
// <footer className="bg-white text-primary-foreground mt-auto">
// <div className="container mx-auto px-4 py-6">
// <div className='mb-4'>
// <p><strong>ООО «АНТХИЛЛ»</strong></p>
// <p><strong>ИНН:</strong> 8942384012938340 </p>
// <p><strong>Контактный номер:</strong> Имя +7 213 432-43-23 </p>
// <p className="mb-2"><strong>Адрес:</strong> г. Новокузнецк, ул. Тольяти, д. 5Б, помещ. 10</p>
// {/* <p className="mb-2"><strong>Телефон:</strong> +7 (111) 222-43-23</p> */}
// <p className="mb-2"><strong>Email:</strong> info@anthill.com</p>
// </div>
// <div className="flex flex-col md:flex-row justify-between items-center">
// <p>&copy; 2023 Anthill. Все права защищены.</p>
// {/* <div className="mt-4 md:mt-0">
// <a href="#" className="hover:text-primary-foreground/80 transition-colors mr-4">Политика конфиденциальности</a>
// <a href="#" className="hover:text-primary-foreground/80 transition-colors">Условия использования</a>
// </div> */}
// </div>
// </div>
// </footer>
// );
// }
// export default Footer;
// import React from 'react';
// import { MapPin, Phone, Mail, Clock } from 'lucide-react';
// function Footer() {
// return (
// <footer className="bg-gray-50 text-gray-600">
// <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
// {/* Основная информация */}
// <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 py-12">
// {/* О компании */}
// <div>
// <h3 className="text-lg font-semibold text-gray-900 mb-4">О компании</h3>
// <p className="text-sm mb-4">ООО «АНТХИЛЛ»</p>
// <p className="text-sm mb-2">ИНН: 8942384012938340</p>
// <div className="flex items-center gap-2 text-sm">
// <Clock className="h-4 w-4" />
// <span>Пн-Пт: 9:00-18:00</span>
// </div>
// </div>
// {/* Контакты */}
// <div>
// <h3 className="text-lg font-semibold text-gray-900 mb-4">Контакты</h3>
// <div className="space-y-3">
// <div className="flex items-center gap-2">
// <Phone className="h-4 w-4" />
// <a href="tel:+72134324323" className="text-sm hover:text-gray-900 transition-colors">
// +7 213 432-43-23
// </a>
// </div>
// <div className="flex items-center gap-2">
// <Mail className="h-4 w-4" />
// <a href="mailto:info@anthill.com" className="text-sm hover:text-gray-900 transition-colors">
// info@anthill.com
// </a>
// </div>
// <div className="flex items-start gap-2">
// <MapPin className="h-4 w-4 mt-1" />
// <p className="text-sm">
// г. Новокузнецк, <br />
// ул. Тольяти, д. 5Б, <br />
// помещ. 10
// </p>
// </div>
// </div>
// </div>
// {/* Услуги */}
// <div>
// <h3 className="text-lg font-semibold text-gray-900 mb-4">Услуги</h3>
// <ul className="space-y-2">
// <li>
// <a href="#" className="text-sm hover:text-gray-900 transition-colors">Поставка фильтров</a>
// </li>
// <li>
// <a href="#" className="text-sm hover:text-gray-900 transition-colors">Подбор аналогов</a>
// </li>
// <li>
// <a href="#" className="text-sm hover:text-gray-900 transition-colors">Оптовые поставки</a>
// </li>
// <li>
// <a href="#" className="text-sm hover:text-gray-900 transition-colors">Доставка</a>
// </li>
// </ul>
// </div>
// {/* Документы */}
// <div>
// <h3 className="text-lg font-semibold text-gray-900 mb-4">Документы</h3>
// <ul className="space-y-2">
// <li>
// <a href="#" className="text-sm hover:text-gray-900 transition-colors">
// Политика конфиденциальности
// </a>
// </li>
// <li>
// <a href="#" className="text-sm hover:text-gray-900 transition-colors">
// Условия использования
// </a>
// </li>
// <li>
// <a href="#" className="text-sm hover:text-gray-900 transition-colors">
// Сертификаты
// </a>
// </li>
// </ul>
// </div>
// </div>
// {/* Нижняя часть футера */}
// <div className="border-t border-gray-200 py-6">
// <div className="flex flex-col md:flex-row justify-between items-center gap-4">
// <p className="text-sm">
// © {new Date().getFullYear()} АНТХИЛЛ. Все права защищены.
// </p>
// <div className="flex gap-6">
// <a href="#" className="text-gray-400 hover:text-gray-600 transition-colors">
// <span className="sr-only">VK</span>
// <svg className="h-6 w-6" fill="currentColor" viewBox="0 0 24 24">
// <path d="M15.684 0H8.316C1.592 0 0 1.592 0 8.316v7.368C0 22.408 1.592 24 8.316 24h7.368C22.408 24 24 22.408 24 15.684V8.316C24 1.592 22.408 0 15.684 0zm3.692 16.773h-1.744c-.66 0-.862-.523-2.049-1.709-1.033-1.005-1.49-1.135-1.745-1.135-.356 0-.458.102-.458.597v1.575c0 .424-.135.672-1.236.672-1.83 0-3.865-1.112-5.293-3.178-2.15-3.047-2.742-5.322-2.742-5.794 0-.254.102-.491.596-.491h1.744c.44 0 .61.203.78.677.864 2.487 2.303 4.675 2.896 4.675.22 0 .322-.102.322-.66V9.793c-.068-1.186-.695-1.287-.695-1.71 0-.203.17-.407.44-.407h2.742c.373 0 .508.204.508.643v3.473c0 .372.17.508.271.508.22 0 .407-.136.813-.542 1.254-1.406 2.15-3.574 2.15-3.574.119-.254.305-.491.728-.491h1.744c.525 0 .644.27.525.643-.22 1.015-2.353 4.031-2.353 4.031-.186.305-.254.44 0 .78.186.254.796.779 1.203 1.253.745.847 1.32 1.558 1.473 2.048.17.474-.085.716-.576.716z"/>
// </svg>
// </a>
// <a href="#" className="text-gray-400 hover:text-gray-600 transition-colors">
// <span className="sr-only">Telegram</span>
// <svg className="h-6 w-6" fill="currentColor" viewBox="0 0 24 24">
// <path d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm5.894 8.221l-1.97 9.28c-.145.658-.537.818-1.084.508l-3-2.21-1.446 1.394c-.14.18-.357.223-.548.223l.188-2.623 4.823-4.351c.212-.19-.043-.295-.323-.105l-5.96 3.738-2.525-.785c-.55-.176-.564-.576.114-.852l9.84-3.8c.47-.176.878.107.89.583z"/>
// </svg>
// </a>
// <a href="#" className="text-gray-400 hover:text-gray-600 transition-colors">
// <span className="sr-only">WhatsApp</span>
// <svg className="h-6 w-6" fill="currentColor" viewBox="0 0 24 24">
// <path d="M12.031 6.172c-3.181 0-5.767 2.586-5.768 5.766-.001 1.298.38 2.27 1.019 3.287l-.582 2.128 2.182-.573c.978.58 1.911.928 3.145.929 3.178 0 5.767-2.587 5.768-5.766.001-3.187-2.575-5.77-5.764-5.771zm3.392 8.244c-.144.405-.837.774-1.17.824-.299.045-.677.063-1.092-.069-.252-.08-.575-.187-.988-.365-1.739-.751-2.874-2.502-2.961-2.617-.087-.116-.708-.94-.708-1.793s.448-1.273.607-1.446c.159-.173.346-.217.462-.217l.332.006c.106.005.249-.04.39.298.144.347.491 1.2.534 1.287.043.087.072.188.014.304-.058.116-.087.188-.173.289l-.26.304c-.087.086-.177.18-.076.354.101.174.449.741.964 1.201.662.591 1.221.774 1.394.86s.274.072.376-.043c.101-.116.433-.506.549-.68.116-.173.231-.145.39-.087s1.011.477 1.184.564.289.13.332.202c.045.072.045.419-.1.824zm-3.423-14.416c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm.029 18.88c-1.161 0-2.305-.292-3.318-.844l-3.677.964.984-3.595c-.607-1.052-.927-2.246-.926-3.468.001-3.825 3.113-6.937 6.937-6.937 1.856.001 3.598.723 4.907 2.034 1.31 1.311 2.031 3.054 2.03 4.908-.001 3.825-3.113 6.938-6.937 6.938z"/>
// </svg>
// </a>
// </div>
// </div>
// </div>
// </div>
// </footer>
// );
// }
// export default Footer;
import React from 'react';
import { MapPin, Phone, Mail, Clock } from 'lucide-react';
function Footer() {
return (
<footer className="bg-white text-primary-foreground mt-auto">
<div className="container mx-auto px-4 py-6">
<div className='mb-4'>
<p>ООО «АНТХИЛЛ» </p>
<p>ИНН: 8942384012938340 </p>
<p>Контактный номер: Имя +7 213 432-43-23 </p>
<footer className="bg-gray-50 text-gray-600">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
{/* Основная информация */}
<div className="grid grid-cols-1 md:grid-cols-3 gap-8 py-12">
{/* О компании */}
<div>
<h3 className="text-lg font-semibold text-gray-900 mb-4">О компании</h3>
<p className="text-sm mb-4">ООО «АНТХИЛЛ»</p>
<p className="text-sm mb-2">ИНН: 8942384012938340</p>
<div className="flex items-center gap-2 text-sm">
<Clock className="h-4 w-4" />
<span>Пн-Пт: 9:00-18:00</span>
</div>
</div>
{/* Контакты */}
<div>
<h3 className="text-lg font-semibold text-gray-900 mb-4">Контакты</h3>
<div className="space-y-3">
<div className="flex items-center gap-2">
<Phone className="h-4 w-4" />
<a href="tel:+72134324323" className="text-sm hover:text-gray-900 transition-colors">
+7 213 432-43-23
</a>
</div>
<div className="flex items-center gap-2">
<Mail className="h-4 w-4" />
<a href="mailto:info@anthill.com" className="text-sm hover:text-gray-900 transition-colors">
info@anthill.com
</a>
</div>
<div className="flex items-start gap-2">
<MapPin className="h-4 w-4 mt-1" />
<p className="text-sm">
г. Новокузнецк, <br />
ул. Тольяти, д. 5Б, <br />
помещ. 10
</p>
</div>
</div>
</div>
{/* Услуги */}
<div>
<h3 className="text-lg font-semibold text-gray-900 mb-4">Услуги</h3>
<ul className="space-y-2">
<li>
<a href="#" className="text-sm hover:text-gray-900 transition-colors">Поставка фильтров</a>
</li>
<li>
<a href="#" className="text-sm hover:text-gray-900 transition-colors">Подбор аналогов</a>
</li>
<li>
<a href="#" className="text-sm hover:text-gray-900 transition-colors">Оптовые поставки</a>
</li>
<li>
<a href="#" className="text-sm hover:text-gray-900 transition-colors">Доставка</a>
</li>
</ul>
</div>
</div>
<div className="flex flex-col md:flex-row justify-between items-center">
<p>&copy; 2023 Anthill. Все права защищены.</p>
{/* <div className="mt-4 md:mt-0">
<a href="#" className="hover:text-primary-foreground/80 transition-colors mr-4">Политика конфиденциальности</a>
<a href="#" className="hover:text-primary-foreground/80 transition-colors">Условия использования</a>
</div> */}
{/* Нижняя часть футера */}
<div className="border-t border-gray-200 py-6">
<div className="flex flex-col md:flex-row justify-between items-center gap-4">
<p className="text-sm">
© {new Date().getFullYear()} АНТХИЛЛ. Все права защищены.
</p>
<div className="flex gap-6">
<a href="#" aria-label="VK" className="text-gray-400 hover:text-gray-600 transition-colors">
<svg className="h-6 w-6" fill="currentColor" viewBox="0 0 24 24">
<path d="M15.684 0H8.316C1.592 0 0 1.592 0 8.316v7.368C0 22.408 1.592 24 8.316 24h7.368C22.408 24 24 22.408 24 15.684V8.316C24 1.592 22.408 0 15.684 0zm3.692 16.773h-1.744c-.66 0-.862-.523-2.049-1.709-1.033-1.005-1.49-1.135-1.745-1.135-.356 0-.458.102-.458.597v1.575c0 .424-.135.672-1.236.672-1.83 0-3.865-1.112-5.293-3.178-2.15-3.047-2.742-5.322-2.742-5.794 0-.254.102-.491.596-.491h1.744c.44 0 .61.203.78.677.864 2.487 2.303 4.675 2.896 4.675.22 0 .322-.102.322-.66V9.793c-.068-1.186-.695-1.287-.695-1.71 0-.203.17-.407.44-.407h2.742c.373 0 .508.204.508.643v3.473c0 .372.17.508.271.508.22 0 .407-.136.813-.542 1.254-1.406 2.15-3.574 2.15-3.574.119-.254.305-.491.728-.491h1.744c.525 0 .644.27.525.643-.22 1.015-2.353 4.031-2.353 4.031-.186.305-.254.44 0 .78.186.254.796.779 1.203 1.253.745.847 1.32 1.558 1.473 2.048.17.474-.085.716-.576.716z"/>
</svg>
</a>
<a href="#" aria-label="Telegram" className="text-gray-400 hover:text-gray-600 transition-colors">
<svg className="h-6 w-6" fill="currentColor" viewBox="0 0 24 24">
<path d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm5.894 8.221l-1.97 9.28c-.145.658-.537.818-1.084.508l-3-2.21-1.446 1.394c-.14.18-.357.223-.548.223l.188-2.623 4.823-4.351c.212-.19-.043-.295-.323-.105l-5.96 3.738-2.525-.785c-.55-.176-.564-.576.114-.852l9.84-3.8c.47-.176.878.107.89.583z"/>
</svg>
</a>
<a href="#" aria-label="WhatsApp" className="text-gray-400 hover:text-gray-600 transition-colors">
<svg className="h-6 w-6" fill="currentColor" viewBox="0 0 24 24">
<path d="M12.031 6.172c-3.181 0-5.767 2.586-5.768 5.766-.001 1.298.38 2.27 1.019 3.287l-.582 2.128 2.182-.573c.978.58 1.911.928 3.145.929 3.178 0 5.767-2.587 5.768-5.766.001-3.187-2.575-5.77-5.764-5.771zm3.392 8.244c-.144.405-.837.774-1.17.824-.299.045-.677.063-1.092-.069-.252-.08-.575-.187-.988-.365-1.739-.751-2.874-2.502-2.961-2.617-.087-.116-.708-.94-.708-1.793s.448-1.273.607-1.446c.159-.173.346-.217.462-.217l.332.006c.106.005.249-.04.39.298.144.347.491 1.2.534 1.287.043.087.072.188.014.304-.058.116-.087.188-.173.289l-.26.304c-.087.086-.177.18-.076.354.101.174.449.741.964 1.201.662.591 1.221.774 1.394.86s.274.072.376-.043c.101-.116.433-.506.549-.68.116-.173.231-.145.39-.087s1.011.477 1.184.564.289.13.332.202c.045.072.045.419-.1.824zm-3.423-14.416c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm.029 18.88c-1.161 0-2.305-.292-3.318-.844l-3.677.964.984-3.595c-.607-1.052-.927-2.246-.926-3.468.001-3.825 3.113-6.937 6.937-6.937 1.856.001 3.598.723 4.907 2.034 1.31 1.311 2.031 3.054 2.03 4.908-.001 3.825-3.113 6.938-6.937 6.938z"/>
</svg>
</a>
</div>
</div>
</div>
</div>
</footer>

View File

@ -1,21 +1,49 @@
// import React from 'react';
// import { Link } from 'react-router-dom';
// import antlogo from '../assets/antlogo.webp';
// function Header() {
// return (
// <header className="bg-white text-primary-foreground">
// <div className="container text-2xl mx-auto px-4 py-10">
// <div className="flex justify-between items-center">
// {/* <img src={antlogo} alt="Logo" className="w-14 h-14 rounded-full" /> */}
// <Link to="/" className="text-2xl text-black font-bold justify-left hover:text-primary-foreground/80 transition-colors">Anthill</Link>
// <nav>
// <ul className="flex space-x-6 text-black font-bold">
// <li><Link to="/" className="hover:text-primary-foreground/80 transition-colors">Главная</Link></li>
// {/* <li><Link to="/about" className="hover:text-primary-foreground/80 transition-colors">О нас</Link></li>
// <li><Link to="/uslugi" className="hover:text-primary-foreground/80 transition-colors">Наши услуги</Link></li>
// <li><Link to="/products" className="hover:text-primary-foreground/80 transition-colors">Продукты</Link></li>
// <li><Link to="/news" className="hover:text-primary-foreground/80 transition-colors">Новости</Link></li> */}
// <li><Link to="/contact" className="hover:text-primary-foreground/80 transition-colors">Контакты</Link></li>
// </ul>
// </nav>
// </div>
// </div>
// </header>
// );
// }
// export default Header;
import React from 'react';
import { Link } from 'react-router-dom';
import antlogo from '../assets/antlogo.webp';
import logo from '../assets/logo.svg';
function Header() {
return (
<header className="bg-white text-primary-foreground">
<div className="container text-2xl mx-auto px-4 py-8">
<div className="container text-2xl mx-auto px-4 py-10">
<div className="flex justify-between items-center">
{/* <img src={antlogo} alt="Logo" className="w-14 h-14 rounded-full" /> */}
<Link to="/" className="text-2xl text-black font-bold justify-left hover:text-primary-foreground/80 transition-colors">Anthill</Link>
<Link to="/" className="flex items-center space-x-2 hover:text-primary-foreground/80 transition-colors">
<img src={logo} alt="Anthill Logo" className="h-10 w-auto" />
{/* <span className="text-2xl text-black font-bold">nthill</span> */}
</Link>
<nav>
<ul className="flex space-x-6 text-black font-bold">
<li><Link to="/" className="hover:text-primary-foreground/80 transition-colors">Главная</Link></li>
{/* <li><Link to="/about" className="hover:text-primary-foreground/80 transition-colors">О нас</Link></li>
<li><Link to="/uslugi" className="hover:text-primary-foreground/80 transition-colors">Наши услуги</Link></li>
<li><Link to="/products" className="hover:text-primary-foreground/80 transition-colors">Продукты</Link></li>
<li><Link to="/news" className="hover:text-primary-foreground/80 transition-colors">Новости</Link></li> */}
<li><Link to="/contact" className="hover:text-primary-foreground/80 transition-colors">Контакты</Link></li>
</ul>
</nav>

View File

@ -25,7 +25,7 @@ const MarqueeBrands = () => {
// 232323
// c1ff72
return (
<div className="w-full bg-[#ffffff] py-16 overflow-hidden">
<div className="w-full bg-[#ffffff] py-8 overflow-hidden">
<div
className="relative"
onMouseEnter={handleMouseEnter}
@ -40,7 +40,7 @@ const MarqueeBrands = () => {
{brands.map((brand, index) => (
<span
key={`first-${index}`}
className="text-black text-3xl font-bold mx-8 flex items-center"
className="text-black text-4xl font-bold mx-8 flex items-center"
>
{brand}
{/* Разделитель (кроме последнего элемента) */}
@ -54,7 +54,7 @@ const MarqueeBrands = () => {
{brands.map((brand, index) => (
<span
key={`second-${index}`}
className="text-white text-3xl font-bold mx-8 flex items-center"
className="text-white text-4xl font-bold mx-8 flex items-center"
>
{brand}
{/* Разделитель (кроме последнего элемента) */}
@ -66,7 +66,7 @@ const MarqueeBrands = () => {
</div>
{/* Градиент затухания справа */}
<div className="absolute right-0 top-0 bottom-0 w-24 bg-gradient-to-l from-[#ffffff] to-transparent z-10" />
<div className="absolute right-0 top-0 bottom-0 h-24 w-24 bg-gradient-to-l from-[#ffffff] to-transparent z-10" />
</div>
</div>
);

View File

@ -1,36 +1,77 @@
// import React from 'react';
// import { Image } from 'antd';
// import sklad from '../assets/images/sklad.jpg'
// const Photoandtext = () => {
// return (
// <div className="container mx-auto px-4 py-8">
// <div className="grid grid-cols-1 md:grid-cols-2 gap-8 h-full">
// <div className="h-full">
// <Image
// src={sklad}
// alt="Фильтры WANLANDA"
// preview={false}
// className="w-full h-full rounded-3xl"
// style={{
// height: '100%',
// objectFit: 'cover',
// borderRadius: '1.5rem' // соответствует rounded-3xl
// }}
// />
// </div>
// <div className="bg-[#c1ff72] rounded-3xl p-8 flex flex-col justify-center h-full">
// <p className="text-black leading-relaxed text-xl font-bold mb-6">
// АНТХИЛЛ обеспечивает оперативную доставку запасных частей по всему Сибирскому региону и России. Наличие отлаженных логистических цепочек позволяет гарантировать минимальные сроки поставки при конкурентных ценах. Индивидуальный подход к каждому клиенту помогает формировать оптимальные складские запасы с учетом сезонности и специфики эксплуатации техники.
// </p>
// {/* <p className="text-black text-lg">
// </p> */}
// </div>
// </div>
// </div>
// );
// };
// export default Photoandtext;
import React from 'react';
import { Image } from 'antd';
import sklad from '../assets/images/sklad.jpg'
import sklad from '../assets/images/truck_home_page.jpg'
const Photoandtext = () => {
return (
<div className="container mx-auto px-4 py-8">
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 h-full">
<div className="w-full"> {/* Убрали container и паддинги */}
<div className="grid grid-cols-1 md:grid-cols-2 gap-8" style={{ height: '420px' }}>
{/* Правая колонка с изображением */}
<div className="h-full">
<Image
src={sklad}
alt="Фильтры WANLANDA"
preview={false}
className="w-full h-full rounded-3xl"
style={{
height: '100%',
width: '100%',
height: '420px',
objectFit: 'cover',
borderRadius: '1.5rem' // соответствует rounded-3xl
borderRadius: '1.5rem'
}}
/>
</div>
{/* Левая колонка с текстом */}
<div className="bg-[#c1ff72] rounded-3xl p-8 flex flex-col justify-center h-full">
<p className="text-black leading-relaxed text-xl font-bold mb-6">
Фильтры подходят для широкой техники - от легковых автомобилей до карьерной спецтехники. По качеству сравнимы с оригиналами мировых производителей, таких как: Shantui, Shacman, Shaanxi, Howo, КАМАЗ.
<p className="text-black leading-relaxed text-xl font-bold mb-4">
АНТХИЛЛ обеспечивает оперативную доставку запасных частей по всему Сибирскому региону и России. Наличие отлаженных логистических цепочек позволяет гарантировать минимальные сроки поставки при конкурентных ценах. Индивидуальный подход к каждому клиенту помогает формировать оптимальные складские запасы с учетом сезонности и специфики эксплуатации техники.
</p>
{/* <p className="text-black text-lg">
</p> */}
</div>
</div>
</div>
);

197
src/components/Plitki.js Normal file
View File

@ -0,0 +1,197 @@
// import React, { useState } from 'react';
// import korobs from '../assets/images/korobs.jpg'
// import sklad from '../assets/images/sklad.jpg'
// import trucks from '../assets/images/truck_home_page.jpg'
// import pered from '../assets/images/peredovietech.jpg'
// // Компонент одной плитки
// const Tile = ({ image, title, description }) => {
// const [isFlipped, setIsFlipped] = useState(false);
// const [showFullText, setShowFullText] = useState(false);
// return (
// <div
// className="relative w-full aspect-square group cursor-pointer perspective-1000"
// onClick={() => {
// if (isFlipped) setShowFullText(!showFullText);
// }}
// onMouseEnter={() => !showFullText && setIsFlipped(true)}
// onMouseLeave={() => !showFullText && setIsFlipped(false)}
// >
// <div className={`relative preserve-3d duration-500 w-full h-full ${isFlipped ? 'rotate-y-180' : ''}`}>
// {/* Передняя сторона с изображением */}
// <div className="absolute w-full h-full backface-hidden">
// <img
// src={image}
// alt={title}
// className="w-full h-full object-cover rounded-2xl"
// />
// </div>
// {/* Задняя сторона с текстом */}
// <div className="absolute w-full h-full backface-hidden rotate-y-180 bg-[#c1ff72] rounded-2xl p-6 overflow-auto">
// {showFullText ? (
// <div className="text-black">
// <h3 className="text-xl font-bold mb-4">{title}</h3>
// <p className="text-base">{description}</p>
// </div>
// ) : (
// <div className="text-black">
// <h3 className="text-xl font-bold">{title}</h3>
// </div>
// )}
// </div>
// </div>
// </div>
// );
// };
// // Основной компонент с сеткой плиток
// const Plitki = () => {
// const tiles = [
// {
// image: pered,
// title: 'Официальный дилер WANLANDA',
// description: 'Компания АНТХИЛЛ является первым официальным сертифицированным дилером завода-производителя фильтрующих элементов под брендом WANLANDA на территории Сибирского Федерального округа.'
// },
// {
// image: korobs,
// title: 'Широкий ассортимент',
// description: 'Фильтры подходят для широкой техники - от легковых автомобилей до карьерной спецтехники. По качеству сравнимы с оригиналами мировых производителей, таких как: Shantui, Shacman, Shaanxi, Howo, КАМАЗ.'
// },
// {
// image: trucks,
// title: 'Оперативная доставка',
// description: 'АНТХИЛЛ обеспечивает оперативную доставку запасных частей по всему Сибирскому региону и России. Наличие отлаженных логистических цепочек позволяет гарантировать минимальные сроки поставки при конкурентных ценах.'
// },
// {
// image: sklad,
// title: 'Индивидуальный подход',
// description: 'Индивидуальный подход к каждому клиенту помогает формировать оптимальные складские запасы с учетом сезонности и специфики эксплуатации техники.'
// }
// ];
// return (
// <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
// <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
// {tiles.map((tile, index) => (
// <Tile key={index} {...tile} />
// ))}
// </div>
// </div>
// );
// };
// export default Plitki;
import React, { useState } from 'react';
import manufacture from '../assets/images/manufacture.jpg';
import boxes from '../assets/images/korobs.jpg';
import delivery from '../assets/images/delivery.jpg';
import stock from '../assets/images/korobs.jpg';
import truck from '../assets/images/truck_home_page.jpg';
import warehouse from '../assets/images/rukopojatie.jpg';
const Tile = ({ image, title, description }) => {
const [isFlipped, setIsFlipped] = useState(false);
const [showFullText, setShowFullText] = useState(false);
return (
<div
className="relative w-full aspect-square cursor-pointer perspective-1000"
onClick={() => {
if (isFlipped) {
setShowFullText(!showFullText);
}
}}
onMouseEnter={() => !showFullText && setIsFlipped(true)}
onMouseLeave={() => !showFullText && setIsFlipped(false)}
>
<div
className={`relative preserve-3d duration-500 w-full h-full ${
isFlipped ? 'rotate-y-180' : ''
}`}
>
{/* Передняя сторона */}
<div className="absolute w-full h-full backface-hidden">
<img
src={image}
alt={title}
className="w-full h-full object-cover rounded-2xl"
/>
</div>
{/* Задняя сторона */}
<div className="absolute w-full h-full backface-hidden rotate-y-180 bg-[#c1ff72] rounded-2xl overflow-hidden">
<div
className={`flex flex-col h-full justify-center transition-all duration-500 ${
showFullText ? 'px-6 pt-8' : 'p-6'
}`}
>
<h3
className={`text-black font-bold text-center mb-4 transition-all duration-500 ${
showFullText ? 'text-xl' : 'text-3xl'
}`}
>
{title}
</h3>
<div
className={`text-black transition-all duration-500 overflow-auto ${
showFullText ? 'opacity-100 transform translate-y-0' : 'opacity-0 transform translate-y-8 hidden'
}`}
>
{description}
</div>
</div>
</div>
</div>
</div>
);
};
const Plitki = () => {
const tiles = [
{
image: manufacture,
title: 'Производство',
description: 'Компания АНТХИЛЛ является первым официальным сертифицированным дилером завода-производителя фильтрующих элементов под брендом WANLANDA на территории Сибирского Федерального округа.'
},
{
image: boxes,
title: 'Широкий ассортимент',
description: 'Фильтры подходят для широкой техники - от легковых автомобилей до карьерной спецтехники. По качеству сравнимы с оригиналами мировых производителей, таких как: Shantui, Shacman, Shaanxi, Howo, КАМАЗ.'
},
{
image: delivery,
title: 'Оперативная доставка',
description: 'АНТХИЛЛ обеспечивает оперативную доставку запасных частей по всему Сибирскому региону и России. Наличие отлаженных логистических цепочек позволяет гарантировать минимальные сроки поставки.'
},
{
image: stock,
title: 'Складские запасы',
description: 'Наличие собственного склада и постоянное поддержание необходимого количества товаров позволяет нам обеспечивать бесперебойные поставки нашим клиентам.'
},
{
image: truck,
title: 'Логистика',
description: 'Отлаженные логистические цепочки и партнерство с надежными транспортными компаниями гарантируют своевременную доставку в любую точку России.'
},
{
image: warehouse,
title: 'Индивидуальный подход',
description: 'Индивидуальный подход к каждому клиенту помогает формировать оптимальные складские запасы с учетом сезонности и специфики эксплуатации техники.'
}
];
return (
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
{tiles.map((tile, index) => (
<Tile key={index} {...tile} />
))}
</div>
</div>
);
};
export default Plitki;

View File

@ -1,79 +1,19 @@
// // import React, { useState } from 'react';
// // const Textandphoto = () => {
// // // 232323
// // // c1ff72
// // return (
// // <div className="w-full bg-[#c1ff72] rounded-3xl">
// // <div className="w-full px-8 py-12">
// // <p className="text-black leading-relaxed text-lg font-bold mb-4">
// // Компания АНТХИЛЛ является первым официальным сертифицированным дилером завода-производителя фильтрующих элементов под брендом WANLANDA на территории Сибирского Федерального округа.
// // </p>
// // <p className="text-black text-lg">
// // Фильтры подходят для широкой техники - от легковых автомобилей до карьерной спецтехники. По качеству сравнимы с оригиналами мировых производителей, таких как: Shantui, Shacman, Shaanxi, Howo, KAMA3.
// // </p>
// // </div>
// // </div>
// // );
// // };
// // export default Textandphoto;
// import React from 'react';
// import { Image } from 'antd';
// import sklad from '../assets/images/sklad.jpg'
// const Textandphoto = () => {
// return (
// <div className="container mx-auto px-4 py-8">
// <div className="grid grid-cols-1 md:grid-cols-2 gap-8 h-full">
// {/* Левая колонка с текстом */}
// <div className="bg-[#c1ff72] rounded-3xl p-8 flex flex-col justify-center h-full">
// <p className="text-black leading-relaxed text-3xl font-bold mb-6">
// Компания АНТХИЛЛ является первым официальным сертифицированным дилером завода-производителя фильтрующих элементов под брендом WANLANDA на территории Сибирского Федерального округа.
// </p>
// {/* <p className="text-black text-lg">
// Фильтры подходят для широкой техники - от легковых автомобилей до карьерной спецтехники. По качеству сравнимы с оригиналами мировых производителей, таких как: Shantui, Shacman, Shaanxi, Howo, КАМАЗ.
// </p> */}
// </div>
// {/* Правая колонка с изображением */}
// <div className="h-full">
// <Image
// src={sklad}
// alt="Фильтры WANLANDA"
// preview={false}
// className="w-full h-full rounded-3xl"
// style={{
// height: '100%',
// objectFit: 'cover',
// borderRadius: '1.5rem' // соответствует rounded-3xl
// }}
// />
// </div>
// </div>
// </div>
// );
// };
// export default Textandphoto;
// import React from 'react';
// import { Image } from 'antd';
// import sklad from '../assets/images/sklad.jpg'
// const Textandphoto = () => {
// return (
// <div className="container mx-auto px-4 py-8">
// <div className="grid grid-cols-1 md:grid-cols-2 gap-8" style={{ height: '320px' }}> {/* Уменьшенная высота */}
// <div className="w-full"> {/* Убрали container и паддинги */}
// <div className="grid grid-cols-1 md:grid-cols-2 gap-8" style={{ height: '320px' }}>
// {/* Левая колонка с текстом */}
// <div className="bg-[#c1ff72] rounded-3xl p-8 flex flex-col justify-center h-full">
// <p className="text-black leading-relaxed text-xl font-bold mb-4">
// Компания АНТХИЛЛ является первым официальным сертифицированным дилером завода-производителя фильтрующих элементов под брендом WANLANDA на территории Сибирского Федерального округа.
// </p>
// {/* <p className="text-black text-lg">
// <p className="text-black text-lg">
// Фильтры подходят для широкой техники - от легковых автомобилей до карьерной спецтехники. По качеству сравнимы с оригиналами мировых производителей, таких как: Shantui, Shacman, Shaanxi, Howo, КАМАЗ.
// </p> */}
// </p>
// </div>
// {/* Правая колонка с изображением */}
@ -84,7 +24,7 @@
// preview={false}
// style={{
// width: '100%',
// height: '320px', // Такая же высота как и у контейнера
// height: '320px',
// objectFit: 'cover',
// borderRadius: '1.5rem'
// }}
@ -97,37 +37,39 @@
// export default Textandphoto;
import React from 'react';
import { Image } from 'antd';
import sklad from '../assets/images/sklad.jpg'
import sklad from '../assets/images/korobs.jpg'
const Textandphoto = () => {
return (
<div className="w-full"> {/* Убрали container и паддинги */}
<div className="grid grid-cols-1 md:grid-cols-2 gap-8" style={{ height: '320px' }}>
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 flex flex-row">
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 items-stretch">
{/* Левая колонка с текстом */}
<div className="bg-[#c1ff72] rounded-3xl p-8 flex flex-col justify-center h-full">
<p className="text-black leading-relaxed text-xl font-bold mb-4">
Компания АНТХИЛЛ является первым официальным сертифицированным дилером завода-производителя фильтрующих элементов под брендом WANLANDA на территории Сибирского Федерального округа.
</p>
<p className="text-black text-lg">
<p className="text-black leading-relaxed text-xl font-bold">
Фильтры подходят для широкой техники - от легковых автомобилей до карьерной спецтехники. По качеству сравнимы с оригиналами мировых производителей, таких как: Shantui, Shacman, Shaanxi, Howo, КАМАЗ.
</p>
</div>
{/* Правая колонка с изображением */}
<div className="h-full">
<Image
src={sklad}
alt="Фильтры WANLANDA"
preview={false}
style={{
width: '100%',
height: '320px',
objectFit: 'cover',
borderRadius: '1.5rem'
}}
/>
<div className="flex items-center justify-center basis-1/4">
<div className="relative w-full" style={{ maxHeight: '420px' }}>
<Image
src={sklad}
alt="Фильтры WANLANDA"
preview={false}
className="rounded-3xl"
style={{
width: '100%',
height: '420px',
objectFit: 'cover'
}}
/>
</div>
</div>
</div>
</div>

View File

@ -1,3 +1,19 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
.perspective-1000 {
perspective: 1000px;
}
.preserve-3d {
transform-style: preserve-3d;
}
.backface-hidden {
backface-visibility: hidden;
}
.rotate-y-180 {
transform: rotateY(180deg);
}

View File

@ -4,7 +4,7 @@ function ContactPage() {
return (
<div className="max-w-2xl mx-auto">
<h1 className="text-4xl font-bold mb-8 text-primary">Свяжитесь с нами</h1>
<p className="mb-6 text-muted-foreground">У вас вопросы, у нас ответы.</p>
{/* <p className="mb-6 text-muted-foreground">У вас вопросы, у нас ответы.</p> */}
<form className="space-y-4">
<div>
@ -19,17 +19,17 @@ function ContactPage() {
<label htmlFor="message" className="block text-sm font-medium text-muted-foreground mb-1">Сообщение</label>
<textarea id="message" name="message" rows="4" className="w-full p-2 border border-input rounded-md" required></textarea>
</div>
<button type="submit" className="bg-primary text-primary-foreground px-6 py-2 rounded-md hover:bg-primary/90 transition-colors">
<button type="submit" className="bg-primary text-primary-foreground px-6 py-2 rounded-md hover:bg-primary/90 transition-colors border-2">
Отправить
</button>
</form>
<div className="mt-12">
{/*<div className="mt-12">
<h2 className="text-2xl font-semibold mb-4">Наши контакты</h2>
<p className="mb-2"><strong>Адрес:</strong> г. Новокузнецк, ул. Тольяти, д. 5Б, помещ. 10</p>
{/* <p className="mb-2"><strong>Телефон:</strong> +7 (111) 222-43-23</p> */}
{/* <p className="mb-2"><strong>Телефон:</strong> +7 (111) 222-43-23</p>
<p className="mb-2"><strong>Email:</strong> info@anthill.com</p>
</div>
</div> */}
</div>
);
}

View File

@ -1,86 +1,98 @@
// import React from 'react';
// import { Link } from 'react-router-dom';
// import {Image} from 'antd'
// import { useState } from 'react'
// import truckhome from '../assets/images/truck_home_page.jpg'
// // import SimpleCarousel from '../components/Carusel.js'
// import MarqueeBrands from '../components/MarqueeBrands.js'
// import Textandphoto from '../components/Textandphoto.js'
// import Photoandtext from '../components/Photoandtext.js'
// function HomePage() {
// export default function HomePage() {
// return (
// <div className="space-y-8">
// <div>
// dsf
// </div>
// <div className="w-full " style={{color:'#ffffff', backgroundColor:'#ffffff'}}>
// <div className="bg-white pt-8 pb-16 px-4 sm:px-6 lg:px-8">
// <div className="max-w-7xl mx-auto">
// <div className="relative overflow-hidden rounded-3xl">
// <Image
// src={truckhome}
// width={1200}
// height={700}
// alt="Truck on highway"
// className="w-full h-auto object-cover"
// />
// <div className="absolute inset-0 flex flex-col justify-center p-6">
// <div className="max-w-3xl">
// {/* Контейнер для заголовка с белым фоном */}
// <div className="bg-white/95 p-6 rounded-lg shadow-lg mb-4 backdrop-blur-sm">
// <h1 className="text-gray-900 text-4xl lg:text-5xl font-bold leading-tight">
// ООО «АНТХИЛЛ» молодая динамично развивающаяся компания.
// </h1>
// </div>
// {/* Контейнер для текста с белым фоном */}
// <div className="bg-white/95 p-6 rounded-lg shadow-lg backdrop-blur-sm">
// <p className="text-gray-800 text-lg text-2xl leading-relaxed">
// Мы обеспечиваем надежность и своевременную поставку качественных запчастей,
// способствуя качественной работе техники наших клиентов и развитию их бизнеса.
// </p>
// </div>
// </div>
// </div>
// </div>
// </div>
// </div>
// <section className="text-center">
// <h1 className="text-4xl font-bold mb-4 text-primary">Добро пожаловать в Anthill</h1>
// <p className="text-xl mb-6 text-muted-foreground">Ваш надежный источник аналогов фильтров и комплектующих для замены</p>
// <Link to="/products" className="bg-primary text-primary-foreground px-6 py-2 rounded-md hover:bg-primary/90 transition-colors">
// Просмотреть каталог
// </Link>
// </section>
// <div class="flex flex-row text-black w-full">
// <div class="basis-1/4">01</div>
// <div class="basis-1/4">02</div>
// <div class="basis-1/4">03</div>
// </div>
// <section className="grid md:grid-cols-2 gap-8">
// <div className="bg-card text-card-foreground p-6 rounded-lg shadow-md">
// <h2 className="text-2xl font-semibold mb-4">Наша миссия</h2>
// <p>Обеспечить вас качественными деталями по доступным ценам, поддерживая ваше оборудование в отличном состоянии.</p>
// </div>
// <div className="bg-card text-card-foreground p-6 rounded-lg shadow-md">
// <h2 className="text-2xl font-semibold mb-4">Почему выбирают нас</h2>
// <ul className="list-disc list-inside">
// <li>Широкий ассортимент продукции</li>
// <li>Гарантия качества</li>
// <li>Конкурентные цены</li>
// <li>Быстрая доставка</li>
// </ul>
// </div>
// </section>
// <div className='mb-3'>
// <MarqueeBrands />
// </div>
// <div className='mb-14 '>
// <Textandphoto />
// </div>
// <div className='mb-5'>
// <Photoandtext />
// </div>
// </div>
// );
// )
// }
// export default HomePage;
import {Image} from 'antd'
import { useState } from 'react'
import truckhome from '../assets/images/truck_home_page.jpg'
// import SimpleCarousel from '../components/Carusel.js'
import MarqueeBrands from '../components/MarqueeBrands.js'
import Textandphoto from '../components/Textandphoto.js'
import Photoandtext from '../components/Photoandtext.js'
import { Image } from 'antd';
import truckhome from '../assets/images/homepagephot.jpg';
import MarqueeBrands from '../components/MarqueeBrands.js';
import Textandphoto from '../components/Textandphoto.js';
import Photoandtext from '../components/Photoandtext.js';
import Plitki from '../components/Plitki.js';
export default function HomePage() {
// const [email, setEmail] = useState('')
// const [format, setFormat] = useState('Rail Freight')
// const [boxes, setBoxes] = useState('23')
// const [shippingService, setShippingService] = useState('Rail Freight')
// const [urgency, setUrgency] = useState('Basic')
return (
<div className="w-full " style={{color:'#ffffff', backgroundColor:'#ffffff'}}>
<div className="bg-white pt-8 pb-16 px-4 sm:px-6 lg:px-8">
<div className="max-w-7xl mx-auto">
<div className="w-full bg-white">
{/* Hero section */}
<section className="pt-8 pb-16">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="relative overflow-hidden rounded-3xl">
<Image
<img
src={truckhome}
width={1200}
height={700}
alt="Truck on highway"
className="w-full h-auto object-cover"
style={{ height: '700px' }}
/>
<div className="absolute inset-0 flex flex-col justify-center p-6">
<div className="max-w-3xl">
{/* Контейнер для заголовка с белым фоном */}
<div className="bg-white/95 p-6 rounded-lg shadow-lg mb-4 backdrop-blur-sm">
<h1 className="text-gray-900 text-4xl lg:text-5xl font-bold leading-tight">
ООО «АНТХИЛЛ» молодая динамично развивающаяся компания.
</h1>
</div>
{/* Контейнер для текста с белым фоном */}
<div className="bg-white/95 p-6 rounded-lg shadow-lg backdrop-blur-sm">
<p className="text-gray-800 text-lg text-2xl leading-relaxed">
Мы обеспечиваем надежность и своевременную поставку качественных запчастей,
<p className="text-gray-800 text-lg lg:text-2xl leading-relaxed">
Мы обеспечиваем надежность и своевременную поставку качественных запчастей,
способствуя качественной работе техники наших клиентов и развитию их бизнеса.
</p>
</div>
@ -88,107 +100,38 @@ export default function HomePage() {
</div>
</div>
</div>
</div>
<div className='mb-1'>
<MarqueeBrands />
</div>
<div className='mb-1'>
<Textandphoto />
</div>
<div className='mb-1'>
<Photoandtext />
</div>
</section>
{/* <div className="bg-[#232323] py-16 px-4 sm:px-6 lg:px-8">
<div className="max-w-7xl mx-auto">
<div className="bg-white rounded-3xl p-8">
<h2 className="text-4xl font-bold mb-8">GET A PRICE</h2>
<form className="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<label htmlFor="email" className="block text-sm font-medium text-gray-700 mb-1">Email</label>
<input
type="email"
id="email"
value={email}
onChange={(e) => setEmail(e.target.value)}
className="w-full px-3 py-2 border border-gray-300 rounded-md"
placeholder="Enter your email"
/>
</div>
<div>
<label htmlFor="format" className="block text-sm font-medium text-gray-700 mb-1">Format</label>
<select
id="format"
value={format}
onChange={(e) => setFormat(e.target.value)}
className="w-full px-3 py-2 border border-gray-300 rounded-md"
>
<option>Rail Freight</option>
<option>Air Freight</option>
<option>Ocean Freight</option>
<option>Road Freight</option>
</select>
</div>
<div>
<label htmlFor="boxes" className="block text-sm font-medium text-gray-700 mb-1">Boxes</label>
<input
type="number"
id="boxes"
value={boxes}
onChange={(e) => setBoxes(e.target.value)}
className="w-full px-3 py-2 border border-gray-300 rounded-md"
/>
</div>
<div>
<label htmlFor="shipping-service" className="block text-sm font-medium text-gray-700 mb-1">Shipping Services</label>
<select
id="shipping-service"
value={shippingService}
onChange={(e) => setShippingService(e.target.value)}
className="w-full px-3 py-2 border border-gray-300 rounded-md"
>
<option>Rail Freight</option>
<option>Air Freight</option>
<option>Ocean Freight</option>
<option>Road Freight</option>
</select>
</div>
<div className="md:col-span-2">
<label className="block text-sm font-medium text-gray-700 mb-1">Service delivery urgency</label>
<div className="flex space-x-4">
<button
type="button"
onClick={() => setUrgency('Basic')}
className={`px-4 py-2 rounded-md ${urgency === 'Basic' ? 'bg-black text-white' : 'bg-gray-200 text-black'}`}
>
Basic
</button>
<button
type="button"
onClick={() => setUrgency('Rush')}
className={`px-4 py-2 rounded-md ${urgency === 'Rush' ? 'bg-[#c1ff72] text-black' : 'bg-gray-200 text-black'}`}
>
Rush
</button>
</div>
</div>
<div className="md:col-span-2">
<button
type="submit"
className="w-full md:w-auto px-8 py-3 bg-[#c1ff72] text-black font-semibold rounded-full hover:bg-opacity-90 transition-colors"
>
GET A PRICE
</button>
</div>
</form>
{/* Numbers section
<section className="mb-12">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="flex text-black w-full">
<div className="flex-1 text-center">01</div>
<div className="flex-1 text-center">02</div>
<div className="flex-1 text-center">03</div>
</div>
</div>
</div> */}
</section> */}
{/* Brands section */}
<section className="mb-12">
<div className="max-w-7xl mx-auto">
<MarqueeBrands />
</div>
</section>
<Plitki />
{/* Content sections
<section className="mb-12">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="space-y-12">
<Textandphoto />
<Photoandtext />
</div>
</div>
</section> */}
</div>
)
);
}