livebook/iframe/priv/static/index.html
Jonatan Kłosko e5e13d86c2
Serve iframes from another local port when running on http (#989)
* Serve iframes from another local port when running on http

* Use relative hostname in local iframe URL

* Simplify server start check

* Use random iframe port when Livebook runs on a random port

* Rename space/ to iframe/

* LivebookWeb.IframePlug -> LivebookWeb.IframeEndpoint
2022-02-08 14:45:58 +01:00

62 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/images/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Livebook.space</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap"
rel="stylesheet"
/>
<style>
body {
margin: 0;
padding: 0;
font-family: "Inter";
}
.root {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-color: #0d1829;
}
.lead {
display: flex;
flex-direction: column;
align-items: center;
}
.disclaimer {
margin-top: 16px;
color: #f8fafc;
font-size: 1.25rem;
}
a {
font-weight: 500;
text-decoration-line: underline;
color: #f8fafc;
}
</style>
</head>
<body>
<div class="root">
<div class="lead">
<a href="https://livebook.dev">
<img src="/images/logo.png" height="128" width="128" alt="livebook" />
</a>
<div class="disclaimer">
This website serves iframes for Livebook apps. See
<a href="https://livebook.dev">livebook.dev</a>. See
<a href="https://github.com/livebook-dev/livebook.space">source</a>.
</div>
</div>
</div>
</body>
</html>