From 903e45a5d1746da6fd2b179cb364fd122ae4fc33 Mon Sep 17 00:00:00 2001 From: yanzexuan Date: Thu, 17 Nov 2022 16:25:34 +0800 Subject: [PATCH 1/2] Added online examples link --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c6ba863..48fcb54 100644 --- a/README.md +++ b/README.md @@ -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 From 3291d5096ebf3287c41bb5bc65fd01370f6f6a7a Mon Sep 17 00:00:00 2001 From: yanzexuan Date: Thu, 17 Nov 2022 16:52:03 +0800 Subject: [PATCH 2/2] Added github repo link to the example page --- src/pages/demo/index.css | 10 +++++++++- src/pages/demo/index.tsx | 3 +++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/pages/demo/index.css b/src/pages/demo/index.css index 8d34e59..421a0db 100644 --- a/src/pages/demo/index.css +++ b/src/pages/demo/index.css @@ -15,4 +15,12 @@ position: relative; height: 100%; overflow: hidden; -} \ No newline at end of file +} + +.demo .github { + position: absolute; + bottom: 20px; + left: 10px; + cursor: pointer; + text-decoration: underline; +} diff --git a/src/pages/demo/index.tsx b/src/pages/demo/index.tsx index f25c859..abefa0e 100644 --- a/src/pages/demo/index.tsx +++ b/src/pages/demo/index.tsx @@ -21,6 +21,9 @@ function Demo() {
+
+ Github repo +
) }