Commits: 1
Add offer for the second-workshop.
Remove navigation bar from second- workshop page.
Change the workshop hours from 4 hrs a day to 3 hrs a day in index.
Change the title of the test-run page from special offer to former students.
index 42287fc..d41b8f2 100644
--- a/content/index.txt
+++ b/content/index.txt
@@ -11,7 +11,7 @@ Hello! We are running a workshop that will give you a glimpse into the way softw
=
= or drop us a note at {Link|fana@software.garden|url= mailto:fana@software.garden}
=
-During this *5 days workshop* (4 hours each day) you will learn to solve problems using a functional programming language. We think {Link|it's important|url=/motivation.html}. Together, we will build a program that simulates growth of a tree, like this:
+During this *5 days workshop* (3 hours each day) you will learn to solve problems using a functional programming language. We think {Link|it's important|url=/motivation.html}. Together, we will build a program that simulates growth of a tree, like this:
=
=| Window
= | AnimatedTree
@@ -47,13 +47,13 @@ During this *5 days workshop* (4 hours each day) you will learn to solve problem
= color = olive
= rotation = -20
=
-Upon completion of the course your name, program that you will have created, photo and link to your website (or LinkedIn profile etc) will be posted here. The price for participation is *500 €* (inc. 21% VAT).
+Upon completion of the course your name, program that you will have created, photo and link to your website (or LinkedIn profile etc) will be posted {Link|here|url=/test-run.html}. The price for participation is *500 €* (inc. 21% VAT).
=
=| Coupon
= icon = gift
= primary = True
= text = Special offer for University of Utrecht students
- href = /test-run.html
+ href = /second-workshop.html
=
=Below is the material through which we will be going during the workshop. Only the first section is a required read before you come.
=new file mode 100644
index 0000000..f1e1668
--- /dev/null
+++ b/content/second-workshop.txt
@@ -0,0 +1,9 @@
+| Title
+ Special Offer for University of Utrecht Students
+
+In collaboration with {Link|Career Services|url=https://students.uu.nl/en/careerservices} of the University of Utrecht we are running a second workshop. For the first five students it is free. If the 5 spots are filled, we have discounted price of 300 € (inc. 21% VAT) for the next 10 students.
+
+| Emphasize
+ If you are interested please get in touch
+
+ {Icon|name=phone} {Link|+31 638 216 166|url=tel:+31638216166} | {Icon|name=mail} {Link|fana@software.garden|url= mailto:fana@software.garden} | {Icon|name=home} {Link|Back|url=/}index 884dc05..fd705c2 100644
--- a/content/test-run.txt
+++ b/content/test-run.txt
@@ -1,5 +1,5 @@
=| Title
- Special Offer for University of Utrecht Students
+ Former Students
=
=In collaboration with {Link|Career Services|url=https://students.uu.nl/en/careerservices} of the University of Utrecht we offered a one time, free workshop for 9 students from March 4 - March 8. Here are our students with their animated tree:
=index 0ffec3a..4ca5c79 100644
--- a/src/Main.elm
+++ b/src/Main.elm
@@ -211,6 +211,9 @@ view model =
= Routes.TestRun ->
= Element.none
=
+ Routes.SecondWorkshop ->
+ Element.none
+
= Routes.Content _ ->
= contentNavigationBar model
=
@@ -517,6 +520,12 @@ loadContent route =
= , expect = Http.expectString ContentFetched
= }
=
+ Routes.SecondWorkshop ->
+ Http.get
+ { url = "/content/second-workshop.txt"
+ , expect = Http.expectString ContentFetched
+ }
+
= Routes.Content base ->
= Http.get
= { url = "/content/" ++ base ++ ".txt"index a1a6bbf..ec93cd7 100644
--- a/src/Routes.elm
+++ b/src/Routes.elm
@@ -13,6 +13,7 @@ type Route
= | Content String
= | Motivation
= | TestRun
+ | SecondWorkshop
= | NotFound
=
=
@@ -23,6 +24,7 @@ parser =
= , Parser.map Home (Parser.s "index.html")
= , Parser.map Motivation (Parser.s "motivation.html")
= , Parser.map TestRun (Parser.s "test-run.html")
+ , Parser.map SecondWorkshop (Parser.s "second-workshop.html")
= , Parser.custom "Content"
= (\path ->
= case String.split "." path of