mirror of
https://github.com/status-im/open-bounty.git
synced 2025-02-02 12:44:40 +00:00
Integrate welcome page
* route handler for /welcome * update + run build-landing-page.sh
This commit is contained in:
parent
a76b5464d4
commit
cf797c71b8
@ -4,8 +4,6 @@
|
||||
|
||||
echo "Copying index.html, dest, and assets to resources/{templates,public}."
|
||||
cp static_langing_page/index.html resources/templates/index.html
|
||||
cp static_langing_page/welcome-dev.html resources/templates/welcome-dev.html
|
||||
cp -r static_langing_page/dest/ resources/public/dest/
|
||||
cp -r static_langing_page/assets/ resources/public/assets/
|
||||
|
||||
|
||||
|
||||
|
@ -224,14 +224,12 @@ a {
|
||||
border-radius: 10px;
|
||||
z-index: 900;
|
||||
max-width: 1200px; }
|
||||
|
||||
.header-welcome {
|
||||
margin: 0;
|
||||
border-radius: 0;
|
||||
box-shadow: 0;
|
||||
max-width: inherit;
|
||||
padding-bottom: 0; }
|
||||
}
|
||||
padding-bottom: 0; } }
|
||||
|
||||
.header__inner {
|
||||
display: -ms-flexbox;
|
||||
|
@ -25,9 +25,14 @@
|
||||
(defn landing-page []
|
||||
(layout/render "index.html" {:authorize-url (github/signup-authorize-url)}))
|
||||
|
||||
(defn welcome-page []
|
||||
(layout/render "welcome-dev.html"))
|
||||
|
||||
(defroutes home-routes
|
||||
(GET "/app" {{user :identity} :session}
|
||||
(home-page user))
|
||||
(GET "/welcome" {session :session}
|
||||
(welcome-page))
|
||||
(GET "/" {session :session}
|
||||
(landing-page))
|
||||
(GET "/logout" {session :session}
|
||||
|
Loading…
x
Reference in New Issue
Block a user