Skip to content

Commit acc34e0

Browse files
committed
Improve cells at bottom of landing
1 parent d8f3840 commit acc34e0

File tree

1 file changed

+13
-28
lines changed
  • apps/components_guide_web/lib/components_guide_web/templates/landing

1 file changed

+13
-28
lines changed

apps/components_guide_web/lib/components_guide_web/templates/landing/index.html.eex

Lines changed: 13 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -51,58 +51,43 @@
5151
</div>
5252
<% end %>
5353

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">
7356
<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>
7560
</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">
7863
<span class="text-3xl"><%= "Learn SwiftUI" %></span>
7964
<br>
8065
The future of UI from Apple
8166
</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">
8368
<span class="text-3xl"><%= "Learn Combine" %></span>
8469
<br>
8570
Swift async data flow refined
8671
</a>
8772
</div>
8873
</section>
8974

90-
<section class="m-16">
75+
<section class="pt-20 pb-16">
9176
<header class="mb-8 mx-auto max-w-4xl text-center">
9277
<h2 class="text-4xl font-bold">Learn to make modern web apps using components, hooks, async data flow.</h2>
9378
</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">
9681
<span class="text-3xl"><%= "Learn React" %></span>
9782
<br>
9883
The venerable component-first library
9984
</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">
10186
<span class="text-3xl"><%= "Learn TypeScript" %></span>
10287
<br>
10388
Safer, more expressive code
10489
</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">
10691
<span class="text-3xl"><%= "Learn RxJS" %></span>
10792
<br>
10893
Reusable, testable data models

0 commit comments

Comments
 (0)