|
51 | 51 | </div>
|
52 | 52 | <% end %>
|
53 | 53 |
|
54 |
| -<div class="py-4 text-white bg-gray-800"> |
55 |
| - <% if true do %> |
56 |
| - <section class="mt-8 flex flex-col items-center justify-center"> |
57 |
| - <div class="w-full max-w-md border border-gray-900 rounded overflow-hidden shadow-lg"> |
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"> |
59 |
| - <span class="text-3xl"><%= "Learn SwiftUI" %></span> |
60 |
| - <br> |
61 |
| - The future of UI from Apple |
62 |
| - </a> |
63 |
| - <a href="#" class="block max-w-md w-full px-8 py-4 font-bold bg-red-800 text-white border-t border-red-900 hover:bg-white hover:text-red-600 shadow-xl hover:shadow-lg"> |
64 |
| - <span class="text-3xl"><%= "Learn Combine" %></span> |
65 |
| - <br> |
66 |
| - Swift async data flow refined |
67 |
| - </a> |
68 |
| - </div> |
69 |
| - </section> |
70 |
| - <% end %> |
71 |
| - |
72 |
| - <section class="mt-8"> |
| 54 | +<div class="text-white bg-gray-800"> |
| 55 | + <section class="pt-20"> |
73 | 56 | <header class="mb-8 mx-auto max-w-4xl text-center">
|
74 |
| - <h2 class="text-4xl font-bold">Learn to make modern iOS and macOS apps using components, async data flow.</h2> |
| 57 | + <h2 class="text-4xl font-bold leading-snug"> |
| 58 | + Make modern iOS and macOS apps using reusable components, async data flow. |
| 59 | + </h2> |
75 | 60 | </header>
|
76 |
| - <div class="w-full max-w-md mx-auto border border-gray-300 rounded overflow-hidden shadow-lg"> |
77 |
| - <a href="/swiftui" class="block w-full px-8 py-4 font-bold bg-orange-100 text-orange-700 hover:bg-white hover:text-orange-600 hover:border-white shadow-xl hover:shadow-lg"> |
| 61 | + <div class="w-full max-w-md mx-auto rounded overflow-hidden shadow-lg"> |
| 62 | + <a href="/swiftui" class="block w-full px-8 py-4 font-bold bg-orange-100 text-orange-600 border-l-4 border-orange-500 hover:bg-orange-200 hover:text-orange-700 shadow-xl"> |
78 | 63 | <span class="text-3xl"><%= "Learn SwiftUI" %></span>
|
79 | 64 | <br>
|
80 | 65 | The future of UI from Apple
|
81 | 66 | </a>
|
82 |
| - <a href="#" class="block max-w-md w-full px-8 py-4 font-bold bg-red-100 text-red-700 border-t border-red-200 hover:bg-white hover:text-red-600 shadow-xl hover:shadow-lg"> |
| 67 | + <a href="#" class="block max-w-md w-full px-8 py-4 font-bold bg-red-100 text-red-600 border-t border-l-4 border-red-500 hover:bg-red-200 hover:text-red-700 shadow-xl"> |
83 | 68 | <span class="text-3xl"><%= "Learn Combine" %></span>
|
84 | 69 | <br>
|
85 | 70 | Swift async data flow refined
|
86 | 71 | </a>
|
87 | 72 | </div>
|
88 | 73 | </section>
|
89 | 74 |
|
90 |
| - <section class="m-16"> |
| 75 | + <section class="pt-20 pb-16"> |
91 | 76 | <header class="mb-8 mx-auto max-w-4xl text-center">
|
92 | 77 | <h2 class="text-4xl font-bold">Learn to make modern web apps using components, hooks, async data flow.</h2>
|
93 | 78 | </header>
|
94 |
| - <div class="w-full max-w-md mx-auto border border-gray-300 rounded overflow-hidden shadow-lg"> |
95 |
| - <a href="#" class="block max-w-md w-full px-8 py-4 font-bold bg-blue-100 text-blue-700 hover:bg-white hover:text-blue-600 shadow-xl hover:shadow-lg"> |
| 79 | + <div class="w-full max-w-md mx-auto rounded overflow-hidden shadow-lg"> |
| 80 | + <a href="#" class="block max-w-md w-full px-8 py-4 font-bold bg-blue-100 text-blue-600 border-l-4 border-blue-500 hover:bg-blue-200 hover:text-blue-700 shadow-xl hover:shadow-lg"> |
96 | 81 | <span class="text-3xl"><%= "Learn React" %></span>
|
97 | 82 | <br>
|
98 | 83 | The venerable component-first library
|
99 | 84 | </a>
|
100 |
| - <a href="#" class="block max-w-md w-full px-8 py-4 font-bold bg-indigo-100 text-indigo-700 border-t border-indigo-200 hover:bg-white hover:text-indigo-600 shadow-xl hover:shadow-lg"> |
| 85 | + <a href="#" class="block max-w-md w-full px-8 py-4 font-bold bg-indigo-100 text-indigo-600 border-t border-l-4 border-indigo-500 hover:bg-indigo-200 hover:text-indigo-700 shadow-xl hover:shadow-lg"> |
101 | 86 | <span class="text-3xl"><%= "Learn TypeScript" %></span>
|
102 | 87 | <br>
|
103 | 88 | Safer, more expressive code
|
104 | 89 | </a>
|
105 |
| - <a href="#" class="block max-w-md w-full px-8 py-4 font-bold bg-pink-100 text-pink-700 border-t border-pink-200 hover:bg-white hover:text-pink-600 shadow-xl hover:shadow-lg"> |
| 90 | + <a href="#" class="block max-w-md w-full px-8 py-4 font-bold bg-pink-100 text-pink-600 border-t border-l-4 border-pink-500 hover:bg-pink-200 hover:text-pink-700 shadow-xl hover:shadow-lg"> |
106 | 91 | <span class="text-3xl"><%= "Learn RxJS" %></span>
|
107 | 92 | <br>
|
108 | 93 | Reusable, testable data models
|
|
0 commit comments