Added caching to service worker

This commit is contained in:
2017-07-13 20:45:16 +02:00
parent 4f7c2e95f0
commit 3740ec61d6
4 changed files with 104 additions and 10 deletions

View File

@ -39,6 +39,30 @@
width auto
height auto
z-index -100
background rgb(32, 32, 32)
.login-button
horizontal
align-items center
border-radius 3px
padding 0.75rem 1.25rem
margin 0.5rem
font-size 1.2rem
text-shadow none !important
box-shadow shadow-medium
default-transition
.login-button-google
background hsl(8, 75%, 43%)
:hover
background hsl(8, 75%, 48%)
.login-button-facebook
background hsl(222, 67%, 42%)
:hover
background hsl(222, 67%, 47%)
.screenshot
max-width 100%

View File

@ -1,7 +1,9 @@
component Login
.login-buttons
a.login-button(href="/auth/google")
img.login-button-image(src="/images/login/google", alt="Google Login", title="Login with your Google account")
a.login-button.login-button-google(href="/auth/google")
Icon("google")
span Sign in via Google
a.login-button(href="/auth/facebook")
img.login-button-image(src="/images/login/facebook", alt="Facebook Login", title="Login with your Facebook account")
a.login-button.login-button-facebook(href="/auth/facebook")
Icon("facebook")
span Sign in via Facebook