@@ -27,29 +27,29 @@ header_links = [
27
27
< p class = "mx-auto py-2 max-w-4xl text-base md:text-xl text-center " >
28
28
< span class = "font-bold text-blue-300 " > Topics include:</ span >
29
29
<%= for { { path , text } , index } <- Enum . with_index ( header_links ) do %>
30
- < a href = " <%= path %> " class = "
30
+ < a href = { path } class = { "
31
31
inline-block md:mx-1 mb-2 md:mb-3 px-3 md:px-4 py-1 md:py-2 font-bold bg-slate-800/50 border-t-2 border-t-white/5 border-l-2 border-l-white/5
32
- <%= if index <= 5, do: "text-blue-300 hover:bg-blue-700 border-b-2 border-blue-900 shadow-lg hover:shadow-sm shadow-blue-900 /50 bg-gradient-to-br from-blue-100 /5 to-blue-900 /25 ", else: "text-indigo-300 hover:bg-indigo-700 border-b-2 border-indigo-900 shadow-lg hover:shadow-sm shadow-indigo-900 /50 bg-gradient-to-br from-indigo-100 /5 to-indigo-900 /25 " % >
32
+ #{ if index <= 5 , do: "text-blue-300 hover:bg-blue-700 border-b-2 border-blue-900 shadow-lg hover:shadow-sm shadow-blue-900/50 bg-gradient-to-br from-blue-100/5 to-blue-900/25" , else: "text-indigo-300 hover:bg-indigo-700 border-b-2 border-indigo-900 shadow-lg hover:shadow-sm shadow-indigo-900/50 bg-gradient-to-br from-indigo-100/5 to-indigo-900/25" }
33
33
hover:text-white rounded-lg shadow-xl
34
- "> <%= text %> </ a >
34
+ " } > <%= text %> </ a >
35
35
<% end %>
36
36
</ p >
37
37
< div hidden class = "max-w-3xl mx-auto mt-8 flex flex-col sm:flex-row justify-around " >
38
38
< figure class = "pb-4 flex flex-col items-center " >
39
39
< div style = "height: 92px; " >
40
- < img src = "https://collected.systems/1/github/leungwensen/svg-icon/b84b3f3a3da329b7c1d02346865f8e98beb05413/dist/svg/material/play-circle-outline.svg?defaultFill=white " width = 92 height = 92 >
40
+ < img src = "https://collected.systems/1/github/leungwensen/svg-icon/b84b3f3a3da329b7c1d02346865f8e98beb05413/dist/svg/material/play-circle-outline.svg?defaultFill=white " width = " 92 " height = " 92 " >
41
41
</ div >
42
42
< figcaption class = "text-lg md:text-xl font-bold " > Watch video lessons</ figcaption >
43
43
</ figure >
44
44
< figure class = "pb-4 flex flex-col items-center " >
45
45
< div style = "height: 92px; " >
46
- < img src = "https://collected.systems/1/github/leungwensen/svg-icon/b84b3f3a3da329b7c1d02346865f8e98beb05413/dist/svg/dev/swift.svg?defaultFill=white " width = 92 height = 92 >
46
+ < img src = "https://collected.systems/1/github/leungwensen/svg-icon/b84b3f3a3da329b7c1d02346865f8e98beb05413/dist/svg/dev/swift.svg?defaultFill=white " width = " 92 " height = " 92 " >
47
47
</ div >
48
48
< figcaption class = "text-lg md:text-xl font-bold " > Learn SwiftUI & Combine</ figcaption >
49
49
</ figure >
50
50
< figure class = "pb-4 flex flex-col items-center " >
51
51
< div style = "height: 92px; " >
52
- < img src = "https://collected.systems/1/github/leungwensen/svg-icon/b84b3f3a3da329b7c1d02346865f8e98beb05413/dist/svg/dev/react.svg?defaultFill=white " width = 92 height = 92 >
52
+ < img src = "https://collected.systems/1/github/leungwensen/svg-icon/b84b3f3a3da329b7c1d02346865f8e98beb05413/dist/svg/dev/react.svg?defaultFill=white " width = " 92 " height = " 92 " >
53
53
</ div >
54
54
< figcaption class = "text-lg md:text-xl font-bold " > Learn React</ figcaption >
55
55
</ figure >
@@ -64,8 +64,15 @@ header_links = [
64
64
<%= subject_banner ( :cheatsheets ) %>
65
65
<%= subject_banner ( :robust_javascript_interactivity ) %>
66
66
67
+ < div class = "pt-16 pb-16 bg-black " >
68
+ < section class = "prose md:prose-xl prose-invert max-w-6xl mx-auto px-3 " aria-labelledby = "developer-calendar " >
69
+ < h2 class = "text-center " id = "developer-calendar " > Developer Calendar</ h2 >
70
+ < ComponentsGuideWeb.DevCalendarComponent . calendar />
71
+ </ section >
72
+ </ div >
73
+
67
74
< div hidden class = "text-white " >
68
- < section class = "pt-20 pb-20 " style = " <%= sections_styles(:dark) %> " >
75
+ < section class = "pt-20 pb-20 " style = { sections_styles ( :dark ) } >
69
76
< header class = "mb-8 mx-auto max-w-4xl px-2 text-center " >
70
77
< h2 class = "text-3xl sm:text-4xl font-bold leading-snug " >
71
78
Learn why accessibility is essential for a great UX, and use the same affordances to improve your own Developer Experience.
@@ -82,7 +89,7 @@ header_links = [
82
89
] ) %>
83
90
</ section >
84
91
85
- < section class = "pt-20 pb-20 text-blue-800 " style = " <%= sections_styles(:cool_light) %> " >
92
+ < section class = "pt-20 pb-20 text-blue-800 " style = { sections_styles ( :cool_light ) } >
86
93
< header class = "mb-8 mx-auto max-w-4xl px-4 text-center " >
87
94
< h2 class = "text-4xl font-bold leading-snug " >
88
95
Write friendly tests using Jest and BDD.
@@ -97,7 +104,7 @@ header_links = [
97
104
] ) %>
98
105
</ section >
99
106
100
- < section class = "pt-20 pb-20 " style = " <%= sections_styles(:warm) %> " >
107
+ < section class = "pt-20 pb-20 " style = { sections_styles ( :warm ) } >
101
108
< header class = "mb-8 mx-auto max-w-4xl px-4 text-center " >
102
109
< h2 class = "text-4xl font-bold leading-snug " >
103
110
Naming is hard. Let’s make it easier.
@@ -111,7 +118,7 @@ header_links = [
111
118
] ) %>
112
119
</ section >
113
120
114
- < section class = "pt-20 pb-20 text-blue-800 " style = " <%= sections_styles(:cool_light) %> " >
121
+ < section class = "pt-20 pb-20 text-blue-800 " style = { sections_styles ( :cool_light ) } >
115
122
< header class = "mb-8 mx-auto max-w-4xl px-4 text-center " >
116
123
< h2 class = "text-4xl font-bold leading-snug " >
117
124
Find the right home for your state.
@@ -126,7 +133,7 @@ header_links = [
126
133
] ) %>
127
134
</ section >
128
135
129
- < section hidden class = "pt-20 pb-20 " style = " <%= sections_styles(:cool) %> " >
136
+ < section hidden class = "pt-20 pb-20 " style = { sections_styles ( :cool ) } >
130
137
< header class = "mb-8 mx-auto max-w-4xl px-4 text-center " >
131
138
< h2 class = "text-4xl font-bold leading-snug " >
132
139
Make modern iOS and macOS apps using reusable components, async data flow.
@@ -146,7 +153,7 @@ header_links = [
146
153
</ div >
147
154
</ section >
148
155
149
- < section class = "pt-20 pb-16 " style = " <%= sections_styles(:warm) %> " >
156
+ < section class = "pt-20 pb-16 " style = { sections_styles ( :warm ) } >
150
157
< header class = "mb-8 mx-auto max-w-4xl px-4 text-center " >
151
158
< h2 class = "text-4xl font-bold " > Learn to make modern web apps using components, hooks, async data flow.</ h2 >
152
159
</ header >
@@ -181,26 +188,28 @@ header_links = [
181
188
< div class = "container space-y-6 text-2xl md:text-3xl rounded " >
182
189
< p >
183
190
There’s a lot of learning materials on specific technologies out there. But technologies change — rapidly.
184
-
191
+ </ p >
185
192
< p >
186
193
Frameworks will come and go.
187
194
React might be the hotness today, but in a few years another framework might well rule the roost.
188
-
195
+ </ p >
189
196
< p >
190
197
The guides here cover what will remain relevant for decades to come:
198
+ </ p >
191
199
192
200
< ul class = "list-disc pl-8 font-bold " >
193
- < li class = "text-red-300 " > <%= "Great UX and performance" %>
194
- < li class = "text-cyan-300 " > <%= "Accessibility" %>
195
- < li class = "text-blue-300 " > <%= "Component naming & responsibility" %>
196
- < li class = "text-green-300 " > <%= "TDD & BDD" %>
197
- < li class = "text-yellow-300 " > <%= "Thinking about state" %>
198
- < li class = "text-orange-300 " > <%= "Modular styling with modern CSS" %>
199
- < li class = "text-purple-300 " > <%= "Leveraging what’s built into browsers first" %>
201
+ < li class = "text-red-300 " > <%= "Great UX and performance" %> </ li >
202
+ < li class = "text-cyan-300 " > <%= "Accessibility" %> </ li >
203
+ < li class = "text-blue-300 " > <%= "Component naming & responsibility" %> </ li >
204
+ < li class = "text-green-300 " > <%= "TDD & BDD" %> </ li >
205
+ < li class = "text-yellow-300 " > <%= "Thinking about state" %> </ li >
206
+ < li class = "text-orange-300 " > <%= "Modular styling with modern CSS" %> </ li >
207
+ < li class = "text-purple-300 " > <%= "Leveraging what’s built into browsers first" %> </ li >
200
208
</ ul >
201
209
202
210
< p >
203
211
It’s all free to read and share.
212
+ </ p >
204
213
</ div >
205
214
</ aside >
206
215
</ div >
0 commit comments