Skip to content

Commit 7338ef1

Browse files
committed
Configure nav, social links, edit-on-github, footer
1 parent b26461f commit 7338ef1

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

.vitepress/config.mts

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,51 @@ gtag('config', 'G-BCRR9QE7Z0');`],
3030
plugins: [redirectsPlugin(defaultPluginOptions(process.cwd()))],
3131
},
3232
themeConfig: {
33+
logo: '/android-chrome-192x192.png',
3334
search: { provider: 'local' },
35+
nav: [
36+
{ text: 'Adopters', link: '/adopters' },
37+
{ text: 'Community', link: '/community' },
38+
{ text: 'Conventions', link: '/conventions' },
39+
{ text: 'Datasets', link: '/datasets' },
40+
{ text: 'Implementations', link: '/implementations' },
41+
{ text: 'Office Hours', link: '/office-hours' },
42+
{ text: 'Slides', link: '/slides' },
43+
{
44+
text: 'External',
45+
items: [
46+
{ text: 'Blog', link: 'https://zarr.dev/blog/' },
47+
{ text: 'Specification', link: 'https://zarr-specs.readthedocs.io/' },
48+
{ text: 'ZEPs', link: 'https://zarr.dev/zeps/' },
49+
{ text: 'Documentation', link: 'https://zarr.readthedocs.io/en/stable/' },
50+
],
51+
},
52+
],
53+
socialLinks: [
54+
{
55+
icon: {
56+
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 530"><path d="M135.72 44.03C202.216 93.951 273.74 195.17 300 249.49c26.262-54.316 97.782-155.54 164.28-205.46C512.26 8.009 590-19.862 590 68.825c0 17.712-10.155 148.79-16.111 170.07-20.703 73.984-96.144 92.854-163.25 81.433 117.3 19.964 147.14 86.092 82.697 152.22-122.39 125.59-175.91-31.511-189.63-71.766-2.514-7.38-3.69-10.832-3.708-7.896-.017-2.936-1.193.516-3.707 7.896-13.714 40.255-67.233 197.36-189.63 71.766-64.444-66.128-34.605-132.26 82.697-152.22-67.108 11.421-142.55-7.45-163.25-81.433C20.15 217.612 9.997 86.535 9.997 68.825c0-88.687 77.742-60.816 125.72-24.795z" fill="currentColor"/></svg>',
57+
},
58+
link: 'https://bsky.app/profile/zarr.dev',
59+
ariaLabel: 'Bluesky',
60+
},
61+
{ icon: 'mastodon', link: 'https://fosstodon.org/@zarr' },
62+
{ icon: 'github', link: 'https://github.com/zarr-developers' },
63+
{
64+
icon: {
65+
svg: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12c0 1.81.49 3.51 1.34 4.97L2 22l5.16-1.35A9.95 9.95 0 0 0 12 22c5.52 0 10-4.48 10-10S17.52 2 12 2z" fill="currentColor"/></svg>',
66+
},
67+
link: 'https://ossci.zulipchat.com/',
68+
ariaLabel: 'Zulip',
69+
},
70+
],
71+
editLink: {
72+
pattern: 'https://github.com/zarr-developers/zarr-developers.github.io/edit/main/:path',
73+
text: 'Edit this page on GitHub',
74+
},
75+
footer: {
76+
message: 'Released under the MIT License.',
77+
copyright: 'Copyright © Zarr contributors',
78+
},
3479
},
3580
})

0 commit comments

Comments
 (0)