add nanoid

This commit is contained in:
hufeixiong
2021-07-13 11:21:55 +08:00
parent 09e69a9239
commit 04ff764a82
12 changed files with 175 additions and 26 deletions

View File

@@ -14,6 +14,7 @@
const home = base + '/';
const docs = base + '/docs';
const api = base + '/api';
const changelog = base +'/changelog'
</script>
<header>
@@ -32,6 +33,9 @@
<div class:active={$page.path === '/api'}>
<Button href={api} color={$page.path === '/api' ? '#4569d4' : '#4d5164'}>API</Button>
</div>
<div class:active={$page.path === '/changelog'}>
<Button href={changelog} color={$page.path === '/changelog' ? '#4569d4' : '#4d5164'}>更新</Button>
</div>
<div class:active={$page.path === '/about'}>
<Button>Github</Button>
</div>