Skip to content

Commit ba99305

Browse files
Ke-bean“kebean”
and
“kebean”
authored
Testimonials redesign (#609)
Co-authored-by: “kebean” <“[email protected]”>
1 parent 7d28c4f commit ba99305

File tree

7 files changed

+40
-31
lines changed

7 files changed

+40
-31
lines changed

Diff for: package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"graphql-ws": "^5.16.0",
7676
"i18next": "^21.10.0",
7777
"i18next-browser-languagedetector": "^7.2.1",
78-
"i18next-http-backend": "^2.6.0",
78+
"i18next-http-backend": "^2.6.2",
7979
"i18next-xhr-backend": "^3.2.2",
8080
"istanbul": "^0.4.5",
8181
"jsonwebtoken": "^9.0.1",

Diff for: public/locales/en/translation.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@
347347
"Boost your organization": "Boost your organizations productivity with Pulse",
348348
"Please wait to be added to a program or cohort": "Please wait to be added to a program or cohort",
349349
"Are you sure you want to delete this user?": "Are you sure you want to delete this user?",
350-
"Come shape the future together": "Come shape the future together",
350+
"Come shape the future together": "Excellent human resources and companies come shape the future togetherr",
351351
"Content1": "I'm extremely impressed with Pulse and their performance management platform. Since using their services, it has been a game-changer for our organization. The platform is intuitive, easy to navigate, and packed with powerful features.",
352352
"Content2": "I'm delighted to share my positive experience with Pulse and their exceptional performance management platform. Implementing their services has led to remarkable improvements in our performance tracking and management processes.",
353353
"Content3": "We are thrilled with the services provided by Pulse. Their performance management platform has exceeded our expectations in every way. The user-friendly interface and comprehensive features have made tracking and monitoring our performance metrics a breeze.",

Diff for: public/locales/fr/translation.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@
465465
"Please wait to be added to a program or cohort": "Veuillez attendre d'être ajouté à un programme ou à une cohorte",
466466
"Select all the required information": "Entrez toutes les informations requises",
467467
"Are you sure you want to delete this user?": "Êtes-vous sûr de vouloir supprimer cet utilisateur ?",
468-
"Come shape the future together": "Venez former l'avenir ensemble",
468+
"Come shape the future together": "Excellentes ressources humaines et entreprises venez façonner l'avenir ensemble",
469469
"Content1": "Je suis extrêmement impressionné par Pulse et leur plateforme de gestion de la performance. Depuis que nous utilisons leurs services, cela a été un véritable changement pour notre organisation. La plateforme est intuitive, facile à naviguer et riche en fonctionnalités puissantes",
470470
"Content2": "Je suis ravi de partager mon expérience positive avec Pulse et leur plateforme exceptionnelle de gestion de la performance. La mise en œuvre de leurs services a conduit à des améliorations remarquables dans nos processus de suivi et de gestion de la performance.",
471471
"Content3": "Nous sommes ravis des services fournis par Pulse. Leur plateforme de gestion de la performance a dépassé nos attentes à tous égards. L'interface conviviale et les fonctionnalités complètes ont facilité le suivi et la surveillance de nos indicateurs de performance",

Diff for: public/locales/kn/translation.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@
454454
"Please wait to be added to a program or cohort": "Tegereza tukongere muri porogarame cyangwa itsinda",
455455
"Select all the required information": "Shyiramo amakuru yose asabwa",
456456
"Are you sure you want to delete this user?": "urashaka kwemeza ikigikorwa cyo gusiba uyumuntu ?",
457-
"Come shape the future together": "Dufatanye kwubaka ejo Hazaza",
457+
"Come shape the future together": "Abakozi beza n’ibigo by’ubushobozi bw’abakozi, muze duteze imbere ejo hazaza hamwe",
458458
"Content1": "Nshimishijwe cyane na Pulse n'ikoranabuhanga ryabo ryo gucunga imikorere. Kuva natangira gukoresha serivisi zabo, byabaye impinduka ikomeye mu kigo cyacu. iri koranabuhanga riroroshye kurikoresha, kandi ryubakanye ubuhanga n' ubushobozi buhanitse.",
459459
"Content2": "Nshimishijwe no gusangiza uburambe bwanjye bwiza na Pulse n'ikoranabuhanga ryabo rihambaye ryo gucunga imikorere. Gushyira mu bikorwa serivisi zabo byazanye impinduka zikomeye mu gukurikirana no gucunga imikorere yacu",
460460
"Content3": "Turishimye cyane ku bwa Pulse. Ikoranabuhanga rya yo ryo gucunga imikorere ryarenze ibyifuzo byacu mu buryo bwose. Iroroshye kuyikoresha kandi yatumye tubasha gukurikirana no kugenzura imikorere yacu",

Diff for: src/pages/About.tsx

+31-22
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ function Testimonial() {
6262

6363
return (
6464
<>
65-
<div className="block md:hidden flex-col lg:mx-10 md:mx-20 my-20 gap-10 relative font-serif">
65+
<div className="block md:hidden flex-col px-4 py-16 bg-gradient-to-b from-white to-indigo-50 dark:from-dark-frame-bg dark:to-dark-bg relative font-serif">
6666
{testimonials.map((testimonial, index) => (
6767
<div
6868
key={testimonial.id}
69-
className={`bg-indigo-100 dark:bg-dark-bg dark:text-slate-300 lg:w-1/3 p-8 md:w-full rounded-b-3xl sm:mx-3 rounded-t-3xl ${
69+
className={`group relative bg-white dark:bg-dark-bg rounded-2xl p-6 shadow-lg hover:shadow-xl transition-all duration-300 overflow-hidden ${
7070
currentIndex === index ? 'visible' : 'hidden'
71-
}`}
71+
}`}
7272
>
7373
<div className="flex flex-col sm:flex-row mb-6 items-center">
7474
<img className="sm:w-1/4" src={testimonial.image} alt="" />
@@ -105,31 +105,40 @@ function Testimonial() {
105105
</span>
106106
</div>
107107

108-
<div className="hidden md:flex md:flex-row flex-col lg:mx-0 md:mx-0 my-20 gap-10 md:flex-wrap lg:flex-nowrap font-serif">
108+
<div className="hidden md:grid md:grid-cols-3 gap-6 max-w-6xl mx-auto px-4 py-16 bg-gradient-to-b from-white to-indigo-50 dark:from-dark-frame-bg dark:to-dark-bg">
109109
{testimonials.map((testimonial, index) => (
110110
<div
111111
key={testimonial.id}
112-
className="bg-indigo-100 dark:bg-dark-bg lg:w-1/3 p-8 md:w-full rounded-b-3xl sm:mx-3 rounded-t-3xl "
112+
className="group relative bg-white dark:bg-dark-bg rounded-2xl p-6 shadow-lg hover:shadow-xl transition-all duration-300 overflow-hidden "
113113
>
114-
<div className="flex flex-col sm:flex-row mb-6 items-center">
115-
<img
116-
className="md:w-1/5 sm:w-1/3"
117-
src={testimonial.image}
118-
alt=""
119-
/>
120-
121-
<ul>
122-
<li className="text-sm ml-3 dark:text-slate-300 text-neutral-600">
114+
<div className="flex items-center space-x-4 mb-6">
115+
<div className="relative">
116+
<div className="w-16 h-16 rounded-full overflow-hidden ring-2 ring-indigo-100 dark:ring-indigo-900">
117+
<img
118+
src={testimonial.image}
119+
alt={testimonial.name}
120+
className="w-full h-full object-cover"
121+
/>
122+
</div>
123+
<div className="absolute -bottom-1 -right-1 w-5 h-5 bg-indigo-500 rounded-full border-2 border-white dark:border-dark-bg" />
124+
</div>
125+
<div>
126+
<h3 className="font-semibold text-gray-900 dark:text-gray-100">
123127
{testimonial.name}
124-
</li>
125-
<li className="text-sm dark:text-slate-300 mt-2 ml-3">
126-
{testimonial.role}, {testimonial.organization}
127-
</li>
128-
</ul>
128+
</h3>
129+
<p className="text-sm text-gray-600 dark:text-gray-400">
130+
{testimonial.role}
131+
</p>
132+
<p className="text-sm font-medium text-indigo-600 dark:text-indigo-400">
133+
{testimonial.organization}
134+
</p>
135+
</div>
136+
</div>
137+
<div className="relative">
138+
<p className="text-gray-700 dark:text-gray-300 leading-relaxed">
139+
{testimonial.content}
140+
</p>
129141
</div>
130-
<p className="text-base dark:text-slate-300 text-neutral-900">
131-
{testimonial.content}
132-
</p>
133142
</div>
134143
))}
135144
</div>

Diff for: tests/pages/About.test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ describe('About page', () => {
1717

1818
expect(elem.toJSON()).toMatchSnapshot();
1919
});
20-
});
20+
});

0 commit comments

Comments
 (0)