Skip to content

Commit

Permalink
fixup buttons and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccahongsf committed Apr 23, 2024
1 parent ee5ca68 commit c505a8a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
12 changes: 4 additions & 8 deletions src/components/config-pages/local-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@ const LocalFooter = ({
</div>

<div className="col-span-6 sm:col-span-3 md:col-span-2 md:col-start-8 2xl:col-start-7 font-roboto">
{suLocalFootPrimeH && (
<H2 className="text-m1 font-normal">{suLocalFootPrimeH}</H2>
)}
{suLocalFootPrimeH && <H2 className="text-m1 font-normal">{suLocalFootPrimeH}</H2>}
{suLocalFootPrimary && (
<ul className="list-unstyled">
{suLocalFootPrimary.map((link, index) => {
Expand All @@ -131,11 +129,9 @@ const LocalFooter = ({
</div>

<div className="col-span-6 sm:col-span-3 md:col-start-10 2xl:col-start-9 font-roboto">
{suLocalFootSecondH && (
<H2 className="text-m1 font-normal">{suLocalFootSecondH}</H2>
)}
{suLocalFootSecondH && <H2 className="text-m1 font-normal">{suLocalFootSecondH}</H2>}

{suLocalFootSecond && (
{suLocalFootSecond &&
<ul className="list-unstyled">
{suLocalFootSecond.map((link, index) => {
if (!link.url) return;
Expand All @@ -148,7 +144,7 @@ const LocalFooter = ({
);
})}
</ul>
)}
}

<Wysiwyg html={suLocalFootTr2Co?.processed} />
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/components/elements/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type Props = HtmlHTMLAttributes<HTMLAnchorElement | HTMLButtonElement> & {
* Disabled button element.
*/
disabled?: boolean
};
}

export const Button = ({
href,
Expand All @@ -61,9 +61,9 @@ export const Button = ({
big && !secondary,
"btn btn--secondary transition text-digital-red hocus:text-white hocus:bg-digital-red border-2 border-digital-red hocus:border-white no-underline hocus:underline hocus:outline hocus:outline-3 hocus:outline-digital-red py-4 px-16 font-normal rounded-full":
!big && secondary,
"btn btn--big btn--secondary transition text-5xl text-digital-red hocus:text-white hocus:bg-digital-red border-2 border-digital-red hocus:border-white no-underline hocus:underline hocus:outline hocus:outline-3 hocus:outline-digital-red py-6 px-18 font-normal rounded-full":
"btn btn--big btn--secondary transition text-5xl text-digital-red hocus:text-white hocus:bg-digital-red border-2 border-digital-red hocus:border-white no-underline hocus:underline hocus:outline hocus:outline-3 hocus:outline-digital-red py-6 px-20 font-normal rounded-full":
big && secondary,
"btn bg-digital-red font-normal text-white border-2 border-white hocus:outline hocus:outline-3 hocus:outline-digital-red py-4 px-8 no-underline hocus:underline transition rounded-full m-4":
"btn bg-digital-red font-normal text-white border-2 border-white hocus:text-white hocus:outline hocus:outline-3 hocus:outline-digital-red py-4 px-8 no-underline hocus:underline transition rounded-full m-4":
!big && !secondary,
})

Expand Down

0 comments on commit c505a8a

Please sign in to comment.