Refactor ProjectBrochuresList and BrochureButton components for improved styling and consistency; update font weight and class names for better UI presentation.
This commit is contained in:
@@ -16,13 +16,15 @@ export default function ProjectBrochuresList({
|
||||
const isMobile = variant === "mobile";
|
||||
|
||||
return (
|
||||
<div className={clsx("space-y-3", isMobile ? "flex-1" : "2xl:w-[15.278vw] w-[220px]")}>
|
||||
<p className="font-semibold whitespace-nowrap text-s">{projectTitle}</p>
|
||||
<div
|
||||
className={clsx(
|
||||
"space-y-3",
|
||||
isMobile ? "flex-1" : "2xl:w-[15.278vw] w-[220px]"
|
||||
)}
|
||||
>
|
||||
<p className="font-medium whitespace-nowrap text-h5">{projectTitle}</p>
|
||||
<div
|
||||
className={clsx(
|
||||
"flex flex-col",
|
||||
isMobile ? "gap-2" : "gap-[0.556vw]"
|
||||
)}
|
||||
className={clsx("flex flex-col", isMobile ? "gap-2" : "gap-[0.556vw]")}
|
||||
>
|
||||
{brochures.map((brochure, index) => (
|
||||
<BrochureButton
|
||||
|
||||
Reference in New Issue
Block a user