Luke Childs
|
268af94be4
|
No need to save heartEl
|
8 years ago |
Luke Childs
|
588e6b22f5
|
Inject menu button for hearted nodes
|
8 years ago |
Luke Childs
|
df37aadadf
|
Refactor favourite node code to be more readable
|
8 years ago |
Luke Childs
|
7bdba5bfc5
|
Refactor feature tester into class
|
8 years ago |
Luke Childs
|
65f82a1801
|
Add feature detection test for classList
|
8 years ago |
Luke Childs
|
9b1e1febee
|
Add feature detection test for document.querySelector
|
8 years ago |
Luke Childs
|
a1d1cdc89d
|
Refactor feature detection code
|
8 years ago |
Luke Childs
|
a360ff5a93
|
Store active class in variable
|
8 years ago |
Luke Childs
|
266c515f94
|
Check heart status by localStorage not class
|
8 years ago |
Luke Childs
|
cccb84f077
|
Show hearted nodes
|
8 years ago |
Luke Childs
|
a014e9ec0e
|
Add heart to DOM before adding click event
If DOM is already ready we should add the heart to DOM ASAP to reduce lag
|
8 years ago |
Luke Childs
|
c6fbf0b7c5
|
Remove unused var
|
8 years ago |
Luke Childs
|
e60c74a9ce
|
Save hearted nodes
|
8 years ago |
Luke Childs
|
faa96cb69b
|
Add basic click handler
|
8 years ago |
Luke Childs
|
cfdb8ead60
|
Refactor JS
Make DOM ready code reusable and send SVG XHR before DOM is ready, we only need to wait for the DOM to inject the elem.
|
8 years ago |
Luke Childs
|
107520961d
|
Add heart svg if favourite node requirements are met
|
8 years ago |
Luke Childs
|
425cd294a9
|
Un es6ify :(
|
8 years ago |
Luke Childs
|
3c17c82290
|
Add inline SVG feature detection
|
8 years ago |
Luke Childs
|
640639412c
|
Add localStorage feature detection
|
8 years ago |
Luke Childs
|
7232271d72
|
Move ios check into function
|
8 years ago |
Luke Childs
|
768f083ee8
|
Fix top position in iOS
|
8 years ago |
Luke Childs
|
191fe9e41a
|
Remove redundant else from inline if
|
8 years ago |
Luke Childs
|
447642fea4
|
Scope js to it's own IIFE
|
8 years ago |
Luke Childs
|
eaf5fd2fe5
|
Write DOM load check more efficiently
|
8 years ago |
Luke Childs
|
d143ac5a72
|
Add async JavaScript
|
8 years ago |
Luke Childs
|
676fbe3a65
|
Move stylesheet down in head
Seems kinda less relevant than the meta tags
|
8 years ago |
Luke Childs
|
78cff41b72
|
Add language attr to HTML document
|
8 years ago |
Luke Childs
|
c5d7c347fe
|
Add favicon
|
8 years ago |
Luke Childs
|
de1c7970f3
|
Add web app manifest
|
8 years ago |
Luke Childs
|
a54c806eff
|
Add meta theme colour
|
8 years ago |
Luke Childs
|
27cd0aa0e2
|
Serve everything in public at root
Otherwise we were limited to only serving staic content in /assets
|
8 years ago |
Luke Childs
|
54b7ea883d
|
Add req/res to res.locals not global nunjucks instance
|
8 years ago |
Luke Childs
|
6ad2b0a063
|
Add seperate classes for hidden and visually hidden
Hidden hides from browser and screen reader, visually hidden just hides from browser
|
8 years ago |
Luke Childs
|
aca75761a3
|
Add ARIA landmarks
|
8 years ago |
Luke Childs
|
bd5baf7a65
|
Make sure screen readers don't try and read ascii chart
|
8 years ago |
Luke Childs
|
d8006054a5
|
Hide content without display none
Otherwise screen readers will ignore it
|
8 years ago |
Luke Childs
|
ee5124cd14
|
Tweak flag descriptions
|
8 years ago |
Luke Childs
|
7ce9989ac7
|
Remove unnecessary 'www.' from urls
|
8 years ago |
Luke Childs
|
f6de021cd5
|
Slightly reword content
|
8 years ago |
Luke Childs
|
2a4eb48e62
|
Make content block text slightly lighter
|
8 years ago |
Luke Childs
|
fb078b4ca5
|
USe one CSS block to style all content blocks
|
8 years ago |
Luke Childs
|
2a86888930
|
Improve letter spacing
|
8 years ago |
Luke Childs
|
18f332eb36
|
Add content to about page and style
|
8 years ago |
Luke Childs
|
d60fba891a
|
More generic column item selector
|
8 years ago |
Luke Childs
|
8263bf6e17
|
Set box-shadow to non alpha colour
Now that the header is fixed the opacity looks bad when things show through
|
8 years ago |
Luke Childs
|
160d61d737
|
Fix footer links on small mobile devices
|
8 years ago |
Luke Childs
|
840a5aaa0d
|
Add link to about page in footer
|
8 years ago |
Luke Childs
|
f2e55da0fc
|
Remove 'next' from node controller
|
8 years ago |
Luke Childs
|
30bab30bf5
|
Add about page
|
8 years ago |
Luke Childs
|
4bb6abbda0
|
Add more descriptive page titles
|
8 years ago |