rearrange p tags to get examples to show up in site preview per #56

This commit is contained in:
Morgan Astra 2016-09-21 16:25:33 -07:00
parent 65866ca391
commit 4fc7685f16

View File

@ -69,12 +69,12 @@
sub-obj
" pronouns")]
[:div {:class "section examples"}
[:p [:h2 header-str]]
(subject-example subject)
[:h2 header-str]
[:p (subject-example subject)
(object-example object)
(posessive-determiner-example subject possessive-determiner)
(possessive-pronoun-example possessive-pronoun)
(reflexive-example subject reflexive)]))
(reflexive-example subject reflexive)]]))
(defn about-block []
[:div {:class "section about"}
@ -86,21 +86,16 @@
(defn contact-block []
(let [twitter-name (fn [handle] (href (str "https://www.twitter.com/" handle)
(str "@" handle)))]
[:div {:class "section contact"}
[:p
"Written by "
[:footer {:class "section contact"}
[:p "Written by "
(twitter-name "morganastra")
", whose "
(href "http://pronoun.is/ze/zir?or=she" "pronoun.is/ze/zir?or=she")
[:br]
[:br]
"pronoun.is is free software under the "
(href "http://pronoun.is/ze/zir?or=she" "pronoun.is/ze/zir?or=she")]
[:p "pronoun.is is free software under the "
(href "https://www.gnu.org/licenses/agpl.html" "AGPLv3")
"! visit the project on "
(href "https://github.com/witch-house/pronoun.is" "github")
[:br]
[:br]
"<3"]]))
(href "https://github.com/witch-house/pronoun.is" "github")]
[:p "<3"]]))
(defn format-pronoun-examples