feat(grfn/bbbg): Style home page
This is just a Big Old Button Change-Id: I19f5d15562fe2e0ef26de0cc61d06604e92c9c00 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4587 Reviewed-by: grfn <grfn@gws.fyi> Autosubmit: grfn <grfn@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
		
							parent
							
								
									a660042f14
								
							
						
					
					
						commit
						ae7eff703c
					
				
					 2 changed files with 27 additions and 1 deletions
				
			
		|  | @ -11,7 +11,7 @@ | |||
| 
 | ||||
| (defn- home-page [] | ||||
|   [:div.home-page | ||||
|    [:a {:href "/signup-forms"} | ||||
|    [:a.signup-form-link {:href "/signup-forms"} | ||||
|     "Event Signup Form"]]) | ||||
| 
 | ||||
| (defn auth-failure [] | ||||
|  |  | |||
|  | @ -107,14 +107,40 @@ | |||
|       :background-color (color/lighten color 30) | ||||
|       :border-radius "5px"}])) | ||||
| 
 | ||||
| (defstyles home-page | ||||
|   [:.home-page | ||||
|    {:display :flex | ||||
|     :flex 1 | ||||
|     :justify-content :center | ||||
|     :align-items :center} | ||||
|    [:.signup-form-link | ||||
|     {:display :block | ||||
|      :padding "5rem" | ||||
|      :border [["1px" :solid blue]] | ||||
|      :border-radius "5px" | ||||
|      :color black | ||||
|      :font-size "2rem" | ||||
|      :background-color (color/lighten blue 50)} | ||||
|     [(& hover) (& active) | ||||
|      {:text-decoration :none}] | ||||
|     [(& active) | ||||
|      {:background-color (color/lighten blue 30)}]]]) | ||||
| 
 | ||||
| (defstyles styles | ||||
|   global-nav | ||||
|   link-form | ||||
|   flash | ||||
|   home-page | ||||
| 
 | ||||
|   [:body | ||||
|    {:color black}] | ||||
| 
 | ||||
|   [:.content | ||||
|    {:display :flex | ||||
|     :flex-direction :column | ||||
|     :height "100%" | ||||
|     :width "100%"}] | ||||
| 
 | ||||
|   [:a {:color blue | ||||
|        :text-decoration :none} | ||||
|    link-conditional-styles]) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue