feat: add PWA support for mobile installation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-10 17:11:25 +03:00
parent 5412a70f83
commit aac7b7b0af
36 changed files with 8615 additions and 1 deletions
+119
View File
@@ -0,0 +1,119 @@
import React from 'react';
import { motion } from 'framer-motion';
import { XCircle, CheckCircle } from 'lucide-react';
const Comparison = () => {
return (
<section style={{ backgroundColor: 'var(--bg-light)' }}>
<div className="container">
<div style={{ textAlign: 'center', marginBottom: '80px' }}>
<motion.h2
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
transition={{ duration: 0.6 }}
viewport={{ once: true }}
style={{ fontSize: '3.5rem', marginBottom: '20px' }}
>
ПРЕИМУЩЕСТВА <span className="text-accent-blue">Осколкам.Нет</span>
</motion.h2>
<motion.p
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
transition={{ duration: 0.6, delay: 0.2 }}
viewport={{ once: true }}
style={{ color: 'var(--text-muted)', fontSize: '1.3rem', maxWidth: '800px', margin: '0 auto' }}
>
Сравнительный анализ структурной целостности при высокоэнергетическом кинетическом воздействии.
</motion.p>
</div>
<div style={{ display: 'grid', gridTemplateColumns: 'repeat(auto-fit, minmax(320px, 1fr))', gap: '40px' }}>
{/* Standard Glass */}
<motion.div
initial={{ opacity: 0, x: -50 }}
whileInView={{ opacity: 1, x: 0 }}
transition={{ duration: 0.6, type: "spring" }}
viewport={{ once: true }}
className="glass-panel"
style={{
padding: '50px',
borderTop: '5px solid #ef4444',
background: 'linear-gradient(to bottom, rgba(239, 68, 68, 0.03), transparent)'
}}
>
<h3 style={{ fontSize: '2.2rem', marginBottom: '35px', color: '#ef4444' }}>Обычное стекло</h3>
<ul style={{ listStyle: 'none', padding: 0, display: 'flex', flexDirection: 'column', gap: '25px' }}>
<motion.li whileHover={{ x: 10 }} style={{ display: 'flex', gap: '20px', alignItems: 'flex-start', transition: 'all 0.2s' }}>
<XCircle color="#ef4444" size={28} style={{ flexShrink: 0 }} />
<div>
<h4 style={{ fontSize: '1.2rem', marginBottom: '8px', color: 'var(--text-main)' }}>Смертоносные осколки</h4>
<p style={{ color: 'var(--text-muted)', fontSize: '1rem', lineHeight: '1.5' }}>Мгновенно разбивается, образуя острые, быстро летящие фрагменты.</p>
</div>
</motion.li>
<motion.li whileHover={{ x: 10 }} style={{ display: 'flex', gap: '20px', alignItems: 'flex-start', transition: 'all 0.2s' }}>
<XCircle color="#ef4444" size={28} style={{ flexShrink: 0 }} />
<div>
<h4 style={{ fontSize: '1.2rem', marginBottom: '8px', color: 'var(--text-main)' }}>Нулевая защита от взрыва</h4>
<p style={{ color: 'var(--text-muted)', fontSize: '1rem', lineHeight: '1.5' }}>Ударные волны беспрепятственно проникают внутрь помещения.</p>
</div>
</motion.li>
<motion.li whileHover={{ x: 10 }} style={{ display: 'flex', gap: '20px', alignItems: 'flex-start', transition: 'all 0.2s' }}>
<XCircle color="#ef4444" size={28} style={{ flexShrink: 0 }} />
<div>
<h4 style={{ fontSize: '1.2rem', marginBottom: '8px', color: 'var(--text-main)' }}>Прорыв периметра</h4>
<p style={{ color: 'var(--text-muted)', fontSize: '1rem', lineHeight: '1.5' }}>Обеспечивает мгновенный доступ злоумышленникам после разрушения.</p>
</div>
</motion.li>
</ul>
</motion.div>
{/* Armored Glass */}
<motion.div
initial={{ opacity: 0, x: 50 }}
whileInView={{ opacity: 1, x: 0 }}
transition={{ duration: 0.6, type: "spring", delay: 0.2 }}
viewport={{ once: true }}
className="glass-panel"
style={{
padding: '50px',
borderTop: '5px solid var(--accent-blue)',
background: 'linear-gradient(to bottom, rgba(14, 165, 233, 0.05), transparent)',
boxShadow: '0 10px 40px rgba(14, 165, 233, 0.1)'
}}
>
<h3 style={{ fontSize: '2.2rem', marginBottom: '35px', color: 'var(--accent-blue)' }}>Система Осколкам.Нет</h3>
<ul style={{ listStyle: 'none', padding: 0, display: 'flex', flexDirection: 'column', gap: '25px' }}>
<motion.li whileHover={{ x: 10 }} style={{ display: 'flex', gap: '20px', alignItems: 'flex-start', transition: 'all 0.2s' }}>
<CheckCircle className="text-accent-blue" size={28} style={{ flexShrink: 0 }} />
<div>
<h4 style={{ fontSize: '1.2rem', marginBottom: '8px', color: 'var(--text-main)' }}>Полное удержание осколков</h4>
<p style={{ color: 'var(--text-muted)', fontSize: '1rem', lineHeight: '1.5' }}>Осколки остаются надежно зафиксированными на полимерной матрице. Нет разлетающихся фрагментов.</p>
</div>
</motion.li>
<motion.li whileHover={{ x: 10 }} style={{ display: 'flex', gap: '20px', alignItems: 'flex-start', transition: 'all 0.2s' }}>
<CheckCircle className="text-accent-blue" size={28} style={{ flexShrink: 0 }} />
<div>
<h4 style={{ fontSize: '1.2rem', marginBottom: '8px', color: 'var(--text-main)' }}>Нейтрализация ударной волны</h4>
<p style={{ color: 'var(--text-muted)', fontSize: '1rem', lineHeight: '1.5' }}>Эффективно поглощает и рассеивает экстремальную кинетическую энергию.</p>
</div>
</motion.li>
<motion.li whileHover={{ x: 10 }} style={{ display: 'flex', gap: '20px', alignItems: 'flex-start', transition: 'all 0.2s' }}>
<CheckCircle className="text-accent-blue" size={28} style={{ flexShrink: 0 }} />
<div>
<h4 style={{ fontSize: '1.2rem', marginBottom: '8px', color: 'var(--text-main)' }}>Непрерывный периметр</h4>
<p style={{ color: 'var(--text-muted)', fontSize: '1rem', lineHeight: '1.5' }}>Сохраняет структурную целостность окна, предотвращая несанкционированное проникновение.</p>
</div>
</motion.li>
</ul>
</motion.div>
</div>
</div>
</section>
);
};
export default Comparison;
+85
View File
@@ -0,0 +1,85 @@
import React from 'react';
import { Shield, Phone, Mail, MapPin } from 'lucide-react';
import { motion } from 'framer-motion';
const Footer = () => {
return (
<footer style={{ backgroundColor: 'var(--bg-lighter)', padding: '80px 0 30px 0', borderTop: '1px solid var(--border-light)' }}>
<div className="container">
<div style={{ display: 'grid', gridTemplateColumns: 'repeat(auto-fit, minmax(280px, 1fr))', gap: '50px', marginBottom: '60px' }}>
<div>
<div style={{ display: 'flex', alignItems: 'center', gap: '10px', marginBottom: '25px' }}>
<img src="/oskolkam.png" alt="Осколкам.Нет" style={{ height: '36px', objectFit: 'contain' }} />
<span style={{ fontFamily: 'var(--font-heading)', fontSize: '1.4rem', fontWeight: 800, letterSpacing: '1px', color: 'var(--text-main)' }}>
Осколкам.<span className="text-accent-blue">Нет</span>
</span>
</div>
<p style={{ color: 'var(--text-muted)', fontSize: '1rem', lineHeight: '1.8' }}>
Передовые системы поглощения кинетической энергии и смягчения последствий взрывов для объектов с повышенным риском. Защита активов, обеспечение непрерывности работы.
</p>
</div>
<div>
<h4 style={{ color: 'var(--text-main)', marginBottom: '25px', fontSize: '1.2rem', fontWeight: 700 }}>Круглосуточный диспетчерский центр</h4>
{/* ИЗМЕНИТЬ КОНТАКТНЫЕ ДАННЫЕ ЗДЕСЬ (Телефон и Email) */}
<ul style={{ listStyle: 'none', padding: 0, display: 'flex', flexDirection: 'column', gap: '18px' }}>
<li style={{ display: 'flex', alignItems: 'center', gap: '12px', color: 'var(--text-muted)' }}>
<Phone size={20} className="text-accent-orange" />
<span style={{ fontWeight: 600 }}>8 (800) 555-DEFENSE</span>
</li>
<li style={{ display: 'flex', alignItems: 'center', gap: '12px', color: 'var(--text-muted)' }}>
<Mail size={20} className="text-accent-blue" />
<span style={{ fontWeight: 600 }}>ops@oskolkam.net</span>
</li>
</ul>
</div>
<div>
<h4 style={{ color: 'var(--text-main)', marginBottom: '25px', fontSize: '1.2rem', fontWeight: 700 }}>Зона обслуживания</h4>
<div style={{ display: 'flex', alignItems: 'flex-start', gap: '12px', color: 'var(--text-muted)' }}>
<MapPin size={22} className="text-accent-orange" style={{ flexShrink: 0, marginTop: '2px' }} />
<div>
<p style={{ marginBottom: '8px', fontWeight: 600, color: 'var(--text-main)' }}>Возможности глобального развертывания.</p>
<p style={{ fontSize: '0.95rem', lineHeight: '1.6' }}>Работаем по всей территории РФ и в странах СНГ. Возможен выезд спецбригады в любую точку.</p>
</div>
</div>
</div>
</div>
<div style={{
marginBottom: '40px',
padding: '20px 25px',
backgroundColor: 'rgba(234, 88, 12, 0.05)',
borderLeft: '4px solid var(--accent-orange)',
borderRadius: '6px'
}}>
<p style={{ color: 'var(--text-muted)', fontSize: '0.95rem', margin: 0, lineHeight: '1.6' }}>
<strong style={{ color: 'var(--accent-orange)' }}>Важное уведомление:</strong> Мы не можем гарантировать 100% защиту от прямого прилета БПЛА или крупнокалиберных снарядов. Основная задача наших бронирующих пленок критически снизить риск поражения разлетающимися осколками стекла и частично погасить энергию ударной волны.
</p>
</div>
<div style={{
borderTop: '1px solid var(--border-light)',
paddingTop: '30px',
display: 'flex',
justifyContent: 'space-between',
alignItems: 'center',
flexWrap: 'wrap',
gap: '20px',
color: 'var(--text-muted)',
fontSize: '0.95rem'
}}>
<p>&copy; {new Date().getFullYear()} Осколкам.Нет. Все права защищены.</p>
<div style={{ display: 'flex', gap: '30px' }}>
<motion.a whileHover={{ color: 'var(--accent-blue)' }} href="#" style={{ transition: 'color 0.3s ease' }}>Политика конфиденциальности</motion.a>
<motion.a whileHover={{ color: 'var(--accent-blue)' }} href="#" style={{ transition: 'color 0.3s ease' }}>Условия предоставления услуг</motion.a>
</div>
</div>
</div>
</footer>
);
};
export default Footer;
+130
View File
@@ -0,0 +1,130 @@
import React from 'react';
import { motion } from 'framer-motion';
import { ShieldAlert, ArrowRight } from 'lucide-react';
const Hero = () => {
return (
<section
style={{
minHeight: '100vh',
display: 'flex',
alignItems: 'center',
position: 'relative',
paddingTop: '80px',
overflow: 'hidden'
}}
>
{/* Background Visuals for Light Theme */}
<div
style={{
position: 'absolute',
top: 0, left: 0, right: 0, bottom: 0,
backgroundImage: 'url("https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=2069&auto=format&fit=crop")',
backgroundSize: 'cover',
backgroundPosition: 'center',
opacity: 0.15, /* Lighter opacity */
zIndex: -1,
}}
/>
<div
style={{
position: 'absolute',
top: 0, left: 0, right: 0, bottom: 0,
background: 'linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(248, 250, 252, 0.7) 100%)',
zIndex: -1,
}}
/>
{/* Animated Background Elements */}
<motion.div
animate={{
scale: [1, 1.2, 1],
opacity: [0.1, 0.2, 0.1]
}}
transition={{ duration: 8, repeat: Infinity, ease: "easeInOut" }}
style={{
position: 'absolute',
top: '20%', right: '10%',
width: '400px', height: '400px',
borderRadius: '50%',
background: 'radial-gradient(circle, var(--accent-blue) 0%, transparent 70%)',
filter: 'blur(60px)',
zIndex: -1
}}
/>
<div className="container" style={{ position: 'relative', zIndex: 1 }}>
<div style={{ maxWidth: '850px' }}>
<motion.div
initial={{ opacity: 0, y: -20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.8, type: "spring" }}
style={{
display: 'inline-flex',
alignItems: 'center',
gap: '12px',
padding: '10px 20px',
background: 'rgba(14, 165, 233, 0.1)',
border: '1px solid rgba(14, 165, 233, 0.3)',
borderRadius: '50px',
marginBottom: '35px',
boxShadow: '0 4px 15px rgba(14, 165, 233, 0.1)'
}}
>
<ShieldAlert size={20} className="text-accent-blue" />
<span className="text-accent-blue" style={{ fontWeight: 700, letterSpacing: '1.5px', fontSize: '0.9rem', textTransform: 'uppercase' }}>
Защита военного класса
</span>
</motion.div>
<motion.h1
initial={{ opacity: 0, x: -50 }}
animate={{ opacity: 1, x: 0 }}
transition={{ duration: 0.8, delay: 0.2, type: "spring" }}
style={{
fontSize: '4.8rem',
lineHeight: 1.05,
marginBottom: '30px',
color: 'var(--text-main)',
textShadow: '0 10px 30px rgba(15, 23, 42, 0.05)'
}}
>
ПРЕВРАТИТЕ ВАШИ ОКНА В <span className="text-accent-blue">ЗАЩИТНЫЙ ЩИТ</span>.
</motion.h1>
<motion.p
initial={{ opacity: 0, x: -50 }}
animate={{ opacity: 1, x: 0 }}
transition={{ duration: 0.8, delay: 0.4, type: "spring" }}
style={{
fontSize: '1.5rem',
color: 'var(--text-muted)',
marginBottom: '45px',
maxWidth: '700px',
fontWeight: 400
}}
>
Промышленные бронирующие пленки, разработанные для максимального поглощения кинетической энергии: защита от взрывных волн и ударов дронов.
</motion.p>
<motion.div
initial={{ opacity: 0, y: 30 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.8, delay: 0.6, type: "spring" }}
style={{ display: 'flex', gap: '25px', flexWrap: 'wrap' }}
>
<a href="#estimator" className="btn-primary" style={{ display: 'flex', alignItems: 'center', gap: '10px' }}>
<span>Рассчитать стоимость</span>
<ArrowRight size={20} />
</a>
<a href="#technology" className="btn-outline" style={{ display: 'inline-block' }}>
Смотреть характеристики
</a>
</motion.div>
</div>
</div>
</section>
);
};
export default Hero;
+76
View File
@@ -0,0 +1,76 @@
import React, { useState, useEffect } from 'react';
import { Shield, PhoneCall } from 'lucide-react';
import { motion } from 'framer-motion';
const Navbar = () => {
const [scrolled, setScrolled] = useState(false);
useEffect(() => {
const handleScroll = () => {
setScrolled(window.scrollY > 50);
};
window.addEventListener('scroll', handleScroll);
return () => window.removeEventListener('scroll', handleScroll);
}, []);
return (
<motion.nav
initial={{ y: -100 }}
animate={{ y: 0 }}
transition={{ duration: 0.6, type: "spring", bounce: 0.2 }}
style={{
position: 'fixed',
top: 0,
left: 0,
right: 0,
zIndex: 1000,
padding: scrolled ? '15px 0' : '25px 0',
transition: 'all 0.4s ease',
borderBottom: scrolled ? '1px solid var(--glass-border)' : '1px solid transparent',
backgroundColor: scrolled ? 'var(--glass-bg)' : 'transparent',
backdropFilter: scrolled ? 'blur(16px)' : 'none',
boxShadow: scrolled ? 'var(--glass-shadow)' : 'none',
}}
>
<div className="container" style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
<motion.div
whileHover={{ scale: 1.05 }}
style={{ display: 'flex', alignItems: 'center', gap: '10px', cursor: 'pointer' }}
>
<img src="/oskolkam.png" alt="Осколкам.Нет" style={{ height: '40px', objectFit: 'contain' }} />
<span style={{ fontFamily: 'var(--font-heading)', fontSize: '1.6rem', fontWeight: 800, letterSpacing: '1px', color: 'var(--text-main)' }}>
Осколкам.<span className="text-accent-blue">Нет</span>
</span>
</motion.div>
<div style={{ display: 'flex', gap: '35px', alignItems: 'center' }}>
<motion.a whileHover={{ y: -2, color: 'var(--accent-blue)' }} href="#technology" style={{ fontWeight: 600, fontSize: '0.95rem', transition: 'color 0.3s ease' }}>Технологии</motion.a>
<motion.a whileHover={{ y: -2, color: 'var(--accent-blue)' }} href="#applications" style={{ fontWeight: 600, fontSize: '0.95rem', transition: 'color 0.3s ease' }}>Применение</motion.a>
<motion.a whileHover={{ y: -2, color: 'var(--accent-blue)' }} href="#estimator" style={{ fontWeight: 600, fontSize: '0.95rem', transition: 'color 0.3s ease' }}>Калькулятор</motion.a>
{/* ИЗМЕНИТЬ НОМЕР ДЛЯ СВЯЗИ ЗДЕСЬ (атрибут href и текст ниже) */}
<motion.a
whileHover={{ scale: 1.05 }}
whileTap={{ scale: 0.95 }}
href="tel:112"
className="btn-outline"
style={{
display: 'flex',
alignItems: 'center',
gap: '10px',
padding: '10px 24px',
fontSize: '0.9rem',
borderColor: 'var(--accent-orange)',
color: 'var(--accent-orange)'
}}
>
<PhoneCall size={18} />
<span>Экстренный вызов</span>
</motion.a>
</div>
</div>
</motion.nav>
);
};
export default Navbar;
+150
View File
@@ -0,0 +1,150 @@
import React from 'react';
import { motion } from 'framer-motion';
import { Layers, Zap, ShieldCheck } from 'lucide-react';
const PhysicsOfSafety = () => {
const containerVariants = {
hidden: { opacity: 0 },
visible: {
opacity: 1,
transition: { staggerChildren: 0.2 }
}
};
const itemVariants = {
hidden: { x: 50, opacity: 0 },
visible: { x: 0, opacity: 1, transition: { duration: 0.6, type: "spring" } }
};
return (
<section id="technology" style={{ backgroundColor: 'var(--bg-lighter)', position: 'relative' }}>
<div className="container">
<div style={{ textAlign: 'center', marginBottom: '80px' }}>
<motion.h2
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
transition={{ duration: 0.6 }}
viewport={{ once: true }}
style={{ fontSize: '3.5rem', marginBottom: '20px' }}
>
ФИЗИКА <span className="text-accent-blue">БЕЗОПАСНОСТИ</span>
</motion.h2>
<motion.p
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
transition={{ duration: 0.6, delay: 0.2 }}
viewport={{ once: true }}
style={{ color: 'var(--text-muted)', fontSize: '1.3rem', maxWidth: '800px', margin: '0 auto' }}
>
Наша запатентованная многослойная полимерная структура поглощает кинетическую энергию, нейтрализует взрывные волны и предотвращает катастрофическое разрушение стекла.
</motion.p>
</div>
<div style={{ display: 'grid', gridTemplateColumns: 'repeat(auto-fit, minmax(350px, 1fr))', gap: '60px', alignItems: 'center' }}>
{/* Visual Animation Block */}
<div style={{ position: 'relative', height: '500px', display: 'flex', justifyContent: 'center', alignItems: 'center', perspective: '1000px' }}>
<motion.div
initial={{ rotateX: 60, rotateZ: -45 }}
whileInView={{ rotateX: 60, rotateZ: 315 }}
transition={{ duration: 25, repeat: Infinity, ease: "linear" }}
viewport={{ once: true }}
style={{ position: 'relative', width: '280px', height: '280px', transformStyle: 'preserve-3d' }}
>
{/* Layer 1: Glass */}
<motion.div style={{
position: 'absolute', width: '100%', height: '100%',
background: 'rgba(14, 165, 233, 0.05)',
border: '2px solid rgba(14, 165, 233, 0.3)',
boxShadow: 'inset 0 0 30px rgba(14, 165, 233, 0.1)',
backdropFilter: 'blur(4px)',
transform: 'translateZ(0px)',
display: 'flex', justifyContent: 'center', alignItems: 'center',
color: 'var(--accent-blue)', fontWeight: '700', letterSpacing: '1px'
}}>
БАЗОВОЕ СТЕКЛО
</motion.div>
{/* Layer 2: Adhesive */}
<motion.div
initial={{ transform: 'translateZ(0px)', opacity: 0 }}
whileInView={{ transform: 'translateZ(50px)', opacity: 1 }}
transition={{ duration: 1.2, delay: 0.5, type: "spring" }}
viewport={{ margin: "-100px" }}
style={{
position: 'absolute', width: '100%', height: '100%',
background: 'rgba(234, 88, 12, 0.05)',
border: '2px dashed var(--accent-orange)',
backdropFilter: 'blur(2px)',
display: 'flex', justifyContent: 'center', alignItems: 'center',
color: 'var(--accent-orange)', fontWeight: '700', letterSpacing: '1px'
}}>
ПОГЛОЩЕНИЕ ЭНЕРГИИ
</motion.div>
{/* Layer 3: Polymer Film */}
<motion.div
initial={{ transform: 'translateZ(0px)', opacity: 0 }}
whileInView={{ transform: 'translateZ(100px)', opacity: 1 }}
transition={{ duration: 1.2, delay: 1, type: "spring" }}
viewport={{ margin: "-100px" }}
style={{
position: 'absolute', width: '100%', height: '100%',
background: 'rgba(245, 158, 11, 0.1)',
border: '3px solid var(--accent-yellow)',
boxShadow: '0 0 40px rgba(245, 158, 11, 0.2)',
backdropFilter: 'blur(1px)',
display: 'flex', justifyContent: 'center', alignItems: 'center',
color: 'var(--accent-yellow)', fontWeight: '800', letterSpacing: '2px'
}}>
БРОНЕПОЛИМЕР
</motion.div>
</motion.div>
</div>
{/* Features Text */}
<motion.div
variants={containerVariants}
initial="hidden"
whileInView="visible"
viewport={{ once: true, margin: "-100px" }}
style={{ display: 'flex', flexDirection: 'column', gap: '25px' }}
>
<motion.div variants={itemVariants} className="glass-panel" style={{ padding: '35px', display: 'flex', gap: '25px', transition: 'all 0.3s' }}>
<div style={{ background: 'rgba(245, 158, 11, 0.15)', padding: '18px', borderRadius: '50%', height: 'fit-content' }}>
<Zap className="text-accent-yellow" size={28} />
</div>
<div>
<h3 style={{ fontSize: '1.5rem', marginBottom: '10px', color: 'var(--text-main)' }}>Кинетическое рассеивание</h3>
<p style={{ color: 'var(--text-muted)', fontSize: '1.05rem', lineHeight: '1.6' }}>При ударе ударная волна мгновенно распределяется по всей площади поверхности пленки, радикально снижая локальное давление.</p>
</div>
</motion.div>
<motion.div variants={itemVariants} className="glass-panel" style={{ padding: '35px', display: 'flex', gap: '25px', transition: 'all 0.3s' }}>
<div style={{ background: 'rgba(234, 88, 12, 0.15)', padding: '18px', borderRadius: '50%', height: 'fit-content' }}>
<Layers className="text-accent-orange" size={28} />
</div>
<div>
<h3 style={{ fontSize: '1.5rem', marginBottom: '10px', color: 'var(--text-main)' }}>Микрослойная технология</h3>
<p style={{ color: 'var(--text-muted)', fontSize: '1.05rem', lineHeight: '1.6' }}>Разработана с использованием десятков чередующихся микроскопических слоев полиэстера, скрепленных высокопрочными акриловыми адгезивами.</p>
</div>
</motion.div>
<motion.div variants={itemVariants} className="glass-panel" style={{ padding: '35px', display: 'flex', gap: '25px', transition: 'all 0.3s' }}>
<div style={{ background: 'rgba(14, 165, 233, 0.15)', padding: '18px', borderRadius: '50%', height: 'fit-content' }}>
<ShieldCheck className="text-accent-blue" size={28} />
</div>
<div>
<h3 style={{ fontSize: '1.5rem', marginBottom: '10px', color: 'var(--text-main)' }}>Удержание осколков</h3>
<p style={{ color: 'var(--text-muted)', fontSize: '1.05rem', lineHeight: '1.6' }}>Даже при полном разрушении стеклянного полотна, смертоносные осколки остаются прочно закрепленными на эластичной матрице.</p>
</div>
</motion.div>
</motion.div>
</div>
</div>
</section>
);
};
export default PhysicsOfSafety;
+53
View File
@@ -0,0 +1,53 @@
import React from 'react';
import { ShieldCheck, CheckCircle2, Award, FileBadge } from 'lucide-react';
import { motion } from 'framer-motion';
const TrustBar = () => {
const standards = [
{ icon: <Award size={36} className="text-accent-blue" />, title: 'ISO 9001:2015', sub: 'Менеджмент качества' },
{ icon: <ShieldCheck size={36} className="text-accent-orange" />, title: 'Класс А1/А2/А3', sub: 'Ударопрочность' },
{ icon: <CheckCircle2 size={36} className="text-accent-blue" />, title: 'ГОСТ 30826-2014', sub: 'Защитное остекление' },
{ icon: <FileBadge size={36} className="text-accent-orange" />, title: 'EN 356', sub: 'Европейский стандарт' }
];
return (
<section style={{ padding: '70px 0', borderTop: '1px solid var(--border-light)', borderBottom: '1px solid var(--border-light)', background: 'var(--bg-lighter)' }}>
<div className="container">
<div style={{ textAlign: 'center', marginBottom: '50px' }}>
<motion.h3
initial={{ opacity: 0 }}
whileInView={{ opacity: 1 }}
viewport={{ once: true }}
style={{ fontSize: '1.3rem', color: 'var(--text-muted)', letterSpacing: '2px', textTransform: 'uppercase', fontWeight: '700' }}
>
СЕРТИФИЦИРОВАНО ПО МЕЖДУНАРОДНЫМ СТАНДАРТАМ БЕЗОПАСНОСТИ
</motion.h3>
</div>
<div style={{ display: 'flex', flexWrap: 'wrap', justifyContent: 'center', gap: '50px' }}>
{standards.map((std, index) => (
<motion.div
key={index}
initial={{ opacity: 0, scale: 0.8 }}
whileInView={{ opacity: 1, scale: 1 }}
transition={{ duration: 0.5, delay: index * 0.1, type: "spring" }}
whileHover={{ y: -5 }}
viewport={{ once: true }}
style={{ display: 'flex', alignItems: 'center', gap: '20px', minWidth: '220px', background: 'var(--bg-light)', padding: '20px', borderRadius: '12px', boxShadow: '0 4px 15px rgba(15,23,42,0.03)', border: '1px solid var(--border-light)' }}
>
<div style={{ padding: '12px', background: 'rgba(255,255,255,1)', borderRadius: '50%', boxShadow: '0 2px 10px rgba(15,23,42,0.05)' }}>
{std.icon}
</div>
<div>
<h4 style={{ fontWeight: 800, margin: 0, fontSize: '1.2rem', color: 'var(--text-main)' }}>{std.title}</h4>
<span style={{ fontSize: '0.9rem', color: 'var(--text-muted)', textTransform: 'uppercase', fontWeight: '500' }}>{std.sub}</span>
</div>
</motion.div>
))}
</div>
</div>
</section>
);
};
export default TrustBar;
+119
View File
@@ -0,0 +1,119 @@
import React from 'react';
import { motion } from 'framer-motion';
import { Factory, Building2, Home, Power } from 'lucide-react';
const UseCases = () => {
const cases = [
{
title: 'Критическая инфраструктура',
icon: <Power size={56} className="text-accent-blue" />,
desc: 'Защита электростанций, подстанций и центров обработки данных от саботажа и атак дронов с полезной нагрузкой.',
bgImg: 'https://images.unsplash.com/photo-1544439160-c3d5963f1ecf?q=80&w=1000&auto=format&fit=crop'
},
{
title: 'Промышленные объекты',
icon: <Factory size={56} className="text-accent-orange" />,
desc: 'Снижение рисков внутренних взрывов и внешних кинетических угроз в производственных помещениях.',
bgImg: 'https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?q=80&w=1000&auto=format&fit=crop'
},
{
title: 'Коммерческие штаб-квартиры',
icon: <Building2 size={56} className="text-accent-yellow" />,
desc: 'Защита корпоративных активов и кабинетов руководства от промышленного шпионажа, взлома и вандализма.',
bgImg: 'https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1000&auto=format&fit=crop'
},
{
title: 'Частные дома и квартиры',
icon: <Home size={56} className="text-accent-blue" />,
desc: 'Периметральная безопасность для частной недвижимости. Защита оконных проемов в квартирах, загородных домах и паник-комнатах.',
bgImg: 'https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?q=80&w=1000&auto=format&fit=crop'
}
];
return (
<section id="applications" style={{ position: 'relative', backgroundColor: 'var(--bg-light)' }}>
<div className="container">
<div style={{ textAlign: 'center', marginBottom: '80px' }}>
<motion.h2
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
transition={{ duration: 0.6 }}
viewport={{ once: true }}
style={{ fontSize: '3.5rem', marginBottom: '20px' }}
>
ЗОНЫ <span className="text-accent-orange">ПРИМЕНЕНИЯ</span>
</motion.h2>
<motion.p
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
transition={{ duration: 0.6, delay: 0.2 }}
viewport={{ once: true }}
style={{ color: 'var(--text-muted)', fontSize: '1.3rem', maxWidth: '800px', margin: '0 auto' }}
>
Масштабируемые протоколы защиты, разработанные для различных условий эксплуатации и уровней угроз.
</motion.p>
</div>
<div style={{
display: 'grid',
gridTemplateColumns: 'repeat(auto-fit, minmax(280px, 1fr))',
gap: '40px'
}}>
{cases.map((useCase, index) => (
<motion.div
key={index}
initial={{ opacity: 0, y: 50, scale: 0.95 }}
whileInView={{ opacity: 1, y: 0, scale: 1 }}
transition={{ duration: 0.6, delay: index * 0.15, type: "spring" }}
viewport={{ once: true, margin: "-50px" }}
className="glass-panel"
style={{
position: 'relative',
overflow: 'hidden',
padding: '50px 35px',
display: 'flex',
flexDirection: 'column',
gap: '25px',
minHeight: '420px',
cursor: 'pointer'
}}
whileHover={{
y: -15,
boxShadow: '0 20px 40px rgba(15, 23, 42, 0.12)'
}}
>
{/* Background Image with Lighter Overlay */}
<motion.div
style={{
position: 'absolute',
top: 0, left: 0, right: 0, bottom: 0,
backgroundImage: `url(${useCase.bgImg})`,
backgroundSize: 'cover',
backgroundPosition: 'center',
opacity: 0.05,
zIndex: 0
}}
whileHover={{ opacity: 0.15, scale: 1.05 }}
transition={{ duration: 0.4 }}
/>
<div style={{ position: 'relative', zIndex: 1, height: '100%', display: 'flex', flexDirection: 'column' }}>
<motion.div
initial={{ scale: 1 }}
whileHover={{ scale: 1.1, rotate: 5 }}
style={{ marginBottom: '25px', display: 'inline-block' }}
>
{useCase.icon}
</motion.div>
<h3 style={{ fontSize: '1.6rem', marginBottom: '15px', color: 'var(--text-main)' }}>{useCase.title}</h3>
<p style={{ color: 'var(--text-muted)', lineHeight: '1.7', fontSize: '1.05rem', marginTop: 'auto' }}>{useCase.desc}</p>
</div>
</motion.div>
))}
</div>
</div>
</section>
);
};
export default UseCases;
+13
View File
@@ -0,0 +1,13 @@
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import { registerSW } from 'virtual:pwa-register'
import './index.css'
import App from './App.jsx'
registerSW({ immediate: true })
createRoot(document.getElementById('root')).render(
<StrictMode>
<App />
</StrictMode>,
)