Merge pull request #12 from pattern-x/feature/add-example-link
Added online examples link
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
# gemini-viewer-examples
|
||||
Examples and demos for gemini-viewer sdk
|
||||
Examples and demos for gemini-viewer sdk.
|
||||
|
||||
[Online examples](https://pattern-x.github.io/gemini-viewer-examples/)
|
||||
|
||||
# Set up the example project
|
||||
npm install
|
||||
|
@ -16,3 +16,11 @@
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.demo .github {
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
left: 10px;
|
||||
cursor: pointer;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user