File size: 662 Bytes
7f5876d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
export const Quote = ({
  data,
  children,
}: {
  data: string;
  children?: React.ReactNode;
}) => {
  return (
    <div className="max-w-2xl w-full border border-gray-200 bg-white rounded-3xl p-8 shadow-xl shadow-black/5 relative z-[1] overflow-hidden">
      <p className="text-[8rem] absolute bottom-0 translate-y-1/3 right-0 opacity-20 -z-[1]">
        💝
      </p>
      <p className="uppercase text-base tracking-wider font-semibold mb-2">
        Love Letter
      </p>
      <div className="text-lg text-gray-500 leading-relaxed container mx-auto text-pretty whitespace-break-spaces">
        {data}
      </div>
      {children}
    </div>
  );
};