Skip to content

Commit ff4faca

Browse files
committed
Simplify homepage content density
1 parent 6b617bd commit ff4faca

3 files changed

Lines changed: 138 additions & 120 deletions

File tree

app/views/pages/_header.html.erb

Lines changed: 36 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<section class="overflow-hidden rounded-[2rem] border border-white/80 bg-white/80 p-6 shadow-[0_24px_70px_-48px_rgba(15,23,42,0.45)] backdrop-blur sm:p-8">
22
<div class="flex flex-col gap-6 lg:flex-row lg:items-end lg:justify-between">
3-
<div class="max-w-3xl">
4-
<p class="text-xs font-semibold uppercase tracking-[0.28em] text-sky-700">Project Snapshot</p>
5-
<h2 class="mt-3 text-4xl text-slate-900">Useful links, deployment context, and support paths without the old wall of bullets.</h2>
3+
<div class="max-w-2xl">
4+
<p class="text-xs font-semibold uppercase tracking-[0.28em] text-sky-700">Quick Links</p>
5+
<h2 class="mt-3 text-4xl text-slate-900">Pull the next thing you need, not the whole library.</h2>
66
<p class="mt-3 text-base leading-7 text-slate-600">
7-
This tutorial is more than a starter app. It also documents the real project context around deployment, docs, videos, and support.
7+
Start with the essentials here. Open the extra reading only if you want more context.
88
</p>
99
</div>
1010

@@ -17,54 +17,62 @@
1717
</div>
1818
</div>
1919

20-
<div class="mt-8 grid gap-4 md:grid-cols-2 xl:grid-cols-3">
21-
<%= link_to "https://www.shakacode.com/work/index.html",
22-
class: "group rounded-3xl border border-slate-200 bg-slate-50/80 p-5 transition hover:-translate-y-0.5 hover:border-sky-300 hover:bg-white hover:no-underline hover:shadow-lg hover:shadow-sky-100" do %>
23-
<p class="text-sm font-semibold uppercase tracking-[0.22em] text-sky-700">Services</p>
24-
<p class="mt-3 text-xl font-semibold text-slate-900">Can ShakaCode help you?</p>
25-
<p class="mt-2 text-sm leading-6 text-slate-600">ShakaCode is actively seeking new React, React Native, and Rails projects, with support ranging from code reviews to pairing.</p>
26-
<% end %>
20+
<div class="mt-8 grid gap-4 md:grid-cols-2 xl:grid-cols-4">
2721

2822
<%= link_to "https://github.com/shakacode/control-plane-flow",
2923
class: "group rounded-3xl border border-slate-200 bg-slate-50/80 p-5 transition hover:-translate-y-0.5 hover:border-sky-300 hover:bg-white hover:no-underline hover:shadow-lg hover:shadow-sky-100" do %>
3024
<p class="text-sm font-semibold uppercase tracking-[0.22em] text-sky-700">Deployment</p>
3125
<p class="mt-3 text-xl font-semibold text-slate-900">control-plane-flow Library</p>
32-
<p class="mt-2 text-sm leading-6 text-slate-600">See the library behind the review-app and deployment flow, including the slash-command-driven Control Plane workflow used around this project.</p>
26+
<p class="mt-2 text-sm leading-6 text-slate-600">The library behind this project’s review-app workflow.</p>
3327
<% end %>
3428

3529
<%= link_to "#review-app-commands",
3630
class: "group rounded-3xl border border-slate-200 bg-slate-50/80 p-5 transition hover:-translate-y-0.5 hover:border-sky-300 hover:bg-white hover:no-underline hover:shadow-lg hover:shadow-sky-100" do %>
3731
<p class="text-sm font-semibold uppercase tracking-[0.22em] text-sky-700">Review Apps</p>
3832
<p class="mt-3 text-xl font-semibold text-slate-900">Quick PR Commands</p>
39-
<p class="mt-2 text-sm leading-6 text-slate-600">Promote the fast path for preview environments with <code>/deploy-review-app</code>, <code>/delete-review-app</code>, and <code>/help</code>.</p>
33+
<p class="mt-2 text-sm leading-6 text-slate-600">Keep <code>/deploy-review-app</code>, <code>/delete-review-app</code>, and <code>/help</code> close.</p>
4034
<% end %>
4135

4236
<%= link_to "https://github.com/shakacode/react-webpack-rails-tutorial/blob/master/README.md",
4337
class: "group rounded-3xl border border-slate-200 bg-slate-50/80 p-5 transition hover:-translate-y-0.5 hover:border-sky-300 hover:bg-white hover:no-underline hover:shadow-lg hover:shadow-sky-100" do %>
4438
<p class="text-sm font-semibold uppercase tracking-[0.22em] text-sky-700">Build Notes</p>
4539
<p class="mt-3 text-xl font-semibold text-slate-900">Repository README</p>
46-
<p class="mt-2 text-sm leading-6 text-slate-600">See how the app is wired together, how to boot it locally, and how the React on Rails integration is structured.</p>
40+
<p class="mt-2 text-sm leading-6 text-slate-600">Setup, structure, and local run instructions.</p>
4741
<% end %>
4842

