mani-agro-frontend/src/components/home/PartnerCTA/PartnerCTA.tsx

166 lines
5.4 KiB
TypeScript

import React from 'react';
import { Box, Container, Typography, Button, Paper } from '@mui/material';
import { Handshake, PhoneCall, Mail, FileText } from 'lucide-react';
import { WhatsAppIcon as MessageCircle } from '../../common/WhatsAppIcon';
import { COMPANY_INFO } from '../../../data/companyData';
import { useQuote } from '../../../context/QuoteContext';
export const PartnerCTA: React.FC = () => {
const { openQuoteModal } = useQuote();
return (
<Box sx={{ py: { xs: 8, md: 10 }, bgcolor: '#102A22', color: '#FFFFFF', position: 'relative', overflow: 'hidden' }}>
<Container maxWidth="lg">
<Paper
elevation={0}
sx={{
p: { xs: 4, sm: 6, md: 7 },
borderRadius: 4,
bgcolor: 'rgba(255, 255, 255, 0.05)',
backdropFilter: 'blur(16px)',
border: '1px solid rgba(212, 155, 36, 0.3)',
textAlign: 'center',
position: 'relative',
}}
>
<Box
sx={{
width: 64,
height: 64,
borderRadius: '50%',
bgcolor: 'rgba(212, 155, 36, 0.15)',
color: '#D49B24',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
mx: 'auto',
mb: 2.5,
}}
>
<Handshake size={34} />
</Box>
<Typography
variant="caption"
sx={{
color: '#D49B24',
fontWeight: 700,
letterSpacing: '0.12em',
textTransform: 'uppercase',
fontSize: '0.85rem',
display: 'block',
mb: 1,
}}
>
Looking For Importers & Distributors
</Typography>
<Typography
variant="h2"
sx={{
fontWeight: 800,
color: '#FFFFFF',
fontSize: { xs: '2rem', sm: '2.6rem', md: '3.2rem' },
mb: 2,
lineHeight: 1.2,
}}
>
Let's Build a Long-Term{' '}
<Box component="span" sx={{ color: '#D49B24' }}>
Supply Partnership
</Box>
</Typography>
<Typography
variant="body1"
sx={{
color: 'rgba(255, 255, 255, 0.85)',
maxWidth: 680,
mx: 'auto',
fontSize: '1.05rem',
lineHeight: 1.7,
mb: 4,
}}
>
For product specifications, lab test reports, courier samples, FOB/CIF quotations, and business enquiries, contact Mihir Motiyani directly.
</Typography>
{/* Contact Box Details */}
<Paper
elevation={0}
sx={{
display: 'inline-flex',
flexDirection: { xs: 'column', sm: 'row' },
gap: { xs: 2, sm: 4 },
p: 2.5,
px: { sm: 4 },
borderRadius: 3,
bgcolor: 'rgba(0, 0, 0, 0.35)',
border: '1px solid rgba(255, 255, 255, 0.12)',
mb: 4,
}}
>
<Box sx={{ display: 'flex', gap: 1.5, alignItems: 'center', justifyContent: 'center' }}>
<PhoneCall size={18} color="#D49B24" />
<Box sx={{ textAlign: 'left' }}>
<Typography variant="caption" sx={{ color: 'rgba(255, 255, 255, 0.6)', display: 'block' }}>
Direct Phone / WhatsApp
</Typography>
<Typography variant="body2" sx={{ color: '#FFFFFF', fontWeight: 700 }}>
{COMPANY_INFO.phoneDisplay}
</Typography>
</Box>
</Box>
<Box sx={{ display: 'flex', gap: 1.5, alignItems: 'center', justifyContent: 'center' }}>
<Mail size={18} color="#D49B24" />
<Box sx={{ textAlign: 'left' }}>
<Typography variant="caption" sx={{ color: 'rgba(255, 255, 255, 0.6)', display: 'block' }}>
Export Inquiry Email
</Typography>
<Typography variant="body2" sx={{ color: '#FFFFFF', fontWeight: 700 }}>
{COMPANY_INFO.email}
</Typography>
</Box>
</Box>
</Paper>
{/* Action Buttons */}
<Box sx={{ display: 'flex', flexDirection: { xs: 'column', sm: 'row' }, gap: 2, justifyContent: 'center' }}>
<Button
variant="contained"
color="secondary"
size="large"
startIcon={<FileText size={20} />}
onClick={() => openQuoteModal()}
sx={{ px: 4, py: 1.4, fontWeight: 700, fontSize: '1rem' }}
>
Request Commercial Quotation
</Button>
<Button
variant="contained"
size="large"
href={COMPANY_INFO.whatsappUrl}
target="_blank"
rel="noopener noreferrer"
startIcon={<MessageCircle size={20} />}
sx={{
bgcolor: '#25D366',
color: '#FFFFFF',
px: 4,
py: 1.4,
fontWeight: 700,
fontSize: '1rem',
'&:hover': { bgcolor: '#1EBE5D' },
}}
>
Chat on WhatsApp
</Button>
</Box>
</Paper>
</Container>
</Box>
);
};