diff options
Diffstat (limited to 'views/profile.ejs')
| -rw-r--r-- | views/profile.ejs | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/views/profile.ejs b/views/profile.ejs index d977844..5ff2eb0 100644 --- a/views/profile.ejs +++ b/views/profile.ejs @@ -41,7 +41,7 @@ [[ } ]] </div> </div> - </div> + [[ if (projects.length) { ]] <h1>[[- profile.username ]] has [[- projects.length ]] project[[- projects.length != 1 ? "s" : "" ]]</h1> @@ -50,11 +50,23 @@ <a href="#" class="viewMore btn">view more</a> [[ } else { ]] + <h1>Welcome to VVALLS</h1> - <br><br> - You don't have any projects yet. To get started click "New Project" up at the top of the screen. + <div class="projectList about"> + <h2> + VValls lets you create awesome 3D rooms. + </h2> + + <h2> + You don't have any projects yet. + </h2> + <h2> + <a href="#"class="btn" data-role="new-project-modal">Create a New Project</a> + </h2> + + </div> [[ } ]] - + </div> [[ include partials/edit-profile ]] [[ include projects/layouts-modal ]] [[ include projects/edit-project ]] |
