|
1 | 1 | <%= if true do %>
|
2 | 2 | <div class="text-white" style="background: linear-gradient(-32deg, #840000 0%, #E0003C 30%, #FF493F 50%, #FF584A 50%, #FF6F86 90%, #FF584A 120%);">
|
3 |
| - <section class="container px-6 pt-12 pb-16"> |
| 3 | + <section class="container px-6 pt-12 pb-8"> |
4 | 4 | <h1 class="mx-auto max-w-4xl text-5xl text-center leading-snug font-bold text-shadow">
|
5 | 5 | <%#= "Great apps need great components. Learn how to make them in SwiftUI and React." %>
|
6 | 6 | <%= "Great apps need great components. Learn by making in SwiftUI or React." %>
|
|
11 | 11 | <p class="mx-auto py-2 max-w-4xl text-xl text-center">
|
12 | 12 | Topics include:
|
13 | 13 | <%= for {text, index} <- Enum.with_index(["SwiftUI", "React", "Combine", "RxJS", "Figma", "Sketch", "Performance", "Clarity", "Documentation", "Responsive", "Design Teams"]) do %>
|
14 |
| - <a href="#" class="inline-block mx-1 mb-3 px-4 py-2 font-bold bg-white <%= if index <= 5, do: "text-blue-500 hover:bg-blue-600", else: "text-red-500 hover:bg-red-600" %> hover:text-white rounded shadow-xl"><%= text %></a> |
| 14 | + <a href="#" class="inline-block mx-1 mb-3 px-4 py-2 font-bold bg-white <%= if index <= 5, do: "text-blue-500 hover:bg-blue-600", else: "text-indigo-500 hover:bg-indigo-600" %> hover:text-white rounded shadow-xl"><%= text %></a> |
15 | 15 | <% end %>
|
16 | 16 | </p>
|
| 17 | + <div class="max-w-3xl mx-auto mt-8 flex flex-row justify-around"> |
| 18 | + <figure class="flex flex-col items-center"> |
| 19 | + <img src="https://collected.systems/1/github/leungwensen/svg-icon/b84b3f3a3da329b7c1d02346865f8e98beb05413/dist/svg/material/play-circle-outline.svg?defaultFill=white" width=92 height=92> |
| 20 | + <figcaption class="text-xl font-bold">Watch video lessons</figcaption> |
| 21 | + </figure> |
| 22 | + <figure class="flex flex-col items-center"> |
| 23 | + <img src="https://collected.systems/1/github/leungwensen/svg-icon/b84b3f3a3da329b7c1d02346865f8e98beb05413/dist/svg/dev/swift.svg?defaultFill=white" width=92 height=92> |
| 24 | + <figcaption class="text-xl font-bold">Learn SwiftUI & Combine</figcaption> |
| 25 | + </figure> |
| 26 | + <figure class="flex flex-col items-center"> |
| 27 | + <img src="https://collected.systems/1/github/leungwensen/svg-icon/b84b3f3a3da329b7c1d02346865f8e98beb05413/dist/svg/dev/react.svg?defaultFill=white" width=92 height=92> |
| 28 | + <figcaption class="text-xl font-bold">Learn React</figcaption> |
| 29 | + </figure> |
| 30 | + </div> |
17 | 31 | </section>
|
18 | 32 | </div>
|
19 | 33 | <% else %>
|
|
37 | 51 | </div>
|
38 | 52 | <% end %>
|
39 | 53 |
|
40 |
| -<div class="py-4 bg-white"> |
41 |
| - <% if false do %> |
| 54 | +<div class="py-4 text-white bg-gray-800"> |
| 55 | + <% if true do %> |
42 | 56 | <section class="mt-8 flex flex-col items-center justify-center">
|
43 | 57 | <div class="w-full max-w-md border border-gray-900 rounded overflow-hidden shadow-lg">
|
44 | 58 | <a href="/swiftui" class="block w-full px-8 py-4 font-bold bg-orange-800 text-white hover:bg-white hover:text-orange-600 hover:border-white shadow-xl hover:shadow-lg">
|
|
0 commit comments