This commit is contained in:
echarp 2022-12-27 23:38:12 +01:00
parent bed27ec637
commit 4d81a33c50
6 changed files with 38 additions and 25 deletions

View File

@ -3,24 +3,24 @@
/pages/doc/vouloir.md:title: Vouloir /pages/doc/vouloir.md:title: Vouloir
/pages/doc/pouvoir.md:title: Pouvoir /pages/doc/pouvoir.md:title: Pouvoir
/pages/doc/intro.md:title: Introduction /pages/doc/intro.md:title: Introduction
/pages/1er-quiz/cff71434-fdaf-468f-838c-067059979299.md:title: Chapitre 3 - Les lettres de nulle part /pages/1er-quiz/cff71434-fdaf-468f-838c-067059979299.md:title: Chapitre 3
/pages/1er-quiz/b80fcc08-170e-4422-8498-ae1f97b47eda.md:title: Chapitre 5 - Le chemin de traverse /pages/1er-quiz/b80fcc08-170e-4422-8498-ae1f97b47eda.md:title: Chapitre 5
/pages/1er-quiz/7c038015-c989-4024-a3cf-14b8557fdb0c.md:title: Chapitre 6 - Rendez-vous sur la voie 9 3/4 /pages/1er-quiz/7c038015-c989-4024-a3cf-14b8557fdb0c.md:title: Chapitre 6
/pages/1er-quiz/e0391bfd-e794-49d8-a2f9-76802fed3b52.md:title: Chapitre 8 - Le maître des potions /pages/1er-quiz/e0391bfd-e794-49d8-a2f9-76802fed3b52.md:title: Chapitre 8
/pages/1er-quiz/91b5935e-6a59-447f-afeb-cb7cc2e5bf1c.md:title: Chapitre 9 - Duel à minuit /pages/1er-quiz/91b5935e-6a59-447f-afeb-cb7cc2e5bf1c.md:title: Chapitre 9
/pages/1er-quiz/e9745d63-1c31-42b4-a30a-dff7aae19059.md:title: Chapitre 10 - Halloween /pages/1er-quiz/e9745d63-1c31-42b4-a30a-dff7aae19059.md:title: Chapitre 10
/pages/1er-quiz/0ee87528-a6e2-4c12-9d37-3046a9855685.md:title: Chapitre 11 - Le match de Quidditch /pages/1er-quiz/0ee87528-a6e2-4c12-9d37-3046a9855685.md:title: Chapitre 11
/pages/1er-quiz/fff60373-d04a-4923-8b0d-2836668cdf62.md:title: Chapitre 12 - Le miroir du Riséd /pages/1er-quiz/fff60373-d04a-4923-8b0d-2836668cdf62.md:title: Chapitre 12
/pages/1er-quiz/2149a943-5525-42d2-970a-820107d8aaf7.md:title: Chapitre 14 - Norbert le dragon /pages/1er-quiz/2149a943-5525-42d2-970a-820107d8aaf7.md:title: Chapitre 14
/pages/1er-quiz/235ce274-b98f-4f39-b363-ed8951d85699.md:title: Chapitre 15 - La forêt interdite /pages/1er-quiz/235ce274-b98f-4f39-b363-ed8951d85699.md:title: Chapitre 15
/pages/1er-quiz/65c8096f-c940-4002-90af-52ac3c3c6cd4.md:title: Chapitre 13 - Nicolas Flamel /pages/1er-quiz/9c978c3a-801e-4c09-b4ce-8b2d6cb233b0.md:title: Chapitre 16
/pages/1er-quiz/9c978c3a-801e-4c09-b4ce-8b2d6cb233b0.md:title: Chapitre 16 - Sous la trappe /pages/1er-quiz/f8dfe972-1995-4f4e-9866-97306228768c.md:title: Chapitre 17
/pages/1er-quiz/f8dfe972-1995-4f4e-9866-97306228768c.md:title: Chapitre 17 - L'homme aux deux visages /pages/1er-quiz/283b1ec8-bfa7-48f3-8ce2-9d8f7487fd36.md:title: Chapitre 7
/pages/1er-quiz/283b1ec8-bfa7-48f3-8ce2-9d8f7487fd36.md:title: Chapitre 7 - Le Choixpeau Magique /pages/1er-quiz/c4611613-92e4-4b4b-b9af-a246b86a5a22.md:title: Chapitre 4
/pages/1er-quiz/c4611613-92e4-4b4b-b9af-a246b86a5a22.md:title: Chapitre 4 - Le gardien des clefs
/pages/1er-quiz/0a24b36c-32b0-40b3-aa8c-d13000e8e4cb.md:title: Félicitations /pages/1er-quiz/0a24b36c-32b0-40b3-aa8c-d13000e8e4cb.md:title: Félicitations
/pages/1er-quiz/9ade4891-d0f3-4644-8d4d-4e787aeaf22c.md:title: Chapitre 2 - Une vitre disparait /pages/1er-quiz/9ade4891-d0f3-4644-8d4d-4e787aeaf22c.md:title: Chapitre 2
/pages/1er-quiz/erreur.md:title: Ne te décourage pas /pages/1er-quiz/erreur.md:title: Ne te décourage pas
/pages/1er-quiz/1fafe4b4-2519-438f-b69a-e14b8616eaff.md:title: Ne te décourage pas /pages/1er-quiz/1fafe4b4-2519-438f-b69a-e14b8616eaff.md:title: Ne te décourage pas
/pages/1er-quiz/start.md:title: Chapitre 1 - Le survivant /pages/1er-quiz/65c8096f-c940-4002-90af-52ac3c3c6cd4.md:title: Chapitre 13
/pages/1er-quiz/start.md:title: Chapitre 1
/about.md:title: "À propos" /about.md:title: "À propos"

