Add an example and tagline to homepage
This commit is contained in:
parent
bb94fb41b1
commit
91f4aae0bc
1 changed files with 8 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue