Skip to content

Commit

Permalink
[CONTENT] adds /start route (#4522)
Browse files Browse the repository at this point in the history
* adds /start route with getting started info
  • Loading branch information
Felienne authored Oct 1, 2023
1 parent 00ac4e5 commit 6538250
Show file tree
Hide file tree
Showing 54 changed files with 140 additions and 59 deletions.
10 changes: 8 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1567,10 +1567,9 @@ def favicon():


@app.route('/')
@app.route('/start')
@app.route('/index.html')
def main_page():
sections = hedyweb.PageTranslations('start').get_page_translations(g.lang)['start-sections']
sections = hedyweb.PageTranslations('start').get_page_translations(g.lang)['home-sections']

sections = sections[:]

Expand Down Expand Up @@ -1631,6 +1630,13 @@ def join():
current_page='join', content=join_translations)


@app.route('/start')
def start():
start_translations = hedyweb.PageTranslations('start').get_page_translations(g.lang)
return render_template('start.html', page_title=gettext('title_learn-more'),
current_page='start', content=start_translations)


@app.route('/privacy')
def privacy():
privacy_translations = hedyweb.PageTranslations('privacy').get_page_translations(g.lang)
Expand Down
2 changes: 1 addition & 1 deletion content/adventures/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ adventures:
{if} respuesta {is} _ {print} '¡Buen trabajo!'
{else} {print} '¡Incorrecto! Era ' _
```
start_code: "número_1 = {ask} 'Introduce el primer número:'\nnúmero_2 = {ask} Escribe el segundo número:'\nrespuesta_correcta = número_1 * número_2\n{print} número_1 ' por ' número_2 ' es ' respuesta_correcta\n"
start_code: "número_1 = {ask} 'Introduce el primer número:'\nnúmero_2 = {ask} 'Escribe el segundo número:'\nrespuesta_correcta = número_1 * número_2\n{print} número_1 ' por ' número_2 ' es ' respuesta_correcta\n"
story_text_3: "**Extra** También puedes dejar que el ordenador haga sumas aleatorias por sí mismo usando random.\n\nAsí eliges un número de tablas para practicar, y de ahí siempre obtienes una suma diferente:\n"
14:
story_text: "En este nivel puedes programar el juego 'Adivina el número'\n"
Expand Down
2 changes: 1 addition & 1 deletion content/pages/ar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,7 @@ learn-more-sections:
* [Leiden University, April 2020](https://www.universiteitleiden.nl/en/news/2020/03/looking-to-distract-the-kids-while-you-work-from-home-get-them-programming)
* [Mare (Dutch), April 2020](https://www.mareonline.nl/cultuur/computercode-voor-de-kids/)
* [AG Connect (Dutch), April 2020](https://www.agconnect.nl/artikel/stapsgewijs-python-leren-programmeren-met-nieuwe-taal-hedy)
start-sections:
home-sections:
- title: "ماذا تعني لغة برمجة متدرجة؟"
text: |
تعلم البرمجة قد يكون شيئاً صعباً. ليس لإن البرمجة بحد ذاتها صعبة! ولكن لإن هناك الكثير من القواعد لحفظها، كما الحال عندما بدأت تتعلم لغة ثانية كالانجليزية مثلاً.
Expand Down
2 changes: 1 addition & 1 deletion content/pages/bg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ learn-more-sections:
Below the current status, help us complete a language, or add a new one.
<a href="https://hosted.weblate.org/engage/hedy/">
<img src="https://hosted.weblate.org/widgets/hedy/-/multi-auto.svg" alt="Translation status" /></a>
start-sections:
home-sections:
- title: "Textual programming made easy!"
text: |
Many schools and teachers around the world want to teach their students programming. Initially this is often done with playful tools, ranging from the Beebot robot to
Expand Down
2 changes: 1 addition & 1 deletion content/pages/bn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ learn-more-sections:
Below the current status, help us complete a language, or add a new one.
<a href="https://hosted.weblate.org/engage/hedy/">
<img src="https://hosted.weblate.org/widgets/hedy/-/multi-auto.svg" alt="Translation status" /></a>
start-sections:
home-sections:
- title: "Textual programming made easy!"
text: |
Many schools and teachers around the world want to teach their students programming. Initially this is often done with playful tools, ranging from the Beebot robot to
Expand Down
2 changes: 1 addition & 1 deletion content/pages/ca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ learn-more-sections:
- title: Hedy a les notícies
text: "Alguns llocs web i diaris han escrit sobre Hedy des del nostre llançament a principis de 2020. En conservem una llista aquí:\n* [Tech Optimism - A Solution to the IT Shortage (Dutch), August 2022](https://pom.show/2022/08/12/een-oplossing-voor-het-it-tekort/)\n* [Codeweek Podcast, July 2022](https://codeweek.eu/podcast/26)\n* [Heise.de (German), Januari 2022](https://www.heise.de/news/Hedy-die-mitwachsende-Programmiersprache-6336264.html)\n* [Strumenta, November 2021](https://tomassetti.me/teaching-programming-with-hedy/)\n* [Vives (Dutch), CodeWeek Special October 2021](images/Vives-174-Codeweek.pdf)\n* [CodeWeek.eu - Haunted House Challenge, September 2021](https://codeweek.eu/2021/challenges/haunted-house)\n* [Opensource.com, April 2021](https://opensource.com/article/21/4/hedy-teach-code)\n* [IO Magazine, April 2021](https://ict-research.nl/wordpress/wp-content/uploads/2021/04/IO-magazine-NR1-2021_web.pdf)\n* [Ingeniería De Software (Spanish), February 2021](https://ingenieriadesoftware.es/hedy-mejor-lenguaje-ensenar-programacion-ninos/)\n* [Hello World Magazine, February 2021](images/Hello_World_15_Hedy.pdf)\n* [Discoro, January 2021](https://discoro.wordpress.com/2021/01/09/hedy-gradually-learning-a-programming-language/)\n* [Felienne wins the Dutch award for ICT research for Hedy, January 2021](https://www.nwo.nl/en/news/felienne-hermans-receives-dutch-prize-ict-research-2021)\n* [SlashDot, August 2020](https://news.slashdot.org/story/20/08/17/024248/scientist-proposes-a-new-programming-language-for-teaching-coding-and-python)\n* [GenBeta (Spanish), August 2020](https://www.genbeta.com/desarrollo/nuevo-lenguaje-para-ensenar-programacion-a-ninos-como-se-ensena-a-leer-escribir-forma-gradual-niveles)\n* [Developpez (French), August 2020](https://programmation.developpez.com/actu/308095/Une-scientifique-propose-un-nouveau-langage-de-programmation-pour-enseigner-aux-enfants-le-codage-informatique-au-travers-d-une-approche-graduelle-implementee-en-Python-sur-13-paliers/)\n* [Vives (Dutch), October 2020](images/artikel_vives.pdf) \"Met Hedy stap voor stap leren programmeren\"\n* [Leiden University, April 2020](https://www.universiteitleiden.nl/en/news/2020/03/looking-to-distract-the-kids-while-you-work-from-home-get-them-programming)\n* [Mare (Dutch), April 2020](https://www.mareonline.nl/cultuur/computercode-voor-de-kids/)\n* [AG Connect (Dutch), April 2020](https://www.agconnect.nl/artikel/stapsgewijs-python-leren-programmeren-met-nieuwe-taal-hedy)\n"
title: Documentació de Hedy
start-sections:
home-sections:
- title: La programació textual feta fàcil!
text: "Moltes escoles i professors d'arreu del món volen ensenyar als seus alumnes la programació. Inicialment, sovint això es fa amb eines lúdiques, que van des del robot Beebot fins a \nScratch Junior o Scratch. Després d'utilitzar aquestes eines, els nens sovint volen passar a llenguatges de programació textuals més potents, com Python.\n\nTanmateix, Python és difícil, perquè només està disponible en anglès i requereix que els estudiants aprenguin conceptes i sintaxi de programació complexos alhora.\nHedy és la manera fàcil de començar amb els llenguatges de programació textual! Hedy és d'ús gratuït, de codi obert i, a diferència de qualsevol altre llenguatge de programació textual, és les tres coses:\n\n1. Hedy és multilingüe, pots utilitzar Hedy en el teu propi idioma\n2. Hedy és gradual, de manera que pots aprendre un concepte i la seva sintaxi a la vegada\n3. Hedy està dissenyat per a l'aula, la qual cosa permet als professors personalitzar completament l'experiència dels seus alumnes\n"
- title: Programació multilingüe
Expand Down
2 changes: 1 addition & 1 deletion content/pages/cs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ learn-more-sections:
Chceš se dozvědět více o Hedy? Podívej se na prezentaci, kterou Felienne přednesla na European Code Week 2020:
<iframe width="560" height="315" class="mx-auto mt-4" src="https://www.youtube.com/embed/R2U9MEowYag?wmode=opaque" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>
start-sections:
home-sections:
- title: "Co je to stupňovitý programovací jazyk?"
text: |
Naučit se programovat může být těžké. Ale to neznamená, že by programování samo o sobě *bylo* těžké! Ano, je tu spousta pravidel, která si musíte zapamatovat, podobně jako když jste se začali učit česky nebo anglicky.
Expand Down
2 changes: 1 addition & 1 deletion content/pages/cy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ sections:
temperature = 25
print('It is ', temperature, 'degrees outside')
title: Hedy documentation
start-sections:
home-sections:
- title: "Textual programming made easy!"
text: |
Many schools and teachers around the world want to teach their students programming. Initially this is often done with playful tools, ranging from the Beebot robot to
Expand Down
2 changes: 1 addition & 1 deletion content/pages/da.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ sections:
solution_code: |
temperature = 25
print('It is ', temperature, 'degrees outside')
start-sections:
home-sections:
- title: Textual programming made easy!
text: "Many schools and teachers around the world want to teach their students programming. Initially this is often done with playful tools, ranging from the Beebot robot to\nScratch Junior or Scratch. After using such tools, kids often want to move to more powerful, textual programming languages, like Python.\n\nPython however is hard, because it is only available in English, and requires learners to learn complex programming concepts and syntax at once.\nHedy is the easy way to get started with textual programming languages! Hedy is free to use, open source, and unlike any other textual programming language in three ways.\n\n1. Hedy is multi-lingual, you can use Hedy in your own language\n2. Hedy is gradual, so you can learn one concept and its syntax a time\n3. Hedy is built for the classroom, allowing teachers to fully customize their student's experience\n"
- title: Multi-lingual programming
Expand Down
2 changes: 1 addition & 1 deletion content/pages/de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ learn-more-sections:
* [Leiden University, April 2020](https://www.universiteitleiden.nl/en/news/2020/03/looking-to-distract-the-kids-while-you-work-from-home-get-them-programming)
* [Mare (Dutch), April 2020](https://www.mareonline.nl/cultuur/computercode-voor-de-kids/)
* [AG Connect (Dutch), April 2020](https://www.agconnect.nl/artikel/stapsgewijs-python-leren-programmeren-met-nieuwe-taal-hedy)
start-sections:
home-sections:
- title: "Textbasierte Programmierung in einfach!"
text: |
Viele Schulen und Lehrpersonen auf der Welt möchten ihren Schülerinnen und Schülern Programmieren unterrichten. Zu Beginn wird dies oft mit spielerischen Werkzeugen vom Beebot robot bis
Expand Down
2 changes: 1 addition & 1 deletion content/pages/el.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ learn-more-sections:
text: "[Γνωστοποίησέ το μας στο GitHub](https://github.com/hedyorg/hedy/issues/new/choose)\n"
- title: Θα ήθελες να βοηθήσεις;
text: "Ο πλέον εύκολος τρόπος είναι να βοηθήσεις [μεταφράζοντας Hedy](https://github.com/hedyorg/hedy/wiki/Hedy-Translation-Tutorial)\n\nΚάτω από την τρέχουσα κατάσταση, βοηθήστε μας να ολοκληρώσουμε μια γλώσσα ή να προσθέσουμε μια νέα.\n<a href=\"https://hosted.weblate.org/engage/hedy/\">\n<img src=\"https://hosted.weblate.org/widgets/hedy/-/multi-auto.svg\" alt=\"Translation status\" /></a>\n"
start-sections:
home-sections:
- title: "Textual programming made easy!"
text: |
Many schools and teachers around the world want to teach their students programming. Initially this is often done with playful tools, ranging from the Beebot robot to
Expand Down
56 changes: 55 additions & 1 deletion content/pages/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@ learn-more-sections:
* [Leiden University, April 2020](https://www.universiteitleiden.nl/en/news/2020/03/looking-to-distract-the-kids-while-you-work-from-home-get-them-programming)
* [Mare (Dutch), April 2020](https://www.mareonline.nl/cultuur/computercode-voor-de-kids/)
* [AG Connect (Dutch), April 2020](https://www.agconnect.nl/artikel/stapsgewijs-python-leren-programmeren-met-nieuwe-taal-hedy)
start-sections:
home-sections:
- title: "Textual programming made easy!"
text: |
Many schools and teachers around the world want to teach their students programming. Initially this is often done with playful tools, ranging from the Beebot robot to
Expand Down Expand Up @@ -1227,3 +1227,57 @@ join-sections:
text: |
Hedy is designed to support teachers in providing programming lessons in class. We have specific teacher features like the option to create a class, customize it and see how your students are doing.
If you like Hedy, you can reach out to schools that you know to help teachers get started! We can help you find schools or teachers via <a href="https://discord.gg/8yY7dEme9r" target="_blank">Discord</a>.
start-sections:
- title: "Getting started with Hedy"
text: |
*Something about teachers accounts, slides etc*
- title: "What other teachers say"
text: |
A while ago we ran a few short Hedy teachers surveys.
The questions span between suggestions of improvement and Hedy’s best features.
Below is a testimony of their thoughts:
Simple interface and good examples. *Teacher: 3rd - 6th grades (elementary)*
Multilingual programming and just the gradual programming concept itself. - *US: middle school, 6th-8th grade*
The gradual nature of introducing programming. *Australia: High school*
The construction is so good. *Netherlands: Lower secondary school HAVO-VWO*
I can keep the pace of the class. *Netherlands: group 7 en 8*
Continues automatically. *Netherlands: 2 HAVO-VWO*
Both that the explanation can be in Dutch (and the code in English), and that it builds up with more
and more possibilities. *Netherlands: Plus class group 7*
The 'realness' of programming, it resembles how it is in reality. *Netherlands: Plus class group 4 to 8*
Step-by-step activities. Fun activities. *Netherlands: 1e All levels, 2e VWO/HAVO 2e VWO +, 3e HAVO 3e VWO*
But Hedy and its gradual levels... what an idea,
I wanted to personally thank you for creating this. I cannot thank you enough. Also, I have never seen the level of engagement and enthusiasm of my
students, as I have seen with Hedy. We have covered till level 5, and plan to spend one more week on it in classes and labs,
before starting Python. *Pakistan*
I really like Hedy very much and it is also nicely set up, which makes it good to use in primary school.
Hedy's gradual approach works very well.
The short explanation at the beginning of each level and the short example programs help to give the children a quick insight into what is new in the chosen level.
The different assignments that the children can choose also work very well.
You see the children choose assignments that appeal to them and they then get to work with them,
through the levels. Hedy is great fun for children who are good at programming and want to get a
taste of a real programming language. It is good preparation for secondary school as soon as more ICT
education is given there. *Netherlands: Oegstgeest Montessori school*
<img width="500px" src="static/images/teacherfeedback/Fkids1.JPG"></img>
2 changes: 1 addition & 1 deletion content/pages/eo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ sections:
title: Oftaj eraroj
key: oftaj_eraroj
intro: "You can learn from your mistakes, especially in coding!\nMaking mistakes is unavoidable, and a great opportunity to learn, but for teachers it can be a challenge to find the correct fix for a mistake!\nEspecially as the codes get longer and longer as the levels progress. That's why we've made a list with frequently made mistakes in each level, and their solutions.\n"
start-sections:
home-sections:
- title: Kio estas laŭgrada programlingvo?
text: "Lerni programi povas esti malfacile. Nu, la programado mem *ne* estas malfacila! Sed estas multaj reguloj parkerigendaj, same kiel kiam vi komencis lerni Esperanton.\nSimile, vi bezonos multan praktikon por lerni programadon.\n\nVi povas legi ĉi tiujn frazojn facile. Sed ĉu vi memoras, kiam vi lernis eklegi? Tiam, vi postulis iom da tempo por ĉiu litero!\nTio validas ankaŭ por programado: tio eble estos malfacile komence, sed ĝi plifaciliĝos!\n\nAgrable, Hedy estas *laŭgrada*. Tio signifas, ke vi ne devas lerni ĉiujn regulojn samtempe.\nLa unuaj kelkaj niveloj ne havas multajn regulojn; tial, vi povas komforte alkutimiĝi al programado.\nEn ĉiu nivelo ni enkondukas novajn regulojn, pliigante la nombron da komandoj, kiujn vi konas. Komandoj estas instrukcioj por komputilo.\n"
- title: Kial Hedy estas laŭgrada?
Expand Down
2 changes: 1 addition & 1 deletion content/pages/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ learn-more-sections:
* [Leiden University, April 2020](https://www.universiteitleiden.nl/en/news/2020/03/looking-to-distract-the-kids-while-you-work-from-home-get-them-programming)
* [Mare (Dutch), April 2020](https://www.mareonline.nl/cultuur/computercode-voor-de-kids/)
* [AG Connect (Dutch), April 2020](https://www.agconnect.nl/artikel/stapsgewijs-python-leren-programmeren-met-nieuwe-taal-hedy)
start-sections:
home-sections:
- title: "¡Programación textual más fácil!"
text: |
Muchos colegios y profesores en todo el mundo quieren enseñar programación a sus alumnos. Al principio suele hacerse con herramientas lúdicas, desde el robot Beebot a
Expand Down
2 changes: 1 addition & 1 deletion content/pages/et.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ sections:
level: '18'
key: common_mistakes
intro: "Oma vigadest on võimalik õppida, eriti koodi kirjutades!\nVigade tegemine on vältimatu ja hea võimalus õppimiseks, kuid õpetajate jaoks võib olla veale õige lahenduse leidmine suureks väljakutseks!\nEriti siis, kui tasemete edenedes kood aina pikemaks kasvab. Sellepärast oleme koostanud nimekirja igal tasemel sageli esinevatest vigadest ja nende lahendustest.\n"
start-sections:
home-sections:
- title: "Textual programming made easy!"
text: |
Many schools and teachers around the world want to teach their students programming. Initially this is often done with playful tools, ranging from the Beebot robot to
Expand Down
2 changes: 1 addition & 1 deletion content/pages/fa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ learn-more-sections:
text: "[Let us know on GitHub](https://github.com/hedyorg/hedy/issues/new/choose)\n"
- title: Want to help?
text: "The easiest way is to help with [translating Hedy](https://github.com/hedyorg/hedy/wiki/Hedy-Translation-Tutorial)\n\nBelow the current status, help us complete a language, or add a new one.\n<a href=\"https://hosted.weblate.org/engage/hedy/\">\n<img src=\"https://hosted.weblate.org/widgets/hedy/-/multi-auto.svg\" alt=\"Translation status\" /></a>\n"
start-sections:
home-sections:
- title: "Textual programming made easy!"
text: |
Many schools and teachers around the world want to teach their students programming. Initially this is often done with playful tools, ranging from the Beebot robot to
Expand Down
2 changes: 1 addition & 1 deletion content/pages/fi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ sections:
solution_code: |
temperature = 25
print('It is ', temperature, 'degrees outside')
start-sections:
home-sections:
- title: "Textual programming made easy!"
text: |
Many schools and teachers around the world want to teach their students programming. Initially this is often done with playful tools, ranging from the Beebot robot to
Expand Down
Loading

0 comments on commit 6538250

Please sign in to comment.