Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5dbb5d9

Browse files
committed
Add popover
1 parent 6155814 commit 5dbb5d9

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
export DENO_INSTALL="/home/runner/.deno"
1818
export PATH="$DENO_INSTALL/bin:$PATH"
1919
deno --version
20-
deno install --unstable --allow-read --allow-write --allow-net -n pagic https://deno.land/x/[email protected].16/mod.ts
20+
deno install --unstable --allow-read --allow-write --allow-net -n pagic https://deno.land/x/[email protected].17/mod.ts
2121
pagic build
2222
2323
- name: Deploy

assets/alipay.jpg

51.6 KB
Loading

assets/wechat.jpg

58.6 KB
Loading

pagic.config.tsx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,19 @@ export default {
1111
nav: [
1212
{
1313
text: '赞助作者',
14-
link: 'https://github.com/xcatliu/buy-me-a-coffee'
14+
link: 'https://github.com/xcatliu/buy-me-a-coffee',
15+
target: '_blank',
16+
popover: (
17+
<>
18+
<img src="/assets/wechat.jpg" width="256" style={{ marginRight: '1rem', verticalAlign: 'top' }} />
19+
<img src="/assets/alipay.jpg" width="256" style={{ verticalAlign: 'top' }} />
20+
</>
21+
)
1522
},
1623
{
1724
text: 'GitHub',
1825
link: 'https://github.com/xcatliu/typescript-tutorial',
26+
target: '_blank',
1927
align: 'right'
2028
}
2129
],
@@ -84,7 +92,8 @@ export default {
8492
clientSecret: '33e355efdf3a1959624506a5d88311145208471b',
8593
repo: 'typescript-tutorial',
8694
owner: 'xcatliu',
87-
admin: ['xcatliu']
95+
admin: ['xcatliu'],
96+
pagerDirection: 'first'
8897
},
8998
ga: {
9099
id: 'UA-45256157-14'

0 commit comments

Comments
 (0)