From 91f4aae0bc1db6a1d61a44f64ac67daa76704fd6 Mon Sep 17 00:00:00 2001 From: Edward Loveall Date: Mon, 11 Oct 2021 13:13:00 -0400 Subject: [PATCH] Add an example and tagline to homepage --- src/pages/home/index_page.cr | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/pages/home/index_page.cr b/src/pages/home/index_page.cr index eeb479a..a126edc 100644 --- a/src/pages/home/index_page.cr +++ b/src/pages/home/index_page.cr @@ -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"