|
39 | 39 | <% content_for :amsrb do %>
|
40 | 40 | Due to the Corona lockdown, we cancelled our plans for a workshop for the Amsterdam Ruby community.
|
41 | 41 | Instead, we turned the workshop into a full featured online course. And to be honest: we think
|
42 |
| - it's even better than the workshop :-) Happy accidents. |
| 42 | + it's even better than the workshop :-) Collateral gains. |
43 | 43 |
|
44 | 44 | <% end %>
|
45 | 45 | <% content_for :pricing do %>
|
|
76 | 76 | </ul>
|
77 | 77 | <% end %>
|
78 | 78 |
|
| 79 | +<% content_for :courseparts do %> |
| 80 | + This is part 1 of 3. |
| 81 | + Part 1: JavaScript for interactive UI. |
| 82 | + Part 2: Exchanging data between Rails and JavaScript |
| 83 | + Part 3: Components |
| 84 | +<% end %> |
| 85 | + |
79 | 86 | <section class="triangle">
|
80 | 87 | <div>
|
81 | 88 | <div class="hero-txt">
|
|
99 | 106 |
|
100 | 107 | <h2 id="course-content">About the Course</h2>
|
101 | 108 | <div class="cards">
|
102 |
| - <div class="card" id="course-content"> |
| 109 | + <div class="card"> |
103 | 110 |
|
104 | 111 | <div class="card-header">
|
105 | 112 | <!-- <div><%#= image_tag("learn-icon", size: 32, alt: "icon") %></div>-->
|
|
121 | 128 | <%= yield :bonus %>
|
122 | 129 | </div>
|
123 | 130 | </div>
|
124 |
| - <div class="card" id="amsrb"> |
| 131 | + </div> |
| 132 | + |
| 133 | + <h2 id="amsrb">But what about the Ams.rb workshop?</h2> |
| 134 | + <div class="cards"> |
| 135 | + <div class="card"> |
125 | 136 | <div class="card-title course-around">Ams ruby workshop</div>
|
126 | 137 | <div class="card-text">
|
127 | 138 | <%= yield :amsrb %>
|
128 | 139 | </div>
|
129 | 140 | </div>
|
| 141 | + </div> |
| 142 | + |
| 143 | + <h2 id="enroll now">Enroll now!</h2> |
| 144 | + <div class="cards"> |
130 | 145 | <div class="card" id="pricing">
|
131 | 146 | <div class="card-title course-around">Corona Pricing</div>
|
132 | 147 | <div class="card-text">
|
133 | 148 | <%= yield :pricing %>
|
134 | 149 | </div>
|
135 | 150 | </div>
|
136 | 151 | <div class="card">
|
137 |
| - <div style="color: orange">enroll now |
138 |
| - </div> |
| 152 | + <div class="accented">enroll now</div> |
139 | 153 | </div>
|
| 154 | + </div> |
| 155 | + |
| 156 | + |
| 157 | + <h2 id="foryou">This is for you...</h2> |
| 158 | + <div class="cards"> |
140 | 159 | <div class="card">
|
141 | 160 | <div>
|
142 | 161 | <%= yield :foryou %>
|
|
147 | 166 | <%= yield :notforyou %>
|
148 | 167 | </div>
|
149 | 168 | </div>
|
| 169 | + </div> |
150 | 170 | <div class="card">
|
151 | 171 | <div>
|
152 | 172 | <%= yield :courseparts %>
|
|
157 | 177 |
|
158 | 178 | <section>
|
159 | 179 | <div id="aboutus">
|
160 |
| - <div class="card-text"> |
161 |
| - Maud about DJ: "I always wondered why DJ loved JavaScript so much. I know he loved Ruby, and I didn't understand how one can love Ruby and JavaScript at the same time. |
162 |
| - When I showed him a piece of my JavaScript in Rails code, and I started refactoring according to his opinions, I finally started to see |
| 180 | + <div class="intro"> |
| 181 | + Maud about DJ: "I always wondered why DJ loved JavaScript so much. I know he loved Ruby, and <span class="accented">I didn't understand how one can love Ruby and JavaScript at the same time</span>. |
| 182 | + When I showed him a piece of my JavaScript in Rails code, and we started refactoring together, I finally started to see |
163 | 183 | what JavaScript <em>could</em> be - but almost never is. I admire his ability to play with the differences between the languages. And it's good fun to work with him."
|
| 184 | + </div> |
| 185 | + <div class="intro"> |
164 | 186 | DJ about Maud:
|
| 187 | + |
165 | 188 | </div>
|
166 | 189 | </div>
|
167 | 190 | </section>
|
|
0 commit comments