- Touch events excluded as data-attr to keep 'general' touch events
- Noticed .maps were being requested, so added to lib folder
- Sidebar now position fixed
The header needed sorting out with all the extra elements, and the duplicate footer content could likely be seen as duplication for SEO (especially because they contain links)
Menu / Header
- Added slideout.js as a quick fix for sidebar/panel menu nav
- Header 'collapse' menu chucked totally
- Hamburger is now a toggle for slideout
- Header shrunk right down
"Hero" on Homepage
- Super h/c margins... So removed now that they are uneeded
Notification (spam warning on Homepage)
- turned it onto a proper noti, using the noty.js package. Only opens if on Homepage and are scrollTop 0
- Localisation tag is still included in the inejcted html (but not tested)
Footer
- Remove duplicate content menu
- Put bottom Logo and Legals on same row
Noticed that there was an issue with css animations for Safari and iOS = dun not woikins.
So I've rebuilt the countdown using svg images instead. Kept it jQuery because the bulk of countdown.js was refactored to that.
Tested in Chrome, Safari, Firefox (all macOS).
Added a new disclaimer page, with link on footer.
Cleanup:
- Footer changed to use 'container-fluid' and with a max width of max container width = using vanilla container was too small for menu
- Removed unneeded 'view-section' classes that were breaking links
- Remove some " target='_blank' " attrs on Team page
- Removed the large commented `Team` block on index.html
- Relinked "phone01.png" on business pages
- Removed XMLHttpRequest requests, replaced with fetch
- Added test blocks.json for Countdown.js to read and see if there are blocks for ZCL and/or BTC (Usage: add or remove value to 'btc' to see working)
- Block elements visible for both 'Awaiting..' and 'Snapshot' views
- Icon missing from last commit
Now ready for MattPass to check functionality is still within the brief, then for us to test on CoinZap
Helped out MattPass with his latest task...
Refactored the js, to
- Have cleaner structure in the html
- Remove the need for 'unit' and 'numbers' classes moving with the spinner changes = now only 3 elements get repositioned
- Mobile rules not needed anymore
- Cleaned up _countdown.scss (and nested core elements)
- Hid countdown logo on mobile to save it pushing everything down on tiny screens