feat: implement vt feedback component

This commit is contained in:
Nam Doan
2026-01-05 09:49:35 +07:00
parent c800f87ffe
commit 1716ef2cf4
3 changed files with 130 additions and 0 deletions
+37
View File
@@ -364,6 +364,43 @@
}
}
},
{
"VtFeedback": {
"config": {
"title": "100,000+ Reviews From Squatchers",
"className": "content-container py-16",
"titleClassName": "text-[#1f3521] text-[28px] font-bold text-center mb-10",
"duration": 5,
"options": { "loop": true },
"itemClassName": "min-w-full px-6",
"starsClassName": "text-[#C4622C] text-xl leading-none",
"reviewTitleClassName": "text-[#1f3521] font-bold",
"reviewTextClassName": "text-[#1f3521]",
"authorClassName": "italic text-[#1f3521]",
"controls": "mt-6 flex items-center justify-center gap-4",
"items": [
{
"rating": 5,
"title": "Ah-freaking-amazing!",
"text": "So I just had my first shower with Dr. Squatch Cool Fresh Aloe. Holy sh*t this stuff is Ah-freaking-amazing! Talk about a life hack!",
"author": "Stephen B."
},
{
"rating": 5,
"title": "Best damn soap ever…period.",
"text": "Best Damn Soap I EVER bought! Super smooth on the skin, smells awesome, makes you feel good showering, and yes…the wife approves.",
"author": "Chris H."
},
{
"rating": 5,
"title": "Hilarious…products awesome too",
"text": "Ok…the Dr. Squatch commercials are just freakin hilarious…plus the products are awesome too! So yes, buy it now and subscribe to it!",
"author": "Mike C."
}
]
}
}
},
{ "CartMismatchBanner": { "config": { "show": true } } },
{ "FreeShippingPriceNudge": { "config": { "variant": "popup" } } }
],