feat(SW-187): removed unused title

This commit is contained in:
Pontus Dreij
2024-09-04 14:20:29 +02:00
parent a3cb24dfd4
commit 2c37bbad55
5 changed files with 8 additions and 6 deletions

View File

@@ -5,8 +5,7 @@ import styles from "./navigation.module.css"
export default function FooterNavigation({ ...props }) {
const { mainLinks, secondaryLinks, appDownloads } = props
console.log("mainLinks", mainLinks)
console.log("secondaryLinks", secondaryLinks)
return (
<section className={styles.section}>
<div className={styles.maxWidth}>

View File

@@ -13,9 +13,15 @@
@media screen and (min-width: 767px) {
.section {
padding: var(--Spacing-x9) 0;
padding: var(--Spacing-x9) var(--Spacing-x6);
}
.maxWidth {
flex-direction: row;
}
}
@media screen and (min-width: 1367px) {
.section {
padding: var(--Spacing-x9) 0;
}
}

View File

@@ -1,6 +1,5 @@
fragment MainLinks on Footer {
main_links {
title
open_in_new_tab
link {
href

View File

@@ -2,7 +2,6 @@ fragment SecondaryLinks on Footer {
secondary_links {
title
links {
title
open_in_new_tab
pageConnection {
edges {

View File

@@ -282,7 +282,6 @@ const validateInternalLink = z
.optional()
const validateLinkItem = z.object({
title: z.string(),
open_in_new_tab: z.boolean(),
link: validateExternalLink,
pageConnection: validateInternalLink,