logo-generator/web/index.html

79 lines
2.5 KiB
HTML

<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>MakerLab Murnau Logo generator</title>
<link rel="stylesheet" href="pico.min.css">
<style>
@media (prefers-color-scheme: light) {
.dark-only {
display: none;
}
}
@media (prefers-color-scheme: dark) {
.light-only {
display: none;
}
}
</style>
</head>
<body>
<main class="container">
<nav>
<ul>
<li>
<img src="logo?dark_mode=false&text=false" style="height: 50px" class="light-only" />
<img src="logo?dark_mode=true&text=false" style="height: 50px" class="dark-only" />
<strong>MakerLab Murnau Logo generator</strong>
</li>
</ul>
<ul>
<li><a href="https://makerlab-murnau.de">MakerLab Website</a></li>
<li><a href="https://git.makerlab-murnau.de/MakerLab/logo-generator">Source code</a></li>
</ul>
</nav>
<p>You can use this website to generate diffrent variation of the logo of the MakerLab Murnau e.V.</p>
<details>
<summary>Full-size Logo</summary>
<form action="logo" method="get">
<fieldset>
<div class="grid">
<label for="logo_background_color">
Background color
</label>
<input type="color" id="logo_background_color" name="background_color" value="">
</div>
<label for="logo_text">
<input type="checkbox" id="logo_text" name="text" role="switch">
Add text
</label>
<label for="logo_dark_mode">
<input type="checkbox" id="logo_dark_mode" name="dark_mode" role="switch">
Dark mode
</label>
</fieldset>
<div class="grid">
<button type="submit">Generate</button>
<button type="reset">Reset</button>
</div>
</form>
</details>
<details>
<summary>Favicon</summary>
<form action="favicon.ico" method="get">
<button type="submit">Generate</button>
</form>
</details>
</main>
</body>