File: /var/www/fintechfuel/src/routes/[...lang=locale]/(app)/Reviews.svelte
<script lang="ts">
import twitter from '../../../assets/images/reviews/twitter.svg';
import facebook from '../../../assets/images/reviews/facebook.svg';
import user1 from '../../../assets/images/reviews/shutterstock.png';
import user2 from '../../../assets/images/reviews/shutterstock-1.png';
import user3 from '../../../assets/images/reviews/shutterstock-2.png';
import { t } from '$lib/translations';
</script>
<div class="reviews">
<div class="reviewsContent text">
<h2 class="reviewsTitle">{$t("But don't take our word for it")}</h2>
</div>
<div class="reviewsContent">
<div class="reviewsGrid">
<div class="reviewsItem">
<div class="reviewsUser">
<div class="reviewsUserImg">
<img src={user1} alt="" />
<div class="reviewsUserSocial">
<img src={facebook} alt="" />
</div>
</div>
<div class="reviewsUserContent">
<p class="reviewsUserName">{$t('James Burney')}</p>
<p class="reviewsUserLocation">{$t('United Kingdom, London')}</p>
</div>
</div>
<div class="reviewsItemText">
<p>{$t('FintechFuelis where brokers build for brokers and that makes a world of difference.')}</p>
<p>
{$t('Their expertise in the field is unmatched: I really felt like I had guidance every step of the way.')}
{$t('And now, finally, my brokerage solution is gaining traction.')}
</p>
</div>
</div>
<div class="reviewsItem">
<div class="reviewsUser">
<div class="reviewsUserImg">
<img src={user2} alt="" />
<div class="reviewsUserSocial">
<img src={twitter} alt="" />
</div>
</div>
<div class="reviewsUserContent">
<p class="reviewsUserName">{$t('Isaya Romanovic')}</p>
<p class="reviewsUserLocation">{$t('Serbia, Belgrade')}</p>
</div>
</div>
<div class="reviewsItemText">
<p>
{$t("I'm so happy I stumbled upon FintechFuel.")}
{$t(
'It took me just 20 days to launch, and now the company takes care of the vast majority of my operational procedures.'
)}
{$t('Becoming a broker has never been easier.')}
</p>
</div>
</div>
<div class="reviewsItem">
<div class="reviewsUser">
<div class="reviewsUserImg">
<img src={user3} alt="" />
<div class="reviewsUserSocial">
<img src={facebook} alt="" />
</div>
</div>
<div class="reviewsUserContent">
<p class="reviewsUserName">{$t('Lucas Ribeiro')}</p>
<p class="reviewsUserLocation">{$t('Brazil, Rio de Janeiro')}</p>
</div>
</div>
<div class="reviewsItemText">
<p>
{$t("My clients can trade wherever they are and whichever device they're using.")}
{$t(
"Because my brokerage solution is powered by FintechFuel, I don't have to worry about ensuring responsiveness."
)}
</p>
<p>{$t('In this day and age, it is probably the most important factor.')}</p>
</div>
</div>
</div>
</div>
</div>
<style lang="scss">
@import '../../../scss/media';
.reviews {
.reviewsContent {
margin-bottom: 96px;
@include breakpoint-down('deskS') {
margin-bottom: 80px;
}
@include breakpoint-down('tabM') {
width: 100%;
overflow: auto;
touch-action: auto;
margin-bottom: 72px;
&::-webkit-scrollbar {
width: 0;
height: 0;
display: none;
}
}
@include breakpoint-down('tabS') {
overflow: initial;
}
@include breakpoint-down('mobM') {
margin-bottom: 56px;
}
&.text {
width: 100%;
max-width: 623px;
@include breakpoint-down('tabM') {
max-width: 417px;
}
}
&:last-of-type {
margin-bottom: 0;
}
}
.reviewsTitle {
font-size: 72px;
font-weight: 600;
line-height: 94px;
@include breakpoint-down('tabM') {
font-size: 48px;
line-height: 58px;
}
@include breakpoint-down('mobM') {
font-size: 32px;
line-height: 42px;
}
}
.reviewsGrid {
display: flex;
align-items: flex-start;
gap: 84px;
@include breakpoint-down('deskS') {
gap: 28px;
}
@include breakpoint-down('tabM') {
gap: 84px;
width: auto;
}
@include breakpoint-down('tabS') {
flex-direction: column;
gap: 64px;
}
@include breakpoint-down('mobM') {
gap: 56px;
}
}
.reviewsItem {
flex: 1;
padding: 24px 33px;
border-left: thin solid #d9d7cc;
@include breakpoint-down('tabM') {
width: 367px;
min-width: 367px;
}
@include breakpoint-down('tabS') {
min-width: auto;
width: 100%;
}
@include breakpoint-down('mobM') {
padding: 24px 32px;
}
.reviewsUser {
margin-bottom: 32px;
}
.reviewsItemText {
display: flex;
flex-direction: column;
gap: 12px;
}
}
.reviewsUser {
display: flex;
align-items: center;
gap: 20px;
.reviewsUserImg {
position: relative;
width: 56px;
min-width: 56px;
height: 56px;
> img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 16px;
}
}
.reviewsUserSocial {
width: 20px;
height: 20px;
position: absolute;
z-index: 2;
right: -2px;
bottom: -2px;
> img {
width: 100%;
height: 100%;
object-fit: cover;
}
}
.reviewsUserName {
margin-bottom: 2px;
}
.reviewsUserLocation {
font-size: 14px;
font-weight: 400;
line-height: 20px;
color: #73726c;
}
}
}
</style>