Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Commit

Permalink
docs: Fix hero's responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
mohebifar committed Mar 10, 2024
1 parent b2d619f commit 752bbf6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/docs/components/ui/text-reveal-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const TextRevealCard = ({
onMouseMove={mouseMoveHandler}
ref={cardRef}
className={cn(
"bg-[#1d1c20] border border-white/[0.08] w-[40rem] rounded-lg p-8 pb-2 relative overflow-hidden",
"bg-[#1d1c20] border border-white/[0.08] w-[24rem] sm:w-[30rem] rounded-lg p-8 pb-2 relative overflow-hidden",
className,
)}
>
Expand Down Expand Up @@ -85,7 +85,7 @@ export const TextRevealCard = ({
style={{
textShadow: "4px 4px 15px rgba(0,0,0,0.5)",
}}
className="text-[0.8rem] py-10 font-bold text-white bg-clip-text text-transparent bg-gradient-to-b from-white to-neutral-300"
className="text-[0.64rem] sm:text-[0.8rem] py-10 font-bold text-white bg-clip-text text-transparent bg-gradient-to-b from-white to-neutral-300"
dangerouslySetInnerHTML={{ __html: revealText }}
/>
</motion.div>
Expand All @@ -101,7 +101,7 @@ export const TextRevealCard = ({

<div className="overflow-hidden [mask-image:linear-gradient(to_bottom,transparent,white,transparent)] text-left">
<pre
className="text-[0.8rem] py-10 font-bold bg-clip-text text-transparent bg-[#aaa]"
className="text-[0.64rem] sm:text-[0.8rem] py-10 font-bold bg-clip-text text-transparent bg-[#aaa]"
dangerouslySetInnerHTML={{ __html: text }}
/>
<MemoizedStars />
Expand Down

0 comments on commit 752bbf6

Please sign in to comment.