Add more logos, better UI

This commit is contained in:
Jesse Wierzbinski 2023-11-25 15:57:42 -10:00
parent f1416dd7e6
commit 39f95bad3e
No known key found for this signature in database
4 changed files with 21 additions and 6 deletions

View file

@ -9,7 +9,7 @@ export default defineConfig({
// https://vitepress.dev/reference/default-theme-config // https://vitepress.dev/reference/default-theme-config
nav: [ nav: [
{ text: 'Home', link: '/' }, { text: 'Home', link: '/' },
{ text: 'Specification', link: '/spec' } { text: 'Specification', link: '/spec' },
], ],
sidebar: [ sidebar: [
@ -49,6 +49,20 @@ export default defineConfig({
socialLinks: [ socialLinks: [
{ icon: 'github', link: 'https://github.com/lysand-org/' } { icon: 'github', link: 'https://github.com/lysand-org/' }
] ],
} search: {
provider: "local",
},
editLink: {
pattern: "https://github.com/lysand-org/docs/edit/main/docs/:path"
},
logo: "/logo.png",
},
lastUpdated: true,
cleanUrls: true,
titleTemplate: ":title · Lysand Documentation",
head: [
['link', { rel: 'icon', href: '/favicon.png', type: 'image/png' }]
],
lang: 'en-US',
}) })

View file

@ -5,7 +5,10 @@ layout: home
hero: hero:
name: "Lysand" name: "Lysand"
text: "Federation, simpler" text: "Federation, simpler"
tagline: A simple to implement and complete federation protocol tagline: A simple to implement and complete federation protocol (WIP new site)
image:
src: /logo.png
alt: Lysand Logo
actions: actions:
- theme: brand - theme: brand
text: Protocol Docs text: Protocol Docs
@ -22,5 +25,3 @@ features:
- title: Easy to implement - title: Easy to implement
details: The protocol is simple to implement, and can be used with any language details: The protocol is simple to implement, and can be used with any language
--- ---

BIN
docs/public/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
docs/public/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB