about summary refs log tree commit diff
path: root/users/grfn/bbbg
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/bbbg')
-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)