styling updates

This commit is contained in:
saml33 2024-03-19 15:02:46 +11:00
parent 9d1f9e70af
commit 0cd31db6ac
3 changed files with 6 additions and 3 deletions

View File

@ -32,7 +32,7 @@ const AppCallToAction = ({ data }: { data: CtaData }) => {
</span>
) : null}
{ctaDescription ? (
<span className="text-sm block text-th-fgd-2">
<span className="text-sm block text-th-fgd-2 font-body">
{ctaDescription}
</span>
) : null}

View File

@ -57,6 +57,7 @@ const TableOfContents = ({
return (
<div className="mt-8 p-6 rounded-lg bg-th-bkg-2 space-y-2 h-max md:sticky md:top-8 md:w-64">
<h4>Contents</h4>
<button
className={`font-normal text-base text-left focus:outline-none ${
activeSection === 0 ? 'text-th-active' : 'text-th-fgd-2'
@ -68,7 +69,9 @@ const TableOfContents = ({
{headingTwos.map((heading, index) => (
<a
className={`block ${
activeSection === index + 1 ? 'text-th-active' : 'text-th-fgd-2'
activeSection === index + 1
? 'text-th-active'
: 'text-th-fgd-2 md:hover:text-th-fgd-4'
}`}
href={`#anchor-link-${index}`}
key={heading}

File diff suppressed because one or more lines are too long