krying
Version:
krying — games hub, AI, movies, and tools
175 lines (147 loc) • 2.77 kB
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LuminSDK</title>
<link rel="icon" href="/apps/lumin/luminsdk.ico">
<style>
:root {
--bg: #0a0a0a;
--card: #111111;
--border: #1f1f1f;
--accent: #f5a623;
--accent-soft: #ffcc66;
--text: #ffffff;
--muted: #9ca3af;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Inter, system-ui, sans-serif;
}
body {
background: var(--bg);
color: var(--text);
line-height: 1.6;
}
nav {
width: 100%;
display: flex;
justify-content: center;
padding: 20px;
}
.nav-inner {
width: 900px;
display: flex;
justify-content: space-between;
align-items: center;
border: 1px solid var(--border);
padding: 10px 18px;
border-radius: 999px;
background: rgba(255,255,255,0.02);
}
.nav-inner span {
font-weight: 600;
}
.nav-links {
display: flex;
gap: 20px;
font-size: 14px;
color: var(--muted);
}
.nav-btn {
background: transparent;
border: 1px solid var(--accent);
color: var(--accent);
padding: 6px 14px;
border-radius: 999px;
cursor: pointer;
}
.section {
max-width: 900px;
margin: 100px auto;
display: flex;
justify-content: space-between;
gap: 40px;
align-items: center;
}
.section h3 {
margin-bottom: 10px;
}
.section p {
color: var(--muted);
font-size: 14px;
}
.code {
background: var(--card);
border: 1px solid var(--border);
padding: 20px;
border-radius: 10px;
font-family: monospace;
font-size: 13px;
color: #d1d5db;
width: 579px;
}
footer {
text-align: center;
color: #555;
font-size: 12px;
margin: 60px 0;
}
</style>
</head>
<body>
<nav>
<div class="nav-inner">
<span>LuminSDK</span>
<div class="nav-links">
<span>1000+ Games</span>
</div>
</div>
</nav>
<script>
function openLink() {
window.open("https://docs.luminsdk.com/", "_blank");
}
</script>
<div style="text-align: center;" id="games">Fetching Games</div>
<script src="https://cdn.jsdelivr.net/gh/luminsdk/script@latest/lumin.min.js"></script>
<script>
Lumin.init({
container: '#games',
theme: 'dark',
columns: 12,
rows: 8,
gamesPerPage: 96,
});
</script>
<div class="section">
<div>
<h3>Code:</h3>
<p>Add the CDN script to your page, call Lumin.init(), and you're done.</p>
</div>
<div class="code">
<div id="games"></div>
<p> </p>
<script src="https://cdn.jsdelivr.net/gh/luminsdk/script@latest/lumin.min.js"></script>
<p> </p>
<script>
<br>
Lumin.init({
<br>
container: "#games",
<br>
theme: "dark"
<br>
});
<br>
</script>
</div>
</div>
<footer>
Lumin SDK - The SDK With 1k Games
</footer>
</body>
</html>