Compare commits
2 commits
9452190d0c
...
89e33528f4
| Author | SHA1 | Date | |
|---|---|---|---|
| 89e33528f4 | |||
| 3c14849f3d |
7 changed files with 67 additions and 2 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name lvl0.xyz;
|
server_name lvl0.xyz;
|
||||||
|
|
||||||
location / {
|
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
|
location / {
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
BIN
logo/7segment.woff
Normal file
BIN
logo/7segment.woff
Normal file
Binary file not shown.
44
logo/index.html
Normal file
44
logo/index.html
Normal file
|
|
@ -0,0 +1,44 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>LVL0 Logo</title>
|
||||||
|
<style>
|
||||||
|
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@900&display=swap');
|
||||||
|
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background: #0d0d0d;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
min-height: 100vh;
|
||||||
|
font-family: 'Orbitron', monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo {
|
||||||
|
color: oklch(0.62 0.18 30);
|
||||||
|
font-size: 8rem;
|
||||||
|
font-weight: 900;
|
||||||
|
line-height: 1;
|
||||||
|
letter-spacing: 0.05em;
|
||||||
|
text-shadow:
|
||||||
|
0 0 10px oklch(0.62 0.18 30 / 0.9),
|
||||||
|
0 0 25px oklch(0.62 0.18 30 / 0.6),
|
||||||
|
0 0 50px oklch(0.62 0.18 30 / 0.35),
|
||||||
|
0 0 90px oklch(0.62 0.18 30 / 0.15);
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="logo">LVL0</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
BIN
logo/logo-full.png
Normal file
BIN
logo/logo-full.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
BIN
logo/logo-rect.png
Normal file
BIN
logo/logo-rect.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
BIN
logo/logo-square.png
Normal file
BIN
logo/logo-square.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 45 KiB |
21
logo/screenshot.mjs
Normal file
21
logo/screenshot.mjs
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
import { chromium } from 'playwright';
|
||||||
|
import { fileURLToPath } from 'url';
|
||||||
|
import path from 'path';
|
||||||
|
|
||||||
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||||
|
const htmlPath = path.join(__dirname, 'index.html');
|
||||||
|
|
||||||
|
const browser = await chromium.launch({
|
||||||
|
executablePath: '/etc/profiles/per-user/myrmidex/bin/chromium',
|
||||||
|
args: ['--no-sandbox'],
|
||||||
|
});
|
||||||
|
|
||||||
|
const page = await browser.newPage();
|
||||||
|
await page.setViewportSize({ width: 1200, height: 400 });
|
||||||
|
await page.goto(`file://${htmlPath}`);
|
||||||
|
await page.waitForTimeout(1000); // let font load
|
||||||
|
|
||||||
|
await page.screenshot({ path: path.join(__dirname, 'logo-full.png') });
|
||||||
|
console.log('Saved logo-full.png');
|
||||||
|
|
||||||
|
await browser.close();
|
||||||
Loading…
Reference in a new issue