diff --git a/web/virtual_lab/templates/virtual_lab/home.html b/web/virtual_lab/templates/virtual_lab/home.html index 159d14f36..16ae85a74 100644 --- a/web/virtual_lab/templates/virtual_lab/home.html +++ b/web/virtual_lab/templates/virtual_lab/home.html @@ -2,47 +2,48 @@ {% extends "virtual_lab/layout.html" %} {% load static %} +{% load i18n %} {% block virtual_lab_content %} -
- Dive into interactive experiments and deepen your understanding of fundamental concepts. Click on any card below to begin. -
-Visualize how length affects a pendulum's period.
- - - -Launch a projectile and observe its real‐time trajectory.
- - - -See a block slide down and discover acceleration on a ramp.
- - - -Set k and m, drag the mass, then watch it oscillate and view x(t).
- - - -- Build an RC circuit, adjust R, C, and V₀, and watch the capacitor charge in real time. -
+{% trans "Choose a subject to explore available virtual labs." %}
++ {% blocktrans with count=subject.labs|length %}Explore {{ count }} labs{% endblocktrans %} +
+ + {% elif subject.key == "chemistry" %} + ++ {% blocktrans with count=subject.labs|length %}Explore {{ count }} labs{% endblocktrans %} +
+ + {% else %} + ++ {% blocktrans with count=subject.labs|length %}Explore {{ count }} labs{% endblocktrans %} +
+ + {% endif %} + {% endfor %} + +{% trans "Write and run code directly from the virtual lab." %}