Add an example and tagline to homepage

This commit is contained in:
Edward Loveall 2021-10-11 13:13:00 -04:00
parent bb94fb41b1
commit 91f4aae0bc
No known key found for this signature in database
GPG key ID: 789A4AE983AC8901

View file

@ -5,6 +5,13 @@ class Home::IndexPage < MainLayout
def content def content
h1 "Scribe" h1 "Scribe"
h2 "An alternative frontend to Medium"
para do
a(
"Here's an example",
href: "/@ftrain/big-data-small-effort-b62607a43a8c"
)
end
article do article do
section do section do
h2 "How-To" h2 "How-To"
@ -15,7 +22,7 @@ class Home::IndexPage < MainLayout
code app_domain, class: "highlight" code app_domain, class: "highlight"
end end
para do para do
text "For example if the URL is: " text "If the URL is: "
code do code do
span "medium.com", class: "highlight" span "medium.com", class: "highlight"
text "/@user/my-post-09a6af907a2" text "/@user/my-post-09a6af907a2"