Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@mui/icons-material": "^6.4.5",
"@mui/material": "^6.4.5",
"@mui/icons-material": "^6.4.11",
"@mui/material": "^6.4.11",
"@mui/system": "^7.0.2",
"next": "15.1.7",
"react": "^19.0.0",
"react-dom": "^19.0.0"
Expand Down
120 changes: 118 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions public/google.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/invalid-name.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 72 additions & 0 deletions src/components/features/TestimonialsSection.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
// components/features/TestimonialsSection.tsx
'use client';

import { Box, Typography } from '@mui/material';
import type { SxProps, Theme } from '@mui/system';
import TestimonialCard from '@/components/ui/TestimonialCard';

interface Testimonial {
name: string;
title: string;
quote: string;
margin: SxProps<Theme>;
}

const testimonials: Testimonial[] = [
{
quote: 'SmartAgent cut our missed calls by 80%. Lifesaver for my plumbing business!',
name: 'Josn',
title: 'CEO of ABC Company',
margin: { xs: 0, md: '72px 48px 120px 240px' },
},
{
quote: 'Automated follow-ups saved me 10+ hours a week managing rentals.',
name: 'Jena',
title: 'Rental Manager',
margin: { xs: 0, md: '72px 240px 120px 48px' },
},
];

export default function TestimonialsSection() {
return (
<Box sx={{ px: 2, py: 10, bgcolor: 'white' }}>
{/* Section Title */}
<Typography
sx={{
fontFamily: 'Roboto',
fontSize: '48px',
fontWeight: 900,
lineHeight: 1.17,
textAlign: 'center',
color: '#060606',
maxWidth: '864px',
mx: 'auto',
mt: '200px',
mb: '72px',
}}
>
Trusted by Small Businesses Like Yours
</Typography>

{/* Responsive Card Layout */}
<Box
display="flex"
flexDirection={{ xs: 'column', md: 'row' }}
alignItems="center"
justifyContent="center"
gap={{ xs: 4, md: 0 }}
sx={{ overflowX: 'auto' }}
>
{testimonials.map((item, idx) => (
<TestimonialCard
key={idx}
quote={item.quote}
name={item.name}
title={item.title}
sx={item.margin}
/>
))}
</Box>
</Box>
);
}
Loading