View File

@ -3,3 +3,5 @@ title: 1er quiz
ac_create: ac_create:
- /pages/1er-quiz/start - /pages/1er-quiz/start
--- ---
Bienvenue sur votre premier quiz!

View File

@ -7,9 +7,8 @@ ac_choices:
- "[Expérimentez dans un monde vide](/pages/doc/pouvoir)" - "[Expérimentez dans un monde vide](/pages/doc/pouvoir)"
- "[Lisez puis testez](/pages/doc/savoir)" - "[Lisez puis testez](/pages/doc/savoir)"
- "[Imaginez tout](/pages/doc/vouloir)" - "[Imaginez tout](/pages/doc/vouloir)"
- "[Chi](/pages/doc/vouloir)"
--- ---
Vous arrivez sur une première page web, qui doit vous permettre de choisir parmi quatre chemins possibles. Vous arrivez sur une première page web, qui doit vous permettre de choisir parmi quatre chemins possibles.
Que préférerez vous, limagination dun monde vierge, la transmission de connaissances, des exemples à compléter, ou vous lancer tout de suite! Que préférerez vous, limagination dun monde vierge, la transmission de connaissances, des exemples à compléter, ou vous lancer tout de suite!

View File

@ -20,15 +20,15 @@ note = (context, freq, counter) => {
const notesPerSecond = 5 // In Hertz const notesPerSecond = 5 // In Hertz
// All are in seconds // All are in seconds
const start = counter / notesPerSecond const start = counter / notesPerSecond
const duration = 1 / notesPerSecond const duration = .5
const ramp = .2 / notesPerSecond / 3 // Exponential increase const ramp = .2 / notesPerSecond / 3 // Exponential increase
// Increase volume // Increase volume
gainNode.gain.linearRampToValueAtTime(1, start) gainNode.gain.setValueAtTime(1, start)
oscil.start(start) oscil.start(start)
// Decrease volume // Decrease volume
gainNode.gain.exponentialRampToValueAtTime(0.001, start + 1); gainNode.gain.exponentialRampToValueAtTime(0.001, start + duration);
oscil.stop(start + duration) oscil.stop(start + duration)
} }
@ -45,6 +45,7 @@ launchNotes = (event, counter = 0, uuid = getUuidFromUrl()) => {
// freq = Math.min(2000, Math.round(freq)) // freq = Math.min(2000, Math.round(freq))
note(context, freq, counter) note(context, freq, counter)
// note(context, freq * 2, counter)
launchNotes(event, counter + 1, uuid) launchNotes(event, counter + 1, uuid)
} }

View File

@ -13,9 +13,13 @@
<article class="bb b--black-10 w-100 mb4 bg-white pa3-ns flex flex-column flex-row-ns relative"> <article class="bb b--black-10 w-100 mb4 bg-white pa3-ns flex flex-column flex-row-ns relative">
{{ if $featured_image }} {{ if $featured_image }}
<img src="{{ $featured_image }}" class="img" alt="image from {{ .Title }}"> <img src="{{ $featured_image }}" class="img" alt="image from {{ .Title }}">
{{ else }}
<a class="hero-pill fl w-10-ns bg-black mr3"
href="{{.RelPermalink}}"></a>
{{ end }} {{ end }}
<h1 class="f3 fw1 athelas mt0 lh-title">
{{ .Title }} {{ .Title }}
- </h1>
{{ range (.Paginate .RegularPagesRecursive).Pages }} {{ range (.Paginate .RegularPagesRecursive).Pages }}
{{ .Title }} {{ .Title }}
{{ end }} {{ end }}

View File

@ -15,5 +15,12 @@
</dt> </dt>
<dd>{{ add (len .Pages) (len .Resources) }}</dd> <dd>{{ add (len .Pages) (len .Resources) }}</dd>
{{ end }} {{ end }}
{{ with site.GetPage "groups" }}
<dt>
<a href="{{ .RelPermalink }}" class="link grow">{{ .Title }}</a>
</dt>
<dd>{{ len site.Taxonomies.groups }}</dd>
{{ end }}
</dl> </dl>
{{ end }} {{ end }}