From c2c8b6a2fbe66535402bf9f2cee8386e5d7ef476 Mon Sep 17 00:00:00 2001 From: Anthony Berg Date: Tue, 29 Oct 2024 19:59:47 +0100 Subject: [PATCH] feat: add logo to navbar --- src/theme.config.tsx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/theme.config.tsx b/src/theme.config.tsx index f576250..f207ce1 100644 --- a/src/theme.config.tsx +++ b/src/theme.config.tsx @@ -1,13 +1,26 @@ import { useRouter } from 'next/router'; import { useConfig } from 'nextra-theme-docs'; +import Image from 'next/image'; +// eslint-disable-next-line import/no-anonymous-default-export export default { project: { link: 'https://github.com/smyalygames/flightsim-on-linux', }, docsRepositoryBase: 'https://github.com/smyalygames/flightsim-on-linux/blob/main', - logo: Flight Sim on Linux, + logo: ( + <> + {'Logo + Flight Sim on Linux + + ), useNextSeoProps() { return { titleTemplate: '%s - Flight Sim on Linux',