@@ -27,29 +27,29 @@ header_links = [
2727 < p class = "mx-auto py-2 max-w-4xl text-base md:text-xl text-center " >
2828 < span class = "font-bold text-blue-300 " > Topics include:</ span >
2929 <%= for { { path , text } , index } <- Enum . with_index ( header_links ) do %>
30- < a href = " <%= path %> " class = "
30+ < a href = { path } class = { "
3131 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" }
3333 hover:text-white rounded-lg shadow-xl
34- "> <%= text %> </ a >
34+ " } > <%= text %> </ a >
3535 <% end %>
3636 </ p >
3737 < div hidden class = "max-w-3xl mx-auto mt-8 flex flex-col sm:flex-row justify-around " >
3838 < figure class = "pb-4 flex flex-col items-center " >
3939 < 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 " >
4141 </ div >
4242 < figcaption class = "text-lg md:text-xl font-bold " > Watch video lessons</ figcaption >
4343 </ figure >
4444 < figure class = "pb-4 flex flex-col items-center " >
4545 < 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 " >
4747 </ div >
4848 < figcaption class = "text-lg md:text-xl font-bold " > Learn SwiftUI & Combine</ figcaption >
4949 </ figure >
5050 < figure class = "pb-4 flex flex-col items-center " >
5151 < 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 " >
5353 </ div >
5454 < figcaption class = "text-lg md:text-xl font-bold " > Learn React</ figcaption >
5555 </ figure >
@@ -64,8 +64,15 @@ header_links = [
6464<%= subject_banner ( :cheatsheets ) %>
6565<%= subject_banner ( :robust_javascript_interactivity ) %>
6666
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+
6774< 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 ) } >
6976 < header class = "mb-8 mx-auto max-w-4xl px-2 text-center " >
7077 < h2 class = "text-3xl sm:text-4xl font-bold leading-snug " >
7178 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 = [
8289 ] ) %>
8390 </ section >
8491
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 ) } >
8693 < header class = "mb-8 mx-auto max-w-4xl px-4 text-center " >
8794 < h2 class = "text-4xl font-bold leading-snug " >
8895 Write friendly tests using Jest and BDD.
@@ -97,7 +104,7 @@ header_links = [
97104 ] ) %>
98105 </ section >
99106
100- < section class = "pt-20 pb-20 " style = " <%= sections_styles(:warm) %> " >
107+ < section class = "pt-20 pb-20 " style = { sections_styles ( :warm ) } >
101108 < header class = "mb-8 mx-auto max-w-4xl px-4 text-center " >
102109 < h2 class = "text-4xl font-bold leading-snug " >
103110 Naming is hard. Let’s make it easier.
@@ -111,7 +118,7 @@ header_links = [
111118 ] ) %>
112119 </ section >
113120
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 ) } >
115122 < header class = "mb-8 mx-auto max-w-4xl px-4 text-center " >
116123 < h2 class = "text-4xl font-bold leading-snug " >
117124 Find the right home for your state.
@@ -126,7 +133,7 @@ header_links = [
126133 ] ) %>
127134 </ section >
128135
129- < section hidden class = "pt-20 pb-20 " style = " <%= sections_styles(:cool) %> " >
136+ < section hidden class = "pt-20 pb-20 " style = { sections_styles ( :cool ) } >
130137 < header class = "mb-8 mx-auto max-w-4xl px-4 text-center " >
131138 < h2 class = "text-4xl font-bold leading-snug " >
132139 Make modern iOS and macOS apps using reusable components, async data flow.
@@ -146,7 +153,7 @@ header_links = [
146153 </ div >
147154 </ section >
148155
149- < section class = "pt-20 pb-16 " style = " <%= sections_styles(:warm) %> " >
156+ < section class = "pt-20 pb-16 " style = { sections_styles ( :warm ) } >
150157 < header class = "mb-8 mx-auto max-w-4xl px-4 text-center " >
151158 < h2 class = "text-4xl font-bold " > Learn to make modern web apps using components, hooks, async data flow.</ h2 >
152159 </ header >
@@ -181,26 +188,28 @@ header_links = [
181188 < div class = "container space-y-6 text-2xl md:text-3xl rounded " >
182189 < p >
183190 There’s a lot of learning materials on specific technologies out there. But technologies change — rapidly.
184-
191+ </ p >
185192 < p >
186193 Frameworks will come and go.
187194 React might be the hotness today, but in a few years another framework might well rule the roost.
188-
195+ </ p >
189196 < p >
190197 The guides here cover what will remain relevant for decades to come:
198+ </ p >
191199
192200 < 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 >
200208 </ ul >
201209
202210 < p >
203211 It’s all free to read and share.
212+ </ p >
204213 </ div >
205214 </ aside >
206215</ div >
0 commit comments