-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 46edcd1
Showing
15 changed files
with
1,275 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sh.procyk.in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Manifest-Version: 1.0 | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* @copyright (c) 2016, Philipp Thürwächter & Pattrick Hüper | ||
* @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos | ||
* @license BSD-3-Clause (see LICENSE in the root directory of this source tree) | ||
*/ | ||
|
||
/* | ||
* @copyright (c) 2016, Philipp Thürwächter & Pattrick Hüper | ||
* @license BSD-3-Clause (see LICENSE in the root directory of this source tree) | ||
*/ | ||
|
||
/* | ||
* @copyright (c) 2016, Philipp Thürwächter, Pattrick Hüper | ||
* @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos | ||
* @license BSD-3-Clause (see LICENSE in the root directory of this source tree) | ||
*/ | ||
|
||
/** | ||
* @copyright (c) 2016, Philipp Thürwächter & Pattrick Hüper | ||
* @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos | ||
* @license BSD-3-Clause (see LICENSE in the root directory of this source tree) | ||
*/ | ||
|
||
/** | ||
* @copyright (c) 2016, Philipp Thürwächter & Pattrick Hüper | ||
* @license BSD-3-Clause (see LICENSE in the root directory of this source tree) | ||
*/ | ||
|
||
//! @copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos | ||
|
||
//! @copyright (c) 2015-present, Philipp Thürwächter, Pattrick Hüper & js-joda contributors | ||
|
||
//! @license BSD-3-Clause (see LICENSE in the root directory of this source tree) | ||
|
||
//! @version @js-joda/core - 3.2.0 |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file added
BIN
+343 KB
composeResources/shin.composeapp.generated.resources/font/Mansalva-Regular.ttf
Binary file not shown.
Binary file added
BIN
+174 KB
composeResources/shin.composeapp.generated.resources/font/PoetsenOne-Regular.ttf
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<script type="text/javascript"> | ||
if (window.location.hash.length > 0) { | ||
window.location.replace(`https://api-shorten-kotlin.koyeb.app/${window.location.hash.substring(1)}`); | ||
} | ||
</script> | ||
<head> | ||
<style> | ||
html, body { | ||
width: 100%; | ||
height: 100%; | ||
margin: 0; | ||
padding: 0; | ||
overflow: hidden; | ||
} | ||
|
||
#loader-box { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
z-index: 0; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
#ComposeTarget { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
z-index: 50; | ||
} | ||
|
||
#warning { | ||
position: absolute; | ||
top: 100px; | ||
left: 100px; | ||
max-width: 830px; | ||
z-index: 100; | ||
background-color: white; | ||
font-size: initial; | ||
display: none; | ||
} | ||
|
||
#warning li { | ||
padding-bottom: 15px; | ||
} | ||
|
||
#warning span.code { | ||
font-family: monospace; | ||
} | ||
|
||
.loader { | ||
width: 48px; | ||
height: 48px; | ||
border-radius: 50%; | ||
display: inline-block; | ||
border-top: 3px solid #6750a4; | ||
border-right: 3px solid transparent; | ||
box-sizing: border-box; | ||
animation: rotation 1s linear infinite; | ||
} | ||
|
||
@keyframes rotation { | ||
0% { | ||
transform: rotate(0deg); | ||
} | ||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} | ||
</style> | ||
<meta charset="UTF-8"> | ||
<title>Shorten Your URL with Kotlin</title> | ||
</head> | ||
<body> | ||
<canvas id="ComposeTarget"></canvas> | ||
<div id="loader-box"> | ||
<span class="loader"></span> | ||
</div> | ||
<div id="warning"> | ||
⚠️ Please make sure that your runtime environment supports the latest version of Wasm GC and Exception-Handling | ||
proposals. | ||
For more information, see <a href="https://kotl.in/wasm-help">https://kotl.in/wasm-help</a>. | ||
<br/> | ||
<br/> | ||
<ul> | ||
<li>For <b>Chrome</b> and <b>Chromium-based</b> browsers (Edge, Brave etc.), it <b>should just work</b> since | ||
version 119. | ||
</li> | ||
<li>For <b>Firefox</b> 120 it <b>should just work</b>.</li> | ||
<li>For <b>Firefox</b> 119: | ||
<ol> | ||
<li>Open <span class="code">about:config</span> in the browser.</li> | ||
<li>Enable <strong>javascript.options.wasm_gc</strong>.</li> | ||
<li>Refresh this page.</li> | ||
</ol> | ||
</li> | ||
</ul> | ||
</div> | ||
</body> | ||
<script type="application/javascript"> | ||
const unhandledError = (event, error) => { | ||
if (error instanceof WebAssembly.CompileError) { | ||
document.getElementById("warning").style.display = "initial"; | ||
|
||
const webpackOverlay = document.getElementById("webpack-dev-server-client-overlay"); | ||
if (webpackOverlay != null) webpackOverlay.style.display = "none"; | ||
} | ||
} | ||
addEventListener("error", (event) => unhandledError(event, event.error)); | ||
addEventListener("unhandledrejection", (event) => unhandledError(event, event.reason)); | ||
</script> | ||
|
||
<script type="application/javascript" src="skiko.js"></script> | ||
<script type="application/javascript" src="composeApp.js"></script> | ||
<script> | ||
window.onload = function () { | ||
const canvasElm = document.getElementById("ComposeTarget"); | ||
canvasElm.setAttribute("tabindex", "0"); | ||
canvasElm.focus(); | ||
} | ||
</script> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.