Skip to content

Commit 6a7bacc

Browse files
committed
White!
1 parent 1997b5f commit 6a7bacc

File tree

2 files changed

+19
-13
lines changed

2 files changed

+19
-13
lines changed

apps/components_guide_web/lib/components_guide_web/controllers/research_controller.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ defmodule ComponentsGuideWeb.ResearchController do
177177
content_tag(
178178
:dl,
179179
[
180-
content_tag(:dt, "Implicit semantics", class: "font-bold"),
180+
content_tag(:dt, "Implicit semantics"),
181181
content_tag(:dd, "#{implicit_semantics}")
182182
]
183183
)
Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
1-
<header class="text-white">
2-
<section class="container px-6 pt-12 pb-12">
3-
<h2 class="mx-auto max-w-4xl text-5xl text-center font-bold leading-tight text-shadow">
4-
<%= "Research 🔍 specs and implementations" %>
1+
<%
2+
heading = "Research 🔍 specs and implementations"
3+
heading = "Search Can I Use, BundlePhobia, W3 & WhatWG specs"
4+
%>
5+
<header class="text-black bg-white">
6+
<section class="container px-6 pt-8 pb-8">
7+
<h2 class="mx-auto max-w-4xl text-xl text-center italic leading-tight">
8+
<%= heading %>
59
</h2>
610
<form role=search action="/research" class="flex h-full pt-8 items-center">
7-
<input type=text name=q placeholder="Search" class="w-full py-1 px-3 text-3xl bg-white text-black rounded" value="<%= @query %>">
11+
<input type=text name=q placeholder="Search" class="w-full py-1 px-6 text-3xl bg-white text-black border rounded-full" value="<%= @query %>">
812
</form>
9-
<dl class="text-xl grid items-center" style="grid-template-columns: auto 1fr;">
13+
<dl class="text-xl grid gap-2 items-center pt-4 px-6" style="grid-template-columns: auto 1fr;">
1014
<dt>HTML & Roles</dt>
1115
<dd>
12-
<ul class="list-none flex flex-wrap pt-4 italic" style="--links-padding: 0.75em">
16+
<ul class="list-none flex flex-wrap italic" style="--links-padding: 0.75em">
1317
<li><%= link("form", to: "?q=form") %>
1418
<li><%= link("button", to: "?q=button") %>
1519
<li><%= link("contentinfo", to: "?q=contentinfo") %>
@@ -19,23 +23,25 @@
1923
</dd>
2024
<dt>Third-party</dt>
2125
<dd>
22-
<ul class="list-none flex flex-wrap pt-4 italic" style="--links-padding: 0.75em">
26+
<ul class="list-none flex flex-wrap italic" style="--links-padding: 0.75em">
2327
<li><%= link("react-dom", to: "?q=react-dom") %>
2428
<li><%= link("preact", to: "?q=preact") %>
2529
</ul>
2630
</dd>
2731
<dt>Concepts</dt>
2832
<dd>
29-
<ul class="list-none flex flex-wrap pt-4 italic" style="--links-padding: 0.75em">
33+
<ul class="list-none flex flex-wrap italic" style="--links-padding: 0.75em">
3034
<li><%= link("error", to: "?q=error") %>
3135
</ul>
3236
</dd>
3337
</dl>
3438
</section>
3539
</header>
3640

37-
<div class="bg-white py-16">
38-
<div class="container px-6">
39-
<%= @results %>
41+
<div class="bg-white py-8">
42+
<div class="container">
43+
<div class="px-6">
44+
<%= @results %>
45+
</div>
4046
</div>
4147
</div>

0 commit comments

Comments
 (0)