Skip to content

Commit

Permalink
1.11.2
Browse files Browse the repository at this point in the history
  • Loading branch information
quinton-ashley committed Jul 10, 2024
1 parent 7b50b63 commit aec44fc
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 17 deletions.
9 changes: 5 additions & 4 deletions account/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<div class="mini-row">
<select type="text" name="requiredAttributes[middle_name]" class="form-control inputField-customizable"
required="" aria-label="Account Type" onchange="checkIfValid();" id="account_type" />
<option value="nil">Account Type</option>
<option value="" hidden>Account Type</option>
<option value="Student">Student</option>
<option value="Teacher">Teacher</option>
<option value="Developer">Indie Dev</option>
Expand Down Expand Up @@ -201,7 +201,8 @@
<option value="ID" label="Indonesia">Indonesia</option>
<option value="IR" label="Iran">Iran</option>
<option value="IQ" label="Iraq">Iraq</option>
<option value="IL" label="Israel">Israel</option>
<option value="IL" label="Israel (occupied Palestinian Territories)">Israel (occupied Palestinian
Territories)</option>
<option value="JO" label="Jordan">Jordan</option>
<option value="KZ" label="Kazakhstan">Kazakhstan</option>
<option value="KW" label="Kuwait">Kuwait</option>
Expand All @@ -218,7 +219,7 @@
<option value="KP" label="North Korea">North Korea</option>
<option value="OM" label="Oman">Oman</option>
<option value="PK" label="Pakistan">Pakistan</option>
<option value="PS" label="Palestinian Territories">Palestinian Territories</option>
<option value="PS" label="Palestine">Palestine</option>
<option value="YD" label="People's Democratic Republic of Yemen">People's Democratic
Republic of Yemen</option>
<option value="PH" label="Philippines">Philippines</option>
Expand All @@ -228,7 +229,7 @@
<option value="KR" label="South Korea">South Korea</option>
<option value="LK" label="Sri Lanka">Sri Lanka</option>
<option value="SY" label="Syria">Syria</option>
<option value="TW" label="Taiwan">Taiwan</option>
<option value="TW" label="Taiwan, China">Taiwan, China</option>
<option value="TJ" label="Tajikistan">Tajikistan</option>
<option value="TH" label="Thailand">Thailand</option>
<option value="TL" label="Timor-Leste">Timor-Leste</option>
Expand Down
4 changes: 2 additions & 2 deletions account/signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ function checkIfValid() {
$('#gender').addClass('not-valid');
}

if ($('#age').val() < 100) {
if ($('#age').val() && $('#age').val() < 100) {
$('#age').removeClass('not-valid');
$('#age').addClass('is-valid');
let age = Number($('#age').val());
Expand All @@ -257,7 +257,7 @@ function checkIfValid() {
}

// Check if the account_type input is valid
if ($('#account_type').val() != 'nil') {
if ($('#account_type').val() != '') {
$('#account_type').removeClass('not-valid');
$('#account_type').addClass('is-valid');
} else {
Expand Down
11 changes: 4 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,9 @@ <h2 id="join-the-community-👾">Join the community 👾</h2>
<h2 id="support-this-project-🤝">Support this project 🤝</h2>
<p>p5play is open source and free to use under the terms of the <a
href="https://github.com/quinton-ashley/p5play/blob/main/LICENSE.md"
target="_blank">AGPLv3</a>.</p>
<p>Unlock exclusive content and obtain the <a
href="https://github.com/quinton-ashley/p5play-web/blob/main/pro/PRO_LICENSE.md"
target="_blank">p5play Professional License</a> by becoming a <a href="pro"
target="_blank"><em>PRO</em> member</a>!</p>
target="_blank">AGPLv3</a>. For typical use by schools, see the <a href="teach"
target="_blank">Teach</a> page.</p>
<p>Unlock exclusive content by becoming a <a href="pro" target="_blank">Pro member</a>!</p>
</md>
<div id="support">
<a id="patreon-brand" href="https://www.patreon.com/p5play"
Expand Down Expand Up @@ -581,8 +579,7 @@ <h2 id="why-do-computer-science-educators-love-p5play-😍">Why do Computer Scie
curriculum, which is already popular in schools.</p>
<p>Also, since it doesn't require a bespoke game editor, students gain transferrable, text based
coding skills.</p>
<p>p5play is well designed and documented. Check out the <a href="../learn" target="_blank">Learn
pages</a>, a free resource packed with interactive examples and exercises.</p>
<p>See the <a href="teach" target="_blank">Teach</a> page for more information.</p>
</md>
<md id="md17-1" class="closed">
<h2 id="why-should-students-learn-p5play-🤔">Why should students learn p5play? 🤔</h2>
Expand Down
6 changes: 3 additions & 3 deletions lang/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ Ask questions and meet other people making interactive art and games with p5play

## Support this project 🤝

p5play is open source and free to use under the terms of the [AGPLv3](https://github.com/quinton-ashley/p5play/blob/main/LICENSE.md).
p5play is open source and free to use under the terms of the [AGPLv3](https://github.com/quinton-ashley/p5play/blob/main/LICENSE.md). For typical use by schools, see the [Teach](teach) page.

Unlock exclusive content and obtain the [p5play Professional License](https://github.com/quinton-ashley/p5play-web/blob/main/pro/PRO_LICENSE.md) by becoming a [_PRO_ member](pro)!
Unlock exclusive content by becoming a [Pro member](pro)!

# 12

Expand Down Expand Up @@ -156,7 +156,7 @@ p5play is a natural addition to [p5.js](https://p5js.org/) based curriculum, whi

Also, since it doesn't require a bespoke game editor, students gain transferrable, text based coding skills.

p5play is well designed and documented. Check out the [Learn pages](../learn), a free resource packed with interactive examples and exercises.
See the [Teach](teach) page for more information.

# 17-1

Expand Down
2 changes: 2 additions & 0 deletions lang/en/learn/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

Free for personal use.

For pricing information on educational use, please visit the [Teach](../teach) page.

# 0-1

## Credits
Expand Down
2 changes: 2 additions & 0 deletions lang/es/learn/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ <h2 id="aprender">Aprender</h2>
p5play v3. Está lleno de documentación de referencia amigable para principiantes y ejemplos de
código interactivo.</p>
<p>¡Gratis para uso personal!</p>
<p>Para obtener información sobre precios para uso educativo, por favor visita la página de <a
href="../teach" target="_blank">Enseña</a>.</p>
</md>
<div id="learnOptions" class="mini">
<a id="getStarted" class="btn" href="sprite.html">¡Empezar!</a>
Expand Down
2 changes: 2 additions & 0 deletions lang/es/learn/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

¡Gratis para uso personal!

Para obtener información sobre precios para uso educativo, por favor visita la página de [Enseña](../teach).

# 0-1

## Créditos
Expand Down
1 change: 1 addition & 0 deletions lang/ja/learn/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ <h2 id="学ぶ">学ぶ</h2>
<p><a href="." target="_blank"><strong><em>やってみよう p5play: オブジェクト指向プログラミング入門</em></strong></a>
は、p5play v3 の開発者である Quinton Ashley によって執筆されました。初心者にもわかりやすいリファレンス・ドキュメントと、インタラクティブなコード例が満載です。</p>
<p>個人でのご使用は無料です。</p>
<p>教育利用の価格情報については、<a href="../teach" target="_blank">Teach</a>ページをご覧ください。</p>
</md>
<div id="learnOptions" class="mini">
<a id="getStarted" class="btn" href="sprite.html">始める!</a>
Expand Down
2 changes: 2 additions & 0 deletions lang/ja/learn/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

個人でのご使用は無料です。

教育利用の価格情報については、[Teach](../teach)ページをご覧ください。

# 0-1

## クレジット
Expand Down
2 changes: 2 additions & 0 deletions learn/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ <h2 id="learn">Learn</h2>
v3. It's packed with beginner friendly reference documentation and interactive code examples.
</p>
<p>Free for personal use.</p>
<p>For pricing information on educational use, please visit the <a href="../teach"
target="_blank">Teach</a> page.</p>
</md>
<div id="learnOptions" class="mini">
<a id="getStarted" class="btn" href="sprite.html">Get Started!</a>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@
"version": "git add -A",
"postversion": "git push"
},
"version": "1.11.1"
"version": "1.11.2"
}

0 comments on commit aec44fc

Please sign in to comment.