diff options
| -rw-r--r-- | server/lib/views/index.js | 16 | ||||
| -rw-r--r-- | views/about/_plans.ejs | 6 | ||||
| -rwxr-xr-x | views/home.ejs | 15 |
3 files changed, 19 insertions, 18 deletions
diff --git a/server/lib/views/index.js b/server/lib/views/index.js index be46cc6..5241ddb 100644 --- a/server/lib/views/index.js +++ b/server/lib/views/index.js @@ -89,17 +89,21 @@ var views = module.exports = { }, home: function (req, res) { - views_middleware.fetchProjects({ featured: true }, null, null, function(err, projects){ - res.render('home', { - projects: projects || [] + views_middleware.ensurePlans(req, res, function(err){ + views_middleware.fetchProjects({ featured: true }, null, null, function(err, projects){ + res.render('home', { + projects: projects || [], + }) }) }) }, demoHome: function (req, res) { - views_middleware.fetchProjects({ featured: true }, null, null, function(err, projects){ - res.render('home', { - projects: projects || [] + views_middleware.ensurePlans(req, res, function(err){ + views_middleware.fetchProjects({ featured: true }, null, null, function(err, projects){ + res.render('home', { + projects: projects || [], + }) }) }) }, diff --git a/views/about/_plans.ejs b/views/about/_plans.ejs index af2a050..ba42e28 100644 --- a/views/about/_plans.ejs +++ b/views/about/_plans.ejs @@ -1,4 +1,3 @@ - <ul id="plans"> <li class="most-popular"> <div class="top"> @@ -8,7 +7,7 @@ </div> <ul> <li> - [[- plans.pro.pro_layout_limit ]] Pro Floor Plan and [[- plans.pro.pro_project_limit ]] Exhibitions + [[- plans.pro.pro_layout_limit ]] Pro Floor Plans and [[- plans.pro.pro_project_limit ]] Exhibitions </li> <li> Trace a Floor Plan from a Drawing @@ -23,7 +22,7 @@ Everything the Medium Plan Contains </li> <li> - No VValls Branding! + No Branding! </li> </ul> <div class="signup"> @@ -109,6 +108,7 @@ </li> </ul> +<br> <div class="about_custom custombox planbox"> <h3>Want Something Custom?</h3> <li> We offer customized white-label options for business and educational uses. diff --git a/views/home.ejs b/views/home.ejs index b83e3e9..2bf5662 100755 --- a/views/home.ejs +++ b/views/home.ejs @@ -62,15 +62,12 @@ [[ include projects/list-projects ]] - <div class="projectList about gopro"> - - <span> - <h3>Ready To Go Pro?</h3> - Use VValls as part of your product, service, or marketing campaign. - We offer many types of customizations, including automation of layouts, more elaborate floor plans, enhanced video, interactivity, and other features. - <a href="mailto:hello@vvalls.com?subject=VValls platform" class="greenbtn">Contact</a> - </span> - </div> + <h1>Sign Up</h1> + + <div class="projectList about aboutintro"> + [[ include about/_plans ]] + </div> + [[ include partials/confirm-modal ]] [[ include projects/layouts-modal ]] [[ include partials/sign-in ]] |
