feat(WEB-111): adjust footer for updated model

This commit is contained in:
Simon Emanuelsson
2024-02-20 13:03:24 +01:00
parent cbb53df67c
commit 99c2a136ba
5 changed files with 26 additions and 100 deletions

View File

@@ -1,33 +1,19 @@
import type { AllRequestResponse } from "./utils/all"
import type { Edges } from "./utils/edges"
import type { Image } from "../image"
import type { PageLink } from "./utils/pageLink"
type AppDownload = {
href: string
imageConnection: Edges<Image>
}
export type InternalLink = {
__typename: "FooterNavigationLinksInternalLink"
internal_link: {
link_text: string
pageConnection: Edges<PageLink>
}
}
export type ExternalLink = {
__typename: "FooterNavigationLinksExternalLink"
external_link: {
link: {
href: string
title: string
}
}
export type Link = {
href: string
title: string
}
export type NavigationItem = {
links: (ExternalLink | InternalLink)[]
links: Link[]
title: string
}