Skip to content

Commit 966809e

Browse files
committed
Update texts, styling, headers and html structure
to work with intro and headers
1 parent 4f0ea1d commit 966809e

File tree

1 file changed

+31
-8
lines changed

1 file changed

+31
-8
lines changed

app/views/pages/home.html.erb

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<% content_for :amsrb do %>
4040
Due to the Corona lockdown, we cancelled our plans for a workshop for the Amsterdam Ruby community.
4141
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.
4343

4444
<% end %>
4545
<% content_for :pricing do %>
@@ -76,6 +76,13 @@
7676
</ul>
7777
<% end %>
7878

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+
7986
<section class="triangle">
8087
<div>
8188
<div class="hero-txt">
@@ -99,7 +106,7 @@
99106

100107
<h2 id="course-content">About the Course</h2>
101108
<div class="cards">
102-
<div class="card" id="course-content">
109+
<div class="card">
103110

104111
<div class="card-header">
105112
<!-- <div><%#= image_tag("learn-icon", size: 32, alt: "icon") %></div>-->
@@ -121,22 +128,34 @@
121128
<%= yield :bonus %>
122129
</div>
123130
</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">
125136
<div class="card-title course-around">Ams ruby workshop</div>
126137
<div class="card-text">
127138
<%= yield :amsrb %>
128139
</div>
129140
</div>
141+
</div>
142+
143+
<h2 id="enroll now">Enroll now!</h2>
144+
<div class="cards">
130145
<div class="card" id="pricing">
131146
<div class="card-title course-around">Corona Pricing</div>
132147
<div class="card-text">
133148
<%= yield :pricing %>
134149
</div>
135150
</div>
136151
<div class="card">
137-
<div style="color: orange">enroll now
138-
</div>
152+
<div class="accented">enroll now</div>
139153
</div>
154+
</div>
155+
156+
157+
<h2 id="foryou">This is for you...</h2>
158+
<div class="cards">
140159
<div class="card">
141160
<div>
142161
<%= yield :foryou %>
@@ -147,6 +166,7 @@
147166
<%= yield :notforyou %>
148167
</div>
149168
</div>
169+
</div>
150170
<div class="card">
151171
<div>
152172
<%= yield :courseparts %>
@@ -157,11 +177,14 @@
157177

158178
<section>
159179
<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
163183
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">
164186
DJ about Maud:
187+
165188
</div>
166189
</div>
167190
</section>

0 commit comments

Comments
 (0)