Merged in feat/SW-1762 (pull request #2050)
feat: make enter details bottom sheet pixed, and add spacing at the bottom of page * feat: make enter details bottom sheet pixed, and add spacing at the bottom of page Approved-by: Arvid Norlin
This commit is contained in:
@@ -29,32 +29,34 @@ export default function FooterSecondaryNav({
|
||||
>
|
||||
{appDownloads.title}
|
||||
</Caption>
|
||||
<ul className={styles.secondaryNavigationList}>
|
||||
{appDownloads.links.map(
|
||||
({ href, type }) =>
|
||||
href && (
|
||||
<li key={type} className={styles.appDownloadItem}>
|
||||
<a
|
||||
href={href.href}
|
||||
target="_blank"
|
||||
aria-label={href.title}
|
||||
onClick={() => trackSocialMediaClick(href.title)}
|
||||
>
|
||||
<Image
|
||||
src={
|
||||
AppDownLoadLinks[
|
||||
`${type}_${lang}` as keyof typeof AppDownLoadLinks
|
||||
]
|
||||
}
|
||||
alt=""
|
||||
width={125}
|
||||
height={40}
|
||||
/>
|
||||
</a>
|
||||
</li>
|
||||
)
|
||||
)}
|
||||
</ul>
|
||||
{appDownloads.links.length ? (
|
||||
<ul className={styles.secondaryNavigationList}>
|
||||
{appDownloads.links.map(
|
||||
({ href, type }) =>
|
||||
href && (
|
||||
<li key={type} className={styles.appDownloadItem}>
|
||||
<a
|
||||
href={href.href}
|
||||
target="_blank"
|
||||
aria-label={href.title}
|
||||
onClick={() => trackSocialMediaClick(href.title)}
|
||||
>
|
||||
<Image
|
||||
src={
|
||||
AppDownLoadLinks[
|
||||
`${type}_${lang}` as keyof typeof AppDownLoadLinks
|
||||
]
|
||||
}
|
||||
alt=""
|
||||
width={125}
|
||||
height={40}
|
||||
/>
|
||||
</a>
|
||||
</li>
|
||||
)
|
||||
)}
|
||||
</ul>
|
||||
) : null}
|
||||
</nav>
|
||||
)}
|
||||
{secondaryLinks.map((group) => (
|
||||
@@ -66,20 +68,22 @@ export default function FooterSecondaryNav({
|
||||
>
|
||||
{group.title}
|
||||
</Caption>
|
||||
<ul className={styles.secondaryNavigationList}>
|
||||
{group?.links?.map((link) => (
|
||||
<li key={link.title} className={styles.secondaryNavigationItem}>
|
||||
<Link
|
||||
href={link.url}
|
||||
target={link.openInNewTab ? "_blank" : undefined}
|
||||
color="burgundy"
|
||||
onClick={() => trackFooterClick(group.title, link.title)}
|
||||
>
|
||||
{link.title}
|
||||
</Link>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
{group?.links.length ? (
|
||||
<ul className={styles.secondaryNavigationList}>
|
||||
{group.links.map((link) => (
|
||||
<li key={link.title} className={styles.secondaryNavigationItem}>
|
||||
<Link
|
||||
href={link.url}
|
||||
target={link.openInNewTab ? "_blank" : undefined}
|
||||
color="burgundy"
|
||||
onClick={() => trackFooterClick(group.title, link.title)}
|
||||
>
|
||||
{link.title}
|
||||
</Link>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
) : null}
|
||||
</nav>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user