Skip to content

Commit d1db10c

Browse files
committed
doc
1 parent 6221264 commit d1db10c

File tree

5 files changed

+30
-4
lines changed

5 files changed

+30
-4
lines changed

resources/codex/code/contact.ecs

Whitespace-only changes.

resources/codex/md/contact.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ Here are some ~ec~ contact options:
44

55
1. Email to [info@easycoder.software](mailto:info@easycoder.software)
66

7-
1. Contact the author on [Fleep Messenger](graham.trott@fleep.io).
7+
1. Contact the author on [Fleep Messenger](mailto:graham.trott@fleep.io).
88

99
1. Join our [Slack channel](https://join.slack.com/t/easycoder-software/shared_invite/enQtNTU5ODEwOTQ5NTU0LWQ1NWVkOTUxOGQ3NzJmNDI1ZGRlOTdmMjc1NDAxMGIwMTFjODg1ZDJhODEzMzUzODc2MDNlZWU4NmYyZWRlOWI).

resources/codex/md/step2.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Basic arithmetic #
2-
32
~ec~ is designed for the web; to build apps that do stuff in a browser. The world of the browser is primarily visual, with lots of images and text, but there's always a need for some basic arithmetic so we'll write a couple of scripts that illustrate what's available.
43

54
In most computer languages, if you want to add numbers together it will look like your school algebra:

resources/ecs/main.ecs

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
button ExamplesButton
1818
button AboutButton
1919
button PhilosophyButton
20+
button ContactButton
2021
button CodexButton
21-
button TechnicalButton
22+
button TechnicalButton
2223
hr Rule
2324
a ShowNotes
2425
module ShowdownModule
@@ -27,6 +28,7 @@
2728
module ExamplesModule
2829
module AboutModule
2930
module PhilosophyModule
31+
module ContactModule
3032
module CurrentModule
3133
variable Script
3234
variable ButtonStyle
@@ -99,6 +101,8 @@ BuildPage:
99101
run Script with ShowdownModule as AboutModule
100102
rest get Script from `/resources/ecs/philosophy.ecs`
101103
run Script with ShowdownModule as PhilosophyModule
104+
rest get Script from `/resources/ecs/contact.ecs`
105+
run Script with ShowdownModule as ContactModule
102106

103107
alias CurrentModule to HomeModule
104108
send to HomeModule
@@ -178,6 +182,20 @@ BuildPage:
178182
alias CurrentModule to PhilosophyModule
179183
send to PhilosophyModule
180184
end
185+
186+
create ButtonItem in ButtonList
187+
create ContactButton in ButtonItem
188+
set the style of ContactButton to ButtonStyle
189+
set style `margin-top` of ContactButton to `0.25em`
190+
set the text of ContactButton to `Contacts`
191+
on click ContactButton
192+
begin
193+
gosub to DeselectAllButtons
194+
set style `background` of ContactButton to `darkgray`
195+
send `pause` to CurrentModule
196+
alias CurrentModule to ContactModule
197+
send to ContactModule
198+
end
181199

182200
create ButtonItem in ButtonList
183201
create TechnicalButton in ButtonItem
@@ -227,4 +245,4 @@ DeselectAllButtons:
227245
set style `background` of ExamplesButton to ``
228246
set style `background` of AboutButton to ``
229247
set style `background` of PhilosophyButton to ``
230-
return
248+
return

resources/md/contact.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Contacts #
2+
3+
You can contact us any any of the following:
4+
5+
~ec~ general information: [info@easycoder.software](mailto:info@easycoder.software)
6+
7+
The author at [Fleep Messenger](mailto:graham.trott@fleep.io)
8+
9+
The Slack [~ec~ channel](https://join.slack.com/t/easycoder-software/shared_invite/enQtNTU5ODEwOTQ5NTU0LWQ1NWVkOTUxOGQ3NzJmNDI1ZGRlOTdmMjc1NDAxMGIwMTFjODg1ZDJhODEzMzUzODc2MDNlZWU4NmYyZWRlOWI)

0 commit comments

Comments
 (0)