From 32da7948bed6da8fba51eb4220cbf35fe3234f5f Mon Sep 17 00:00:00 2001
From: Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>
Date: Sat, 4 Jan 2020 15:30:53 +0100
Subject: Add jpg support

---
 components/JoinUs.vue | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

(limited to 'components/JoinUs.vue')

diff --git a/components/JoinUs.vue b/components/JoinUs.vue
index a219d16..4359a82 100644
--- a/components/JoinUs.vue
+++ b/components/JoinUs.vue
@@ -21,12 +21,19 @@ export default {
 </script>
 
 <style scoped>
+.webp .joinus {
+  background-image: url('/assets/bg.webp');
+}
+
+.no-webp .joinus {
+  background-image: url('/assets/bg.jpg');
+}
+
 .joinus {
   width: 100%;
 
   padding: 80px 20%;
 
-  background-image: url('/assets/bg.webp');
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
-- 
cgit 1.4.1

