designer.ejs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <!DOCTYPE html>
  2. <html lang="<%= lang %>">
  3. <head>
  4. <%- include('common-meta') %>
  5. <link rel="stylesheet" href="/stylesheets/styles.css">
  6. <link rel="stylesheet" href="/stylesheets/header.css">
  7. <link rel="stylesheet" href="/stylesheets/designer.css">
  8. </head>
  9. <!-- Google tag (gtag.js) -->
  10. <script async src="https://www.googletagmanager.com/gtag/js?id=G-JBGGVGLHTP"></script>
  11. <script>
  12. window.dataLayer = window.dataLayer || [];
  13. function gtag() { dataLayer.push(arguments); }
  14. gtag('js', new Date());
  15. gtag('config', 'G-JBGGVGLHTP');
  16. </script>
  17. <body>
  18. <%- include('header') %>
  19. <div style="display: flex; justify-content: center; align-items: center; margin-top: 20px;">
  20. <div class="card" style="width: 200px;">
  21. <a href="/<%= lang %>/artist/<%= user._id %>"><img src="<%= user.avatar %>" alt="<%= user.username %>"></a>
  22. <div class="info">
  23. <p><strong>
  24. <%= user.username %>
  25. </strong></p>
  26. <p>
  27. <%= translate.worksCount[lang] %>: <strong>
  28. <%= user.count %>
  29. </strong>
  30. </p>
  31. </div>
  32. </div>
  33. </div>
  34. <div class="content">
  35. <div class="image-grid">
  36. <% data.forEach(item=> { %>
  37. <div class="image-card">
  38. <a href="<%= item.uri %>"><img src="<%= item.thumb %>" alt="<%= item.title %>"></a>
  39. <div class="card-title"><%= item.title %></div>
  40. </div>
  41. <% }); %>
  42. </div>
  43. </div>
  44. <div style="padding: 40px"></div>
  45. <%- include('pagination') %>
  46. </body>
  47. </html>