Merge pull request #8 from smyalygames/feat/logo

feat: add logo
This commit is contained in:
Anthony Berg 2024-10-29 20:48:56 +01:00 committed by GitHub
commit a42f8c3348
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 20 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 KiB

BIN
public/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

BIN
public/logo_t.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

View File

@ -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: <span>Flight Sim on Linux</span>,
logo: (
<>
<Image
src={'/logo_t.png'}
alt={'Logo with Tux throwing a paper airplane'}
width={75}
height={54}
style={{ paddingRight: '0.75em' }}
/>
<span>Flight Sim on Linux</span>
</>
),
useNextSeoProps() {
return {
titleTemplate: '%s - Flight Sim on Linux',
@ -25,6 +38,11 @@ export default {
return (
<>
<link
rel={'icon'}
type={'image/png'}
href={'/favicon/favicon512.png'}
/>
<meta property="og:url" content={url} />
<meta
property="og:title"
@ -37,6 +55,7 @@ export default {
'Guides to running Flight Simulators on Linux'
}
/>
<meta property={'og:image'} content={'/logo_t.png'} />
</>
);
},