designer.ejs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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; flex-direction: column; justify-content: center; align-items: center; margin-top: 20px;">
  20. <h1><%= translate.coloringPageArtist[lang] %>: <%= user.username %></h1>
  21. <a href="/<%= lang %>/artist/<%= user._id %>"><img src="<%= user.avatar %>" style="border-radius: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);" alt="<%= user.username %>"></a>
  22. <h2 style="font-size: 14px; color: gray;"><%= user.count %> Coloring Page Works</h2>
  23. </div>
  24. <div class="content">
  25. <div class="image-grid">
  26. <% data.forEach(item=> { %>
  27. <div class="image-card">
  28. <a href="<%= item.uri %>"><img src="<%= item.thumb %>" alt="<%= item.title %>"></a>
  29. <div class="card-title">
  30. <%= item.title %>
  31. </div>
  32. </div>
  33. <% }); %>
  34. </div>
  35. </div>
  36. <div style="padding: 40px"></div>
  37. <%- include('pagination') %>
  38. </body>
  39. </html>