50 lines
1.9 KiB
JavaScript
50 lines
1.9 KiB
JavaScript
"use client";
|
|
|
|
import React from "react";
|
|
import Image from "next/image";
|
|
import QuoteDecor from "./QuoteDecor";
|
|
|
|
const QuoteBlock = ({ className = "" }) => {
|
|
return (
|
|
<div
|
|
className={`py-[var(--spacing-scale-064)] px-[var(--spacing-scale-020)] bg-[var(--color-surface-default-brand-darker-accent)] relative overflow-hidden ${className}`}
|
|
>
|
|
{/* DECORATIONS (behind content) */}
|
|
<QuoteDecor
|
|
className="pointer-events-none absolute z-0
|
|
left-0 top-0
|
|
w-full h-full"
|
|
/>
|
|
|
|
<div className="flex flex-col gap-[var(--spacing-scale-024)] relative z-10">
|
|
<div className="flex flex-col gap-[var(--spacing-scale-020)]">
|
|
<Image
|
|
src="assets/Quote_Avatar.svg"
|
|
alt="Quote Avatar"
|
|
width={64}
|
|
height={64}
|
|
className="filter sepia"
|
|
/>
|
|
<blockquote>
|
|
<p className="font-bricolage-grotesque font-normal text-[18px] leading-[120%] tracking-[0px] text-[var(--color-content-inverse-primary)] -indent-[0.5em] [&>span]:font-bricolage-grotesque">
|
|
<span>"</span>The rules of decision-making must be open and
|
|
available to everyone, and this can happen only if they are
|
|
formalized.<span>"</span>
|
|
</p>
|
|
</blockquote>
|
|
</div>
|
|
<div className="flex flex-col gap-[var(--spacing-scale-008)]">
|
|
<p className="font-inter font-normal text-[12px] leading-[120%] tracking-[0.24px] text-[var(--color-content-inverse-primary)] uppercase">
|
|
Jo Freeman
|
|
</p>
|
|
<p className="font-inter font-normal text-[12px] leading-[120%] tracking-[0.24px] text-[var(--color-content-inverse-primary)] uppercase -indent-[0.5em] [&>span]:font-inter">
|
|
<span>"</span>The Tyranny of Structurelessness<span>"</span>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default QuoteBlock;
|