BLOG-27 fix: the shadow of the home page terminal
All checks were successful
Frontend CI / build (push) Successful in 1m20s
PR Title Check / pr-title-check (pull_request) Successful in 13s

This commit is contained in:
Zoe 2025-01-21 19:16:48 +08:00
parent fd3ba3bfb8
commit 6a8a3de47b

View File

@ -38,7 +38,7 @@ export default function Terminal() {
return ( return (
<div <div
ref={element} ref={element}
className={`bg-true-gray-700 border-true-gray-800 flex w-full flex-col gap-y-1.5 rounded-2xl border-4 p-4 pb-28 font-mono font-medium text-gray-50 transition-opacity duration-300 md:gap-y-2.5 md:rounded-3xl md:border-8 md:p-8 md:pb-32 md:text-xl ${isReady ? "opacity-100" : "opacity-0"}`} className={`bg-true-gray-700 border-true-gray-800 flex w-full flex-col gap-y-1.5 rounded-2xl border-4 p-4 pb-28 font-mono font-medium text-gray-50 shadow-xl transition-opacity duration-300 md:gap-y-2.5 md:rounded-3xl md:border-8 md:p-8 md:pb-32 md:text-xl ${isReady ? "opacity-100" : "opacity-0"}`}
> >
{lines.slice(0, currentIndex).map((line, index) => ( {lines.slice(0, currentIndex).map((line, index) => (
<NormalLine key={index} text={line} /> <NormalLine key={index} text={line} />