Added github repo link to the example page

This commit is contained in:
yanzexuan
2022-11-17 16:52:03 +08:00
parent 903e45a5d1
commit 3291d5096e
2 changed files with 12 additions and 1 deletions

View File

@ -15,4 +15,12 @@
position: relative;
height: 100%;
overflow: hidden;
}
}
.demo .github {
position: absolute;
bottom: 20px;
left: 10px;
cursor: pointer;
text-decoration: underline;
}

View File

@ -21,6 +21,9 @@ function Demo() {
<div className="content">
<CodeEditor></CodeEditor>
</div>
<div className="github">
<a href="https://github.com/pattern-x/gemini-viewer-examples">Github repo</a>
</div>
</div>
)
}