Skip to content

Commit

Permalink
add index pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Tburm committed Nov 22, 2024
1 parent a936e08 commit ac9c2c8
Show file tree
Hide file tree
Showing 5 changed files with 120 additions and 108 deletions.
20 changes: 0 additions & 20 deletions 404.html

This file was deleted.

88 changes: 0 additions & 88 deletions index.html

This file was deleted.

40 changes: 40 additions & 0 deletions page/all/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Synthetix Stats (All)</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html,
body {
height: 100%;
overflow: hidden;
}

iframe {
width: 100%;
height: 100%;
border: none;
}
</style>
</head>

<body>
<iframe id="stats"></iframe>
<script>
const url = new URL(window.location.href);
const params = new URLSearchParams(url.search);
params.set('embedded', 'true');
const page = params.get('page') || '';
document.getElementById('stats').src = `https://synthetix-all.streamlit.app/${page}?${params.toString()}${url.hash}`;
</script>
</body>

</html>
40 changes: 40 additions & 0 deletions page/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Synthetix Stats</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html,
body {
height: 100%;
overflow: hidden;
}

iframe {
width: 100%;
height: 100%;
border: none;
}
</style>
</head>

<body>
<iframe id="stats"></iframe>
<script>
const url = new URL(window.location.href);
const params = new URLSearchParams(url.search);
params.set('embedded', 'true');
const page = params.get('page') || '';
document.getElementById('stats').src = `https://synthetix.streamlit.app/${page}?${params.toString()}${url.hash}`;
</script>
</body>

</html>
40 changes: 40 additions & 0 deletions page/info/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Synthetix Stats (All)</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html,
body {
height: 100%;
overflow: hidden;
}

iframe {
width: 100%;
height: 100%;
border: none;
}
</style>
</head>

<body>
<iframe id="stats"></iframe>
<script>
const url = new URL(window.location.href);
const params = new URLSearchParams(url.search);
params.set('embedded', 'true');
const page = params.get('page') || '';
document.getElementById('stats').src = `https://synthetix-info.streamlit.app/${page}?${params.toString()}${url.hash}`;
</script>
</body>

</html>

0 comments on commit ac9c2c8

Please sign in to comment.