diff options
Diffstat (limited to 'views/profile.ejs')
| -rw-r--r-- | views/profile.ejs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/views/profile.ejs b/views/profile.ejs index ada3d52..34b0bee 100644 --- a/views/profile.ejs +++ b/views/profile.ejs @@ -8,17 +8,17 @@ <div class="rapper page"> [[- include partials/header ]] - <table class="profilepage"> - <tr> + <div class="profilepage"> [[ if (profile.photo && profile.photo.length) { ]] - <td class="border profilePic" style="background-image:url([[- profile.photo ]])"> - </td> + <div class="profilePic" style="background-image:url([[- profile.photo ]])"> + </div> [[ } else { ]] - <td class="border profilePic"> + <div class="profilePic"> <span class="icon-ios7-person-outline"></span> - </td> + </div> [[ } ]] - <td class="bio"> + <div class="bio"> + <div class="holder"> <h2>[[- profile.displayName ]]</h2> [[ if (profile.location) { ]] <span> @@ -35,9 +35,9 @@ <a href="https://twitter.com/[[- profile.twitterName ]]">@[[- profile.twitterName ]]</a> </span> [[ } ]] - </td> - </tr> - </table> + </div> + </div> + </div> [[ if (projects.length) { ]] <h1>[[- profile.username ]] has [[- projects.length ]] project[[- projects.length != 1 ? "s" : "" ]]</h1> |
