feat(SW-187): removed unused title
This commit is contained in:
@@ -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}>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
fragment MainLinks on Footer {
|
||||
main_links {
|
||||
title
|
||||
open_in_new_tab
|
||||
link {
|
||||
href
|
||||
|
||||
@@ -2,7 +2,6 @@ fragment SecondaryLinks on Footer {
|
||||
secondary_links {
|
||||
title
|
||||
links {
|
||||
title
|
||||
open_in_new_tab
|
||||
pageConnection {
|
||||
edges {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user