Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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.
106 changes: 106 additions & 0 deletions src/app/landing/components/TestimonialCard.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
'use client';

import React from 'react';
import styled from 'styled-components';
import Image from 'next/image';

interface TestimonialCardProps {
quote: string;
name: string;
title: string;
sx?: React.CSSProperties;
}

// Card container
const StyledCard = styled.div`
width: 100%;
max-width: 696px;
height: auto;
padding: 40px 24px;
border-radius: 24px;
border: 1px solid #d5d5d5;
background-color: #fff;
box-shadow: none;
flex-shrink: 0;
box-sizing: border-box;

@media (min-width: 768px) {
padding: 60px;
}
`;

// Quote icon
const QuoteIconBox = styled.div`
width: 22px;
height: 20px;
margin: 0 auto 24px 0;

@media (min-width: 768px) {
margin: 0 554px 24px 0;
}
`;

// Quote text
const QuoteText = styled.p`
font-family: Roboto, sans-serif;
font-size: 20px;
font-weight: bold;
line-height: 1.33;
color: #060606;
margin: 24px 0 48px;
text-align: left;

@media (min-width: 768px) {
font-size: 24px;
width: 576px;
}
`;

// Name text
const NameText = styled.p`
font-family: Roboto, sans-serif;
font-size: 20px;
font-weight: bold;
line-height: 1.25;
color: #060606;
margin-bottom: 16px;

@media (min-width: 768px) {
font-size: 24px;
}
`;

// Title text
const TitleText = styled.p`
font-family: Roboto, sans-serif;
font-size: 14px;
font-weight: 400;
line-height: 1.25;
color: #6d6d6d;

@media (min-width: 768px) {
font-size: 16px;
}
`;

export default function TestimonialCard({ quote, name, title, sx }: TestimonialCardProps) {
return (
<StyledCard style={sx}>
<QuoteIconBox>
<Image
src="/invalid-name.svg"
alt="Quote Icon"
width={22}
height={20}
style={{
objectFit: 'contain',
display: 'block',
}}
/>
</QuoteIconBox>
<QuoteText>{quote}</QuoteText>
<NameText>{name}</NameText>
<TitleText>{title}</TitleText>
</StyledCard>
);
}
Loading