Skip to content

Commit

Permalink
Merge pull request #22 from ourai/main
Browse files Browse the repository at this point in the history
Add announcement banner for new version docs
jueduizone authored Oct 30, 2024
2 parents 0e4e949 + fc2500c commit ca33628
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -13,6 +13,23 @@ export default defineConfig({
},
head: [
['link', { rel: 'icon', href: 'https://fuellabs.github.io/fuels-ts/favicon.ico', type: 'image/png' }],
['style', {}, `#app > div > header::before {
content: "Fuel 已上线主网,最新的中文文档还在翻译中,敬请期待!";
display: block;
padding: 0 16px;
font-size: 14px;
font-weight: bold;
line-height: 36px;
text-align: center;
background-color: #00ea82;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
#app > div > header + div {
padding-top: calc(var(--vp-nav-height) + 36px);
}
`],
],
themeConfig: {
logo: 'https://avatars.githubusercontent.com/u/168461719',

0 comments on commit ca33628

Please sign in to comment.