Jia-py commited on
Commit
abcf967
·
verified ·
1 Parent(s): 3fe5aac

Upload 2 files

Browse files
Files changed (2) hide show
  1. index.html +23 -0
  2. style.css +26 -0
index.html ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>GeoArena by AML Lab CityU HK</title>
8
+ <script>
9
+ document.addEventListener("DOMContentLoaded", function() {
10
+ var gradioURL = "https://449cd15311341896e5.gradio.live/?__theme=light"; // Your variable URL
11
+ var iframe = document.getElementById("gradioIframe");
12
+ var link = document.getElementById("gradioLink");
13
+ if (iframe) iframe.src = gradioURL;
14
+ if (link) link.href = gradioURL;
15
+ });
16
+ </script>
17
+ </head>
18
+ <body>
19
+ <iframe id="gradioIframe" width="100%" height="100%" style="border:none;">
20
+ Your browser does not support iframes. Please click this <a id="gradioLink">url</a>.
21
+ </iframe>
22
+ </body>
23
+ </html>
style.css ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body {
2
+ padding: 0rem;
3
+ font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
+ }
5
+
6
+ h1 {
7
+ font-size: 16px;
8
+ margin-top: 0;
9
+ }
10
+
11
+ p {
12
+ color: rgb(107, 114, 128);
13
+ font-size: 15px;
14
+ margin-bottom: 10px;
15
+ margin-top: 5px;
16
+ }
17
+
18
+ .card {
19
+ max-width: 620px;
20
+ border: 0px solid lightgray;
21
+ border-radius: 16px;
22
+ }
23
+
24
+ .card p:last-child {
25
+ margin-bottom: 0;
26
+ }