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 }) {
|
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}>
|
||||||
|
|||||||
@@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user