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
1 changed files with 8 additions and 1 deletions

View File

@ -5,6 +5,13 @@ class Home::IndexPage < MainLayout
def content
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
section do
h2 "How-To"
@ -15,7 +22,7 @@ class Home::IndexPage < MainLayout
code app_domain, class: "highlight"
end
para do
text "For example if the URL is: "
text "If the URL is: "
code do
span "medium.com", class: "highlight"
text "/@user/my-post-09a6af907a2"