1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-01 05:21:43 +02:00

Read sample button on page

This commit is contained in:
Kamran Ahmed
2025-04-08 18:54:52 +01:00
parent c40b378202
commit 3dd50a1f09

View File

@@ -230,15 +230,17 @@ export function BuyButton(props: BuyButtonProps) {
</span> </span>
)} )}
</button> </button>
<button {!isLoadingPricing && !isAlreadyEnrolled && (
onClick={onReadSampleClick} <button
className="group relative inline-flex items-center justify-center overflow-hidden rounded-xl border border-yellow-500/30 bg-transparent px-6 py-3 text-base font-medium text-yellow-500 transition-all duration-300 ease-out hover:bg-yellow-500/10 focus:outline-hidden active:ring-0 md:rounded-full" onClick={onReadSampleClick}
> className="group relative inline-flex items-center justify-center overflow-hidden rounded-xl border border-yellow-500/30 bg-transparent px-6 py-3 text-base font-medium text-yellow-500 transition-all duration-300 ease-out hover:bg-yellow-500/10 focus:outline-hidden active:ring-0 md:rounded-full"
<span className="relative flex items-center gap-2"> >
<BookOpen className="h-5 w-5" /> <span className="relative flex items-center gap-2">
Read Sample <BookOpen className="h-5 w-5" />
</span> Read Sample
</button> </span>
</button>
)}
</div> </div>
{!isLoadingPricing && ( {!isLoadingPricing && (