Skip to content

Commit

Permalink
[dactylo] Added persistant progression system
Browse files Browse the repository at this point in the history
* french_10k by default

* opacity

* quack

* localStorage

* no error on first char

* typo / Azerty

* licenses

* last-minute fixes
  • Loading branch information
fabi1cazenave authored Feb 16, 2024
1 parent 626178d commit 8ed8ce4
Show file tree
Hide file tree
Showing 6 changed files with 808 additions and 42 deletions.
4 changes: 4 additions & 0 deletions css/demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ dialog::backdrop {
margin-bottom: 1em;
}

h1 .quacks {
float: right;
}

.keyboard #lesson {
text-align: left;
font-family: monospace;
Expand Down
25 changes: 12 additions & 13 deletions dactylo.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
</head>
<body>
<header>
<h1 class="key_list">·</h1>
<p class="status"> 🦆 </p>
<h1><span class="key_list"></span><span class="quacks">🦆</span></h1>
<p class="status">·</p>
</header>

<div class="keyboard">
Expand All @@ -24,15 +24,15 @@ <h1 class="key_list">·</h1>
<p style="text-align: right;">
<span style="float: left;">
<select id="layout">
<option selected>ergol</option>
<!-- <option>erglace</option> -->
<option>bepo</option>
<option>azerty</option>
<option>lafayette</option>
<option value="ergol" selected>Ergo‑L</option>
<!-- TODO: Erglace -->
<option value="bepo">Bépo</option>
<option value="azerty">Azerty</option>
<option value="lafayette">Lafayette</option>
</select>
<select id="dict">
<option value="fr,french_1k" selected>Français 1k</option>
<option value="fr,french_10k">Français 10k</option>
<option value="fr,french_1k">Français 1k</option>
<option value="fr,french_10k" selected>Français 10k</option>
<option value="en,english_1k">English 1k</option>
<option value="en,english_10k">English 10k</option>
</select>
Expand All @@ -50,11 +50,10 @@ <h1 class="key_list">·</h1>
<footer>
<span style="float: left;"> <small>powered by <a
href="https://onedeadkey.github.io/x-keyboard/">x-keyboard</a>,
inspired by <a href="">keyzen</a>
and <a href="https://github.com/aradzie/keybr.com">keybr</a>
inspired by <a href="https://github.com/wwwtyro/keyzen">keyzen</a>
and <a href="https://github.com/aradzie/keybr.com">keybr</a>, fuelled by
<a href="https://github.com/monkeytypegame/monkeytype">MonkeyType</a>
</small> </span>
<a href="https://github.com/Nuclear-Squid/ErgoL">GitHub</a> |
<a href="https://discord.gg/5xR5K3nAFX">Discord</a> |
<a href=".">Ergo‑L »</a>
</footer>
</body>
Expand Down
Loading

0 comments on commit 8ed8ce4

Please sign in to comment.