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 }) { export default function FooterNavigation({ ...props }) {
const { mainLinks, secondaryLinks, appDownloads } = props const { mainLinks, secondaryLinks, appDownloads } = props
console.log("mainLinks", mainLinks)
console.log("secondaryLinks", secondaryLinks)
return ( return (
<section className={styles.section}> <section className={styles.section}>
<div className={styles.maxWidth}> <div className={styles.maxWidth}>

View File

@@ -13,9 +13,15 @@
@media screen and (min-width: 767px) { @media screen and (min-width: 767px) {
.section { .section {
padding: var(--Spacing-x9) 0; padding: var(--Spacing-x9) var(--Spacing-x6);
} }
.maxWidth { .maxWidth {
flex-direction: row; 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 { fragment MainLinks on Footer {
main_links { main_links {
title
open_in_new_tab open_in_new_tab
link { link {
href href

View File

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

View File

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