From aec575c3b5797069e4964cfafa26e3de3b92f99e Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 13 Dec 2021 22:04:03 +0100 Subject: chore: add main-nav component I choose to implement main-nav paths manually instead of fetching them from GraphQL to ensure functional navigation without JS. --- src/ts/types/nav.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/ts/types/nav.ts (limited to 'src/ts') diff --git a/src/ts/types/nav.ts b/src/ts/types/nav.ts new file mode 100644 index 0000000..7cfc46b --- /dev/null +++ b/src/ts/types/nav.ts @@ -0,0 +1,5 @@ +export type NavItem = { + id: string; + name: string; + slug: string; +}; -- cgit v1.2.3