about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-12-26T17·16-0500
committerclbot <clbot@tvl.fyi>2021-12-26T17·23+0000
commit4dc34c4c1c8a29baf499d1e50daa8f42e0939a1e (patch)
tree0254b433aa38585f0b7a5d53ebaa88058cd34263
parentb26961eb805b4e3dd7ba0d40ec08b37d2bbf560d (diff)
feat(grfn/bbbg): Last remaining styling tweaks r/3436
Change-Id: Ic734f6a84f8bcf8126c048e03344c7f214b9ca86
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4671
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
-rw-r--r--users/grfn/bbbg/src/bbbg/handlers/signup_form.clj6
-rw-r--r--users/grfn/bbbg/src/bbbg/styles.clj10
2 files changed, 11 insertions, 5 deletions
diff --git a/users/grfn/bbbg/src/bbbg/handlers/signup_form.clj b/users/grfn/bbbg/src/bbbg/handlers/signup_form.clj
index fdc6243804f1..f2c405c9ca86 100644
--- a/users/grfn/bbbg/src/bbbg/handlers/signup_form.clj
+++ b/users/grfn/bbbg/src/bbbg/handlers/signup_form.clj
@@ -14,13 +14,13 @@
    [ring.util.response :refer [redirect]]))
 
 (defn no-events-page [{:keys [authenticated?]}]
-  [:div.no-events
+  [:div.page
    [:p
     "There are no events for today"]
    (when authenticated?
      [:p
-      [:a {:href (str "/events/new?date=" (str (local-date)))} "Create Event"]
-      [:a {:href "/events"} "All Events"]])])
+      [:a.button {:href (str "/events/new?date=" (str (local-date)))}
+       "Create New Event"]])])
 
 (defn signup-page [{:keys [event attendees]}]
   [:div.signup-page
diff --git a/users/grfn/bbbg/src/bbbg/styles.clj b/users/grfn/bbbg/src/bbbg/styles.clj
index 50c9115a6d65..ca9148efdf92 100644
--- a/users/grfn/bbbg/src/bbbg/styles.clj
+++ b/users/grfn/bbbg/src/bbbg/styles.clj
@@ -239,12 +239,18 @@
     :align-items :center}
    [:.signup-form-link
     {:display :block
-     :padding "5rem"
      :border [["1px" :solid blue]]
      :border-radius "3px"
      :color black
      :font-size "2rem"
-     :background-color (color/lighten blue 50)}
+     :background-color (color/lighten blue 50)
+     :margin-left "auto"
+     :margin-right "auto"
+     :padding "2rem"}
+    (desktop
+     {:padding "5rem"
+      :margin-left 0
+      :margin-right 0})
     [(& hover) (& active)
      {:text-decoration :none}]
     [(& active)