4943
<%= link_to "https://shakacode.gitbooks.io/react-on-rails/content/",
5044
class: "group rounded-3xl border border-slate-200 bg-slate-50/80 p-5 transition hover:-translate-y-0.5 hover:border-sky-300 hover:bg-white hover:no-underline hover:shadow-lg hover:shadow-sky-100" do %>
5145
<p class="text-sm font-semibold uppercase tracking-[0.22em] text-sky-700">Docs</p>
5246
<p class="mt-3 text-xl font-semibold text-slate-900">React on Rails Documentation</p>
53-
<p class="mt-2 text-sm leading-6 text-slate-600">Dive into the official guides when you want more than the demo can reasonably show in one screen.</p>
47+
<p class="mt-2 text-sm leading-6 text-slate-600">Go deeper once the live demo clicks.</p>
5448
<% end %>
49+
</div>
5550

56-
<%= link_to "https://www.shakacode.com/blog/the-react-on-rails-doctrine",
57-
class: "group rounded-3xl border border-slate-200 bg-slate-50/80 p-5 transition hover:-translate-y-0.5 hover:border-sky-300 hover:bg-white hover:no-underline hover:shadow-lg hover:shadow-sky-100" do %>
58-
<p class="text-sm font-semibold uppercase tracking-[0.22em] text-sky-700">Doctrine</p>
59-
<p class="mt-3 text-xl font-semibold text-slate-900">React on Rails Philosophy</p>
60-
<p class="mt-2 text-sm leading-6 text-slate-600">Read the architectural rationale behind mixing Rails and React without surrendering the strengths of either.</p>
61-
<% end %>
51+
<details class="mt-5 rounded-[1.5rem] border border-slate-200 bg-slate-50/70 p-5">
52+
<summary class="cursor-pointer text-sm font-semibold text-slate-900">
53+
More reading and support
54+
</summary>
55+
<div class="mt-4 grid gap-4 md:grid-cols-3">
56+
<%= link_to "https://www.shakacode.com/work/index.html",
57+
class: "group rounded-3xl border border-slate-200 bg-white/80 p-5 transition hover:-translate-y-0.5 hover:border-sky-300 hover:bg-white hover:no-underline hover:shadow-lg hover:shadow-sky-100" do %>
58+
<p class="text-sm font-semibold uppercase tracking-[0.22em] text-sky-700">Services</p>
59+
<p class="mt-3 text-xl font-semibold text-slate-900">ShakaCode Help</p>
60+
<p class="mt-2 text-sm leading-6 text-slate-600">Consulting, pairing, and delivery support.</p>
61+
<% end %>
6262

63-
<%= link_to "https://www.youtube.com/playlist?list=PL5VAKH-U1M6dj84BApfUtvBjvF-0-JfEU",
64-
class: "group rounded-3xl border border-slate-200 bg-slate-50/80 p-5 transition hover:-translate-y-0.5 hover:border-sky-300 hover:bg-white hover:no-underline hover:shadow-lg hover:shadow-sky-100" do %>
65-
<p class="text-sm font-semibold uppercase tracking-[0.22em] text-sky-700">Video</p>
66-
<p class="mt-3 text-xl font-semibold text-slate-900">Tutorial Series</p>
67-
<p class="mt-2 text-sm leading-6 text-slate-600">Watch the original walkthrough when you want the historical context and the step-by-step build process.</p>
68-
<% end %>
69-
</div>
63+
<%= link_to "https://www.shakacode.com/blog/the-react-on-rails-doctrine",
64+
class: "group rounded-3xl border border-slate-200 bg-white/80 p-5 transition hover:-translate-y-0.5 hover:border-sky-300 hover:bg-white hover:no-underline hover:shadow-lg hover:shadow-sky-100" do %>
65+
<p class="text-sm font-semibold uppercase tracking-[0.22em] text-sky-700">Doctrine</p>
66+
<p class="mt-3 text-xl font-semibold text-slate-900">Philosophy</p>
67+
<p class="mt-2 text-sm leading-6 text-slate-600">Why Rails and React belong together here.</p>
68+
<% end %>
69+
70+
<%= link_to "https://www.youtube.com/playlist?list=PL5VAKH-U1M6dj84BApfUtvBjvF-0-JfEU",
71+
class: "group rounded-3xl border border-slate-200 bg-white/80 p-5 transition hover:-translate-y-0.5 hover:border-sky-300 hover:bg-white hover:no-underline hover:shadow-lg hover:shadow-sky-100" do %>
72+
<p class="text-sm font-semibold uppercase tracking-[0.22em] text-sky-700">Video</p>
73+
<p class="mt-3 text-xl font-semibold text-slate-900">Tutorial Series</p>
74+
<p class="mt-2 text-sm leading-6 text-slate-600">The longer historical walkthrough.</p>
75+
<% end %>
76+
</div>
77+
</details>
7078
</section>

0 commit comments

Comments
 (0)