40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>Riju</title>
|
|
<link rel="stylesheet" href="/css/index.css" />
|
|
<% if (analyticsTag) { %>
|
|
<%- analyticsTag %>
|
|
<% } %>
|
|
</head>
|
|
<body>
|
|
<h1>Riju: <i>fast</i> online playground for every programming language</h1>
|
|
<% if (Object.keys(langs).length > 0) { %>
|
|
<i>Pick your favorite language to get started:</i>
|
|
<div class="grid">
|
|
<% for (const [id, {name}] of Object.entries(langs).sort(
|
|
([id1, {name: name1}], [id2, {name: name2}]) => name1.toLowerCase().localeCompare(name2.toLowerCase()))) { %>
|
|
<a href=<%= "/" + encodeURIComponent(id) %> class="language">
|
|
<div class="language">
|
|
<%= name %>
|
|
</div>
|
|
</a>
|
|
<% } %>
|
|
</div>
|
|
<p>
|
|
<i>
|
|
Created by
|
|
<a href="https://github.com/raxod502">Radon Rosborough</a>
|
|
and maintained by
|
|
<a href="https://radian.codes">Radian LLC</a>.
|
|
Check out the project
|
|
<a href="https://github.com/radian-software/riju">on GitHub</a>.
|
|
</i>
|
|
</p>
|
|
<% } else { %>
|
|
<i>Riju is loading language configuration...</i>
|
|
<% } %>
|
|
</body>
|
|
</html>
|