diff options
author | (quasar) nebula <towerofnix@gmail.com> | 2021-04-02 14:07:12 -0300 |
---|---|---|
committer | (quasar) nebula <towerofnix@gmail.com> | 2021-04-02 14:07:12 -0300 |
commit | d8f9e7f7d71fcb786908213fe0513bf200e6b4a9 (patch) | |
tree | f5a31c4617325df0d082dd43999bda28b0882c3b /upd8.js | |
parent | 797f4f536e2888e6003806ac6ee8278da79f34d6 (diff) |
basic info card layout & hover behavior
Diffstat (limited to 'upd8.js')
-rwxr-xr-x | upd8.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/upd8.js b/upd8.js index fe1601a5..2ca90fe3 100755 --- a/upd8.js +++ b/upd8.js @@ -2387,6 +2387,15 @@ writePage.html = (pageFn, {paths, strings, to}) => { footerHTML ].filter(Boolean).join('\n'); + const infoCardHTML = fixWS` + <div id="info-card-container"> + <div class="info-card"> + <h1 class="info-card-name"><a></a></h1> + <p class="info-card-album">${strings('releaseInfo.from', {album: '<a></a>'})}</p> + </div> + </div> + `; + return filterEmptyLines(fixWS` <!DOCTYPE html> <html ${attributes({ @@ -2429,6 +2438,7 @@ writePage.html = (pageFn, {paths, strings, to}) => { `} ${layoutHTML} </div> + ${infoCardHTML} <script src="${to('shared.commonFile', `common.js?${CACHEBUST}`)}"></script> <script src="${to('shared.staticFile', `client.js?${CACHEBUST}`)}"></script> </body> |