Skip to content

Commit 72352cd

Browse files
authored
Merge pull request #13 from ibelem/work-in-progress
Update WIP banner
2 parents 453b87f + 38d21fc commit 72352cd

4 files changed

Lines changed: 6 additions & 7 deletions

File tree

app/[lang]/layout.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ export default async function RootLayout({ children, params }) {
221221
<div className="snow">
222222
<span></span><span></span><span></span><span></span><span></span>
223223
</div>
224-
<a href="https://webnn.io">
224+
<a href="https://github.com/webmachinelearning/webnn-docs/issues">
225225
{dictionary.banner}
226226
</a>
227227
</div>

app/_dictionaries/en.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export default {
22
dark: 'Dark',
33
light: 'Light',
44
system: 'System',
5-
banner: '🎉 WebNN Developer Preview is released →',
5+
banner: '🚧 The WebNN documentation is work-in-progress. Share feedback →',
66
backToTop: 'Scroll to top',
77
lastUpdated: 'Last updated on',
88
logo: {

app/_dictionaries/zh.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export default {
22
dark: '深色',
33
light: '浅色',
44
system: '自动',
5-
banner: '🎉 WebNN 开发者预览发布 →',
5+
banner: '🚧 WebNN 文档正在编写中。分享反馈 →',
66
backToTop: '返回页顶',
77
lastUpdated: '最近更新',
88
logo: {

app/style.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -648,22 +648,21 @@ article.nextra-body-typesetting-article a:hover {
648648
}
649649

650650
.nextra-banner a {
651+
position: relative;
651652
background: none;
653+
z-index: 1000;
652654
color: var(--white);
653-
z-index: 10;
654655
display: grid;
655656
justify-items: center;
656657
align-items: center;
657658
}
658659

659660
.nextra-banner:hover {
660-
background-color: var(--light-09);
661661
color: var(--light);
662662
}
663663

664664
.nextra-banner:hover a {
665-
background: none;
666-
color: var(--light);
665+
color: var(--d);
667666
}
668667

669668
.dark .nextra-banner {

0 commit comments

Comments
 (0)