diff --git a/logo/7segment.woff b/logo/7segment.woff new file mode 100644 index 0000000..09ab315 Binary files /dev/null and b/logo/7segment.woff differ diff --git a/logo/index.html b/logo/index.html new file mode 100644 index 0000000..3c6677b --- /dev/null +++ b/logo/index.html @@ -0,0 +1,44 @@ + + + + + + LVL0 Logo + + + + + + diff --git a/logo/logo-full.png b/logo/logo-full.png new file mode 100644 index 0000000..8571d26 Binary files /dev/null and b/logo/logo-full.png differ diff --git a/logo/logo-rect.png b/logo/logo-rect.png new file mode 100644 index 0000000..6f8dd14 Binary files /dev/null and b/logo/logo-rect.png differ diff --git a/logo/logo-square.png b/logo/logo-square.png new file mode 100644 index 0000000..d4163c0 Binary files /dev/null and b/logo/logo-square.png differ diff --git a/logo/screenshot.mjs b/logo/screenshot.mjs new file mode 100644 index 0000000..7a6201f --- /dev/null +++ b/logo/screenshot.mjs @@ -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();