1
1
<%= if true do %>
2
- < div class = "bg-purple-700 text-white " style = "background: linear-gradient(-32deg, #840000 0%, #E0003C 30%, #FF493F 50%, #FF584A 50%, #FF6F86 90%, #FF584A 120%); " >
2
+ < div class = "text-white " style = "background: linear-gradient(-32deg, #840000 0%, #E0003C 30%, #FF493F 50%, #FF584A 50%, #FF6F86 90%, #FF584A 120%); " >
3
3
< section class = "container px-6 pt-12 pb-16 " >
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." %>
7
7
</ h1 >
8
- < p class = "mt-6 mb-8 mx-auto max-w-3xl text-4xl text-center leading-snug italic text-purple -100 text-shadow " >
8
+ < p class = "mt-6 mb-8 mx-auto max-w-3xl text-4xl text-center leading-snug italic text-red -100 text-shadow " >
9
9
<%= "Learn the techniques that work best across a range of component systems." %>
10
10
</ p >
11
11
< p class = "mx-auto py-2 max-w-4xl text-xl text-center " >
17
17
</ section >
18
18
</ div >
19
19
<% else %>
20
- < div class = "bg-purple-100 text-purple-700 " style = "background: linear-gradient(-60deg , #006DB1 -20 %, #AB29CF 50%, #00C6FF 120%); " >
20
+ < div class = "text-white " style = "background: linear-gradient(-32deg , #840000 0 %, #E0003C 30%, #FF493F 50%, #FF584A 50%, #FF6F86 90%, #FF584A 120%); " >
21
21
< section class = "container px-6 pt-12 pb-16 " >
22
22
< h1 class = "mx-auto max-w-5xl text-5xl text-center leading-snug font-bold " >
23
23
<%# = "Great apps need great components. Learn how to make them in SwiftUI & React." %>
24
24
<%= "Great apps need great components. Learn how in SwiftUI, Combine, React & RxJS." %>
25
25
</ h1 >
26
- < p class = "mt-6 mb-8 mx-auto max-w-3xl text-4xl text-center italic leading-snug text-purple-700 " >
26
+ < p class = "mt-6 mb-8 mx-auto max-w-3xl text-4xl text-center italic leading-snug text-orange-100 " >
27
27
<%# = "Learn the techniques that have worked best across a range of component systems." %>
28
28
<%= "Learn the techniques that have worked best for modern component systems." %>
29
29
</ p >
37
37
</ div >
38
38
<% end %>
39
39
40
- < div class = "py-4 bg-purple-900 " >
41
- < section class = "m-8 flex items-center justify-center " >
42
- < a href = "/swiftui " class = "block max-w-md w-full mx-1 mb-3 px-8 py-4 font-bold bg-orange-100 text-orange-700 border border-orange-800 hover:bg-white hover:text-orange-600 hover:border-white rounded shadow-xl hover:shadow-lg " >
43
- < span class = "text-3xl " > <%= "Learn SwiftUI" %> </ span >
44
- < br >
45
- The future of UI from Apple
46
- </ a >
40
+ < div class = "py-4 bg-white " >
41
+ <% if false do %>
42
+ < section class = "mt-8 flex flex-col items-center justify-center " >
43
+ < div class = "w-full max-w-md border border-gray-900 rounded overflow-hidden shadow-lg " >
44
+ < 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 " >
45
+ < span class = "text-3xl " > <%= "Learn SwiftUI" %> </ span >
46
+ < br >
47
+ The future of UI from Apple
48
+ </ a >
49
+ < 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 " >
50
+ < span class = "text-3xl " > <%= "Learn Combine" %> </ span >
51
+ < br >
52
+ Swift async data flow refined
53
+ </ a >
54
+ </ div >
47
55
</ section >
48
- < section class = "m-8 flex items-center justify-center " >
49
- < a href = "# " class = "block max-w-md w-full mx-1 mb-3 px-8 py-4 font-bold bg-red-100 text-red-700 border border-red-800 hover:bg-white hover:text-red-600 hover:border-white rounded shadow-xl hover:shadow-lg " >
50
- < span class = "text-3xl " > <%= "Learn Combine" %> </ span >
51
- < br >
52
- Swift async data flow refined
53
- </ a >
54
- </ section >
55
- < section class = "m-8 flex items-center justify-center " >
56
- < a href = "# " class = "block max-w-md w-full mx-1 mb-3 px-8 py-4 font-bold bg-blue-100 text-blue-700 border border-blue-800 hover:bg-white hover:text-blue-600 hover:border-white rounded shadow-xl hover:shadow-lg " >
57
- < span class = "text-3xl " > <%= "Learn React" %> </ span >
58
- < br >
59
- The venerable component library
60
- </ a >
61
- </ section >
62
- < section class = "m-8 flex items-center justify-center " >
63
- < a href = "# " class = "block max-w-md w-full mx-1 mb-3 px-8 py-4 font-bold bg-indigo-100 text-indigo-700 border border-indigo-800 hover:bg-white hover:text-indigo-600 hover:border-white rounded shadow-xl hover:shadow-lg " >
64
- < span class = "text-3xl " > <%= "Learn TypeScript" %> </ span >
65
- < br >
66
- Safer, more expressive code
67
- </ a >
56
+ <% end %>
57
+
58
+ < section class = "mt-8 " >
59
+ < header class = "mb-8 mx-auto max-w-4xl text-center " >
60
+ < h2 class = "text-4xl font-bold " > Learn to make modern iOS and macOS apps using components, async data flow.</ h2 >
61
+ </ header >
62
+ < div class = "w-full max-w-md mx-auto border border-gray-300 rounded overflow-hidden shadow-lg " >
63
+ < 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 " >
64
+ < span class = "text-3xl " > <%= "Learn SwiftUI" %> </ span >
65
+ < br >
66
+ The future of UI from Apple
67
+ </ a >
68
+ < 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 " >
69
+ < span class = "text-3xl " > <%= "Learn Combine" %> </ span >
70
+ < br >
71
+ Swift async data flow refined
72
+ </ a >
73
+ </ div >
68
74
</ section >
69
- < section class = "m-8 flex items-center justify-center " >
70
- < a href = "# " class = "block max-w-md w-full mx-1 mb-3 px-8 py-4 font-bold bg-pink-100 text-pink-700 border border-pink-800 hover:bg-white hover:text-pink-600 hover:border-white rounded shadow-xl hover:shadow-lg " >
71
- < span class = "text-3xl " > <%= "Learn RxJS" %> </ span >
72
- < br >
73
- Reusable, testable data models
74
- </ a >
75
+
76
+ < section class = "m-16 " >
77
+ < header class = "mb-8 mx-auto max-w-4xl text-center " >
78
+ < h2 class = "text-4xl font-bold " > Learn to make modern web apps using components, hooks, async data flow.</ h2 >
79
+ </ header >
80
+ < div class = "w-full max-w-md mx-auto border border-gray-300 rounded overflow-hidden shadow-lg " >
81
+ < 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 " >
82
+ < span class = "text-3xl " > <%= "Learn React" %> </ span >
83
+ < br >
84
+ The venerable component-first library
85
+ </ a >
86
+ < 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 " >
87
+ < span class = "text-3xl " > <%= "Learn TypeScript" %> </ span >
88
+ < br >
89
+ Safer, more expressive code
90
+ </ a >
91
+ < 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 " >
92
+ < span class = "text-3xl " > <%= "Learn RxJS" %> </ span >
93
+ < br >
94
+ Reusable, testable data models
95
+ </ a >
96
+ </ div >
75
97
</ section >
76
98
</ div >
0 commit comments