Skip to content

Commit ab8304c

Browse files
committed
Use prose class
1 parent e633d9c commit ab8304c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
heading = "Great apps start with great components"
44
heading = "Want to learn more of the why than the how?"
55
heading = raw("Improve the user experience <em>and</em> developer experience of your components")
6-
heading = raw("Want to improve both the user experience <em>and</em> developer experience of your components?")
6+
heading = raw("Learn how to improve both the user experience <em>and</em> developer experience of your components")
7+
heading = raw("Learn how to improve the UX <em>and</em> DX of your components")
78

8-
subhead = "Learn about accessibility, TDD, BDD, naming, performance, and the latest browser features — all for free."
9+
subhead = "Get better at accessibility, TDD, BDD, naming, performance, and the latest browser features — all for free."
910
1011
%>
1112

1213
<div class="text-white" style="<%= header_styles(3) %>">
1314
<section class="container px-6 pt-12 pb-8">
14-
<h1 class="mx-auto max-w-4xl px-2 text-3xl sm:text-4xl md:text-5xl text-center leading-tight font-bold text-shadow">
15+
<h1 class="mx-auto max-w-4xl px-2 text-3xl sm:text-4xl md:text-5xl text-center font-bold text-shadow">
1516
<%= heading %>
1617
</h1>
1718
<p class="mt-6 mb-8 mx-auto max-w-4xl text-2xl sm:text-3xl md:text-3xl text-center leading-snug italic text-gray-100 text-shadow">

lib/components_guide_web/views/react_typescript_view.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule ComponentsGuideWeb.ReactTypescriptView do
2121

2222
def article_content_class("editor"), do: "content text-xl"
2323
def article_content_class("editor-prolog"), do: "content text-xl"
24-
def article_content_class(_article), do: "content max-w-4xl mx-auto py-8 text-xl"
24+
def article_content_class(_article), do: "prose md:prose-xl prose-invert max-w-4xl mx-auto py-16"
2525

2626
def collected_image(conn, name) do
2727
%{static_path: path_to_image, width: width, height: height} = render(name)

0 commit comments

Comments
 (0)