mirror of
https://github.com/smyalygames/flightsim-on-linux.git
synced 2025-07-13 13:31:00 +02:00
feat: add logo to navbar
This commit is contained in:
parent
63b7b57ed0
commit
c2c8b6a2fb
@ -1,13 +1,26 @@
|
|||||||
import { useRouter } from 'next/router';
|
import { useRouter } from 'next/router';
|
||||||
import { useConfig } from 'nextra-theme-docs';
|
import { useConfig } from 'nextra-theme-docs';
|
||||||
|
import Image from 'next/image';
|
||||||
|
|
||||||
|
// eslint-disable-next-line import/no-anonymous-default-export
|
||||||
export default {
|
export default {
|
||||||
project: {
|
project: {
|
||||||
link: 'https://github.com/smyalygames/flightsim-on-linux',
|
link: 'https://github.com/smyalygames/flightsim-on-linux',
|
||||||
},
|
},
|
||||||
docsRepositoryBase:
|
docsRepositoryBase:
|
||||||
'https://github.com/smyalygames/flightsim-on-linux/blob/main',
|
'https://github.com/smyalygames/flightsim-on-linux/blob/main',
|
||||||
logo: <span>Flight Sim on Linux</span>,
|
logo: (
|
||||||
|
<>
|
||||||
|
<Image
|
||||||
|
src={'/logo_t.png'}
|
||||||
|
alt={'Logo with Tux throwing a paper airplane'}
|
||||||
|
width={80}
|
||||||
|
height={71}
|
||||||
|
style={{ paddingRight: '0.75em' }}
|
||||||
|
/>
|
||||||
|
<span>Flight Sim on Linux</span>
|
||||||
|
</>
|
||||||
|
),
|
||||||
useNextSeoProps() {
|
useNextSeoProps() {
|
||||||
return {
|
return {
|
||||||
titleTemplate: '%s - Flight Sim on Linux',
|
titleTemplate: '%s - Flight Sim on Linux',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user