diff --git a/website/next.config.js b/website/next.config.js index 88e5e9cbbf37..aca94d28bba3 100644 --- a/website/next.config.js +++ b/website/next.config.js @@ -75,6 +75,13 @@ const withNextra = nextra({ type: 'children', title: t('global.navigation.indexing'), }, + '---gateways': { + type: 'separator', + }, + gateways: { + type: 'children', + title: 'Gateway Software', + }, '---5': { type: 'separator', }, diff --git a/website/public/img/gateway/gateway-architecture.png b/website/public/img/gateway/gateway-architecture.png new file mode 100644 index 000000000000..b5450e60ad34 Binary files /dev/null and b/website/public/img/gateway/gateway-architecture.png differ diff --git a/website/public/img/gateway/gateway-architecture.svg b/website/public/img/gateway/gateway-architecture.svg new file mode 100644 index 000000000000..ba6b705fc2b5 --- /dev/null +++ b/website/public/img/gateway/gateway-architecture.svg @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website/public/img/gateway/gateway-kafka-topics.png b/website/public/img/gateway/gateway-kafka-topics.png new file mode 100644 index 000000000000..89a167fbf81b Binary files /dev/null and b/website/public/img/gateway/gateway-kafka-topics.png differ diff --git a/website/public/img/gateway/gateway-kafka-topics.svg b/website/public/img/gateway/gateway-kafka-topics.svg new file mode 100644 index 000000000000..8bcd75bd0ffe --- /dev/null +++ b/website/public/img/gateway/gateway-kafka-topics.svg @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website/public/img/gateway/subgraph-gateway-black.svg b/website/public/img/gateway/subgraph-gateway-black.svg new file mode 100644 index 000000000000..ea0bf6451231 --- /dev/null +++ b/website/public/img/gateway/subgraph-gateway-black.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/website/public/img/gateway/subgraph-gateway-icon.png b/website/public/img/gateway/subgraph-gateway-icon.png new file mode 100644 index 000000000000..c38bedd66f5f Binary files /dev/null and b/website/public/img/gateway/subgraph-gateway-icon.png differ diff --git a/website/public/img/gateway/subgraph-gateway-white.svg b/website/public/img/gateway/subgraph-gateway-white.svg new file mode 100644 index 000000000000..3e17b4149459 --- /dev/null +++ b/website/public/img/gateway/subgraph-gateway-white.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/website/src/layout/Layout.tsx b/website/src/layout/Layout.tsx index c09212f50c9e..c6a2bc029609 100644 --- a/website/src/layout/Layout.tsx +++ b/website/src/layout/Layout.tsx @@ -198,6 +198,30 @@ export default function Layout({ pageOpts, children }: NextraThemeLayoutProps } + if (routeWithoutLocale === '/gateways' || routeWithoutLocale.startsWith('/gateways/')) { + const maskUrl = `url(${process.env.BASE_PATH ?? ''}/img/gateway/subgraph-gateway-icon.png)` + return ( +