landing page
This commit is contained in:
parent
ad25fe2e90
commit
3b4ca4d0b0
@ -1,6 +1,9 @@
|
|||||||
class Public::HomeController < ApplicationController
|
class Public::HomeController < ApplicationController
|
||||||
|
|
||||||
layout "home"
|
layout "home"
|
||||||
|
def vouisstar
|
||||||
|
render :layout => "vouisstar"
|
||||||
|
end
|
||||||
|
|
||||||
def home
|
def home
|
||||||
|
|
||||||
|
100
app/views/layouts/vouisstar.html.haml
Normal file
100
app/views/layouts/vouisstar.html.haml
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
!!!
|
||||||
|
|
||||||
|
%html{:lang => "fr", "xml:lang" => "fr", :xmlns => "http://www.w3.org/1999/xhtml"}
|
||||||
|
%head
|
||||||
|
%title Négos
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%meta{:name=>"viewport", :content=>"width=device-width,initial-scale=1"}
|
||||||
|
%meta{ :"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" }
|
||||||
|
%meta{ :"name" => "Description", :content => @description }
|
||||||
|
%meta{ :"name" => "Keywords", :content => @keywords }
|
||||||
|
=#<script type="text/javascript" =#src="https://maps.googleapis.com/maps/api/js?libraries=places&key=AIzaSyDSm3YlFVyeEa6KBPmRRkiylbd-xTl-dkQ">
|
||||||
|
=#</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
= csrf_meta_tag
|
||||||
|
=#render :partial => "public/shared/ga"
|
||||||
|
|
||||||
|
|
||||||
|
<link href='https://fonts.googleapis.com/css?family=Varela+Round' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
|
=javascript_include_tag "https://maps.googleapis.com/maps/api/js?libraries=places&sensor=false"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%body{:style => "background:url('/fond-vs.jpg') center center no-repeat;background-size:100%;background-size:cover;"}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.top
|
||||||
|
=image_tag "http://negos.pro/public_medias/image_file/file/37/large_sans_titre_-_1.png", :style => "margin:auto;display:block;width:300px;margin:30px auto;"
|
||||||
|
|
||||||
|
|
||||||
|
.row
|
||||||
|
|
||||||
|
.columns
|
||||||
|
%h2
|
||||||
|
Vous êtes un particulier ?
|
||||||
|
.inner
|
||||||
|
|
||||||
|
%p
|
||||||
|
Vous pourrez très prochainement consulter la liste des points de vente sur cette page
|
||||||
|
.columns
|
||||||
|
%h2
|
||||||
|
Vous êtes une entreprise ou une organisation ?
|
||||||
|
.inner
|
||||||
|
|
||||||
|
%p
|
||||||
|
Vous pouvez vous inscrire sur la plateforme Negos pour commander des packs
|
||||||
|
%strong Vouis'Star
|
||||||
|
pour les revendre dans votre commerce, ou les offrir à vos clients.
|
||||||
|
|
||||||
|
%center
|
||||||
|
=link_to "Commander des packs (pro)", "http://negos.pro", :target => "_blank", :style => "display:inline-block;margin:20px;padding:12px 20px;border:1px solid #f59c00;color:white;background:#f59c00;font-weight:bold;text-decoration:none;"
|
||||||
|
|
||||||
|
|
||||||
|
=link_to image_tag( "http://negos.pro/logo.png", :style => "display:block;margin:20px auto;width:160px;"), "http://negos.pro", :target => "_blank"
|
||||||
|
.clear
|
||||||
|
|
||||||
|
:scss
|
||||||
|
.columns{
|
||||||
|
width:50%;
|
||||||
|
float:left;
|
||||||
|
|
||||||
|
.inner{
|
||||||
|
background:rgba(255,255,255,0.8);
|
||||||
|
max-width:480px;
|
||||||
|
margin:auto;
|
||||||
|
padding:20px;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
html {
|
||||||
|
margin: 0px;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
margin: 0px;
|
||||||
|
min-height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
font-family:Varela Round;
|
||||||
|
h2{
|
||||||
|
text-align:center;
|
||||||
|
max-width:480px;
|
||||||
|
margin:auto;
|
||||||
|
color:white;
|
||||||
|
margin-bottom:20px;
|
||||||
|
}
|
||||||
|
.row{
|
||||||
|
margin:40px auto;
|
||||||
|
max-width:1250px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
0
app/views/public/home/vouisstar.html.haml
Normal file
0
app/views/public/home/vouisstar.html.haml
Normal file
@ -1,7 +1,7 @@
|
|||||||
Rails.application.routes.draw do
|
Rails.application.routes.draw do
|
||||||
get 'mail_assets/:token.png' => "admin/mail_trackings#update", :as => :image_tracking
|
get 'mail_assets/:token.png' => "admin/mail_trackings#update", :as => :image_tracking
|
||||||
|
|
||||||
|
get "vouisstar" => "public/home#vouisstar"
|
||||||
constraints subdomain: 'affiliation' do
|
constraints subdomain: 'affiliation' do
|
||||||
get "/:mlm_token" => "public/home#affiliation"
|
get "/:mlm_token" => "public/home#affiliation"
|
||||||
get "/" => "public/home#affiliation"
|
get "/" => "public/home#affiliation"
|
||||||
|
BIN
public/fond-vs.jpg
Normal file
BIN
public/fond-vs.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 122 KiB |
Loading…
x
Reference in New Issue
Block a user