<commit_before>(ns pc.views.email-landing
  (:require [cheshire.core :as json]
            [hiccup.core :as h]
            [pc.views.scripts :as scripts]
            [pc.profile :refer (prod-assets?)]))

(def template->gif-url
  {"simple-tools"      "/email/simple-tools.gif"
   "this-email"        "/email/this-email.gif"
   "multi-duplication" "/email/multi-duplication.gif"})

(defn get-gif-url [template-name]
  (get template->gif-url template-name "/email/simple-tools.gif"))


(defn email-landing [template-name]
  [:div.email-landing
   [:img {:src (get-gif-url template-name)}]
   [:a.email-landing-button {:href "/"
                             :role "button"
                             :title "It's free!"}
    "Made with Precursor"]])<commit_msg>make url to home simpler<commit_after>(ns pc.views.email-landing
  (:require [cheshire.core :as json]
            [hiccup.core :as h]
            [pc.views.scripts :as scripts]
            [pc.profile :refer (prod-assets?)]))

(def template->gif-url
  {"simple-tools"      "/email/simple-tools.gif"
   "this-email"        "/email/this-email.gif"
   "multi-duplication" "/email/multi-duplication.gif"})

(defn get-gif-url [template-name]
  (get template->gif-url template-name "/email/simple-tools.gif"))


(defn email-landing [template-name]
  [:div.email-landing
   [:a {:href "/"
        :title "Make something."}
    [:img {:src (get-gif-url template-name)}]]
   [:a.email-landing-button {:href "/"
                             :role "button"
                             :title "Make something."}
    "Make with Precursor"]])
{'fraction_non_alphanumeric': 0.17002518891687657, 'fraction_numerical': 0.0, 'mean_word_length': 2.2830578512396693, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '902819', 'n_tokens_mistral': 539, 'n_tokens_neox': 520, 'n_words': 104}