feat: sync design of header with current web
This commit is contained in:
@@ -7,7 +7,7 @@ export type CurrentHeaderLink = {
|
||||
title: string
|
||||
}
|
||||
|
||||
export type TopMenuCurrentHeaderLink = {
|
||||
export type TopMenuHeaderLink = {
|
||||
link: {
|
||||
href: string
|
||||
title: string
|
||||
@@ -21,7 +21,7 @@ export type CurrentHeaderLinks = {
|
||||
}
|
||||
|
||||
export type TopMenuCurrentHeaderLinks = {
|
||||
links: TopMenuCurrentHeaderLink[]
|
||||
links: TopMenuHeaderLink[]
|
||||
}
|
||||
|
||||
export type CurrentHeader = {
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
import type { Image } from "../image"
|
||||
import type { EdgesWithTotalCount } from "./utils/edges"
|
||||
|
||||
export type HeaderLink = {
|
||||
href: string
|
||||
title: string
|
||||
}
|
||||
|
||||
export type TopMenuHeaderLink = {
|
||||
link: {
|
||||
href: string
|
||||
title: string
|
||||
}
|
||||
show_on_mobile: boolean
|
||||
sort_order_mobile: number
|
||||
}
|
||||
|
||||
export type HeaderLinks = {
|
||||
links: HeaderLink[]
|
||||
}
|
||||
|
||||
export type TopMenuHeaderLinks = {
|
||||
links: TopMenuHeaderLink[]
|
||||
}
|
||||
|
||||
export type HeaderQueryData = {
|
||||
all_header: {
|
||||
items: {
|
||||
frontpage_link_text: string
|
||||
logoConnection: EdgesWithTotalCount<Image>
|
||||
menu: HeaderLinks
|
||||
top_menu: TopMenuHeaderLinks
|
||||
}[]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user