Remove backwards compatibility

This commit is contained in:
adilallo
2026-02-06 18:58:59 -07:00
parent af0888798f
commit 8c7c074d59
24 changed files with 163 additions and 274 deletions
@@ -45,7 +45,8 @@ function AskOrganizerView({
<Button
href={buttonHref}
size="large"
variant={variant === "inverse" ? "filled-inverse" : "filled"}
buttonType="filled"
palette={variant === "inverse" ? "inverse" : "default"}
className="xl:!px-[var(--spacing-scale-020)] xl:!py-[var(--spacing-scale-012)] xl:!text-[24px] xl:!leading-[28px]"
onClick={onContactClick}
ariaLabel={ariaLabel}
@@ -49,13 +49,13 @@ function NumberedCardsView({
<div className="text-center sm:text-left lg:text-center">
{/* Filled button for xsm and sm breakpoints */}
<div className="block lg:hidden">
<Button variant="filled" size="large">
<Button buttonType="filled" palette="default" size="large">
{t("numberedCards.buttons.createCommunityRule")}
</Button>
</div>
{/* Outline button for lg and xlg breakpoints */}
<div className="hidden lg:block">
<Button variant="outline" size="large">
<Button buttonType="outline" palette="default" size="large">
{t("numberedCards.buttons.seeHowItWorks")}
</Button>
</div>
@@ -157,7 +157,8 @@ export function RuleStackView({
min-[1024px]:mt-[var(--measures-spacing-1000,40px)]
">
<Button
variant="outline"
buttonType="outline"
palette="default"
size="large"
>
{buttonText}