diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8af348160..0dfd2c3b0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,7 +50,7 @@ jobs: - uses: actions/setup-node@v1 with: - node-version: "17" + node-version: "18" - name: Build frontend run: | diff --git a/vue-frontend/index.html b/vue-frontend/index.html index 503db31a1..8f3f4d7a4 100644 --- a/vue-frontend/index.html +++ b/vue-frontend/index.html @@ -54,7 +54,7 @@ fbq('track', 'PageView'); }, 3000) - diff --git a/vue-frontend/package.json b/vue-frontend/package.json index eab7002fb..9fe3b4bf6 100755 --- a/vue-frontend/package.json +++ b/vue-frontend/package.json @@ -26,7 +26,7 @@ "@vue/cli-plugin-eslint": "~5.0.0-rc.2", "@vue/compiler-sfc": "^3.0.0", "animate.css": "^4.1.1", - "autoprefixer": "^10.4.12", + "autoprefixer": "^10.4.14", "axios": "^0.25.0", "compression": "^1.7.4", "core-js": "^3.6.5", @@ -37,13 +37,13 @@ "express": "^4.17.3", "gsap": "^3.9.1", "lottie-web": "^5.9.1", - "postcss": "^8.4.17", + "postcss": "^8.4.22", "postcss-nesting": "^10.1.7", "prettier": "^2.5.1", "sass": "^1.49.9", "serve-static": "^1.14.2", "swiper": "^8.0.7", - "tailwindcss": "^3.1.8", + "tailwindcss": "^3.3.1", "vite-plugin-pages": "^0.21.4", "vue-meta": "^3.0.0-alpha.10", "vue-router": "^4.0.14" @@ -51,6 +51,7 @@ "dependencies": { "@aws-sdk/client-s3": "^3.297.0", "@vueuse/core": "^9.3.0", + "lozad": "^1.16.0", "mixpanel-browser": "^2.45.0", "pinia": "^2.0.14", "serialize-javascript": "^6.0.0", diff --git a/vue-frontend/src/assets/css/tailwind.css b/vue-frontend/src/assets/css/tailwind.css index df958a0a8..7644eb9f0 100644 --- a/vue-frontend/src/assets/css/tailwind.css +++ b/vue-frontend/src/assets/css/tailwind.css @@ -7,7 +7,7 @@ font-style: normal; font-weight: 400; font-display: swap; - src: url(./../fonts/ProductSans-Normal.woff2) format("woff2"); + src: url(./../fonts/ProductSans-Regular-Subset.woff2) format("woff2"); } @font-face { @@ -15,7 +15,7 @@ font-style: bold; font-weight: 700; font-display: swap; - src: url(./../fonts/FuturaLT-Bold.woff2); + src: url(./../fonts/FuturaLT-Bold-Subset.woff2); } @font-face { @@ -23,7 +23,7 @@ font-style: bold; font-weight: 700; font-display: swap; - src: url(./../fonts/Inter-Bold.woff2) format("woff2"); + src: url(./../fonts/Inter-Bold-Subset.woff2) format("woff2"); } @font-face { @@ -31,7 +31,7 @@ font-style: normal; font-weight: 600; font-display: swap; - src: url(./../fonts/Inter-SemiBold.woff2) format("woff2"); + src: url(./../fonts/Inter-SemiBold-Subset.woff2) format("woff2"); } @font-face { @@ -39,7 +39,7 @@ font-style: medium; font-weight: 500; font-display: swap; - src: url(./../fonts/Inter-Medium.woff2) format("woff2"); + src: url(./../fonts/Inter-Medium-Subset.woff2) format("woff2"); } @font-face { @@ -47,7 +47,7 @@ font-style: normal; font-weight: 400; font-display: swap; - src: url(./../fonts/Inter-Regular.woff2) format("woff2"); + src: url(./../fonts/Inter-Regular-Subset.woff2) format("woff2"); } @font-face { @@ -55,7 +55,7 @@ font-style: normal; font-weight: 300; font-display: swap; - src: url(./../fonts/Inter-Light.woff2) format("woff2"); + src: url(./../fonts/Inter-Light-Subset.woff2) format("woff2"); } @font-face { @@ -63,7 +63,7 @@ font-style: normal; font-weight: 600; font-display: swap; - src: url(./../fonts/Roboto-Bold.woff2); + src: url(./../fonts/RobotoBold-Subset.woff2); } @font-face { @@ -71,7 +71,7 @@ font-style: normal; font-weight: 500; font-display: swap; - src: url(./../fonts/Roboto-Medium.woff2); + src: url(./../fonts/RobotoMedium-Subset.woff2); } @layer utilities { @@ -100,6 +100,7 @@ .gradient-border-btn:hover > a > .footer-icon > path { fill: #ffffff; } + .landing-bg-clip-path { -webkit-clip-path: polygon(50% 0%, 100% 0, 100% 84%, 30% 100%, 0 84%, 0 0); clip-path: polygon(50% 0%, 100% 0, 100% 84%, 30% 100%, 0 84%, 0 0); diff --git a/vue-frontend/src/assets/fonts/FuturaLT-Bold-Subset.woff2 b/vue-frontend/src/assets/fonts/FuturaLT-Bold-Subset.woff2 new file mode 100644 index 000000000..2dbaf0dad Binary files /dev/null and b/vue-frontend/src/assets/fonts/FuturaLT-Bold-Subset.woff2 differ diff --git a/vue-frontend/src/assets/fonts/FuturaLT-Bold.woff2 b/vue-frontend/src/assets/fonts/FuturaLT-Bold.woff2 deleted file mode 100644 index a4830912d..000000000 Binary files a/vue-frontend/src/assets/fonts/FuturaLT-Bold.woff2 and /dev/null differ diff --git a/vue-frontend/src/assets/fonts/Inter-Bold-Subset.woff2 b/vue-frontend/src/assets/fonts/Inter-Bold-Subset.woff2 new file mode 100644 index 000000000..fe1a81b84 Binary files /dev/null and b/vue-frontend/src/assets/fonts/Inter-Bold-Subset.woff2 differ diff --git a/vue-frontend/src/assets/fonts/Inter-Bold.woff2 b/vue-frontend/src/assets/fonts/Inter-Bold.woff2 deleted file mode 100644 index 2846f29cc..000000000 Binary files a/vue-frontend/src/assets/fonts/Inter-Bold.woff2 and /dev/null differ diff --git a/vue-frontend/src/assets/fonts/Inter-Light-Subset.woff2 b/vue-frontend/src/assets/fonts/Inter-Light-Subset.woff2 new file mode 100644 index 000000000..4d300f3e7 Binary files /dev/null and b/vue-frontend/src/assets/fonts/Inter-Light-Subset.woff2 differ diff --git a/vue-frontend/src/assets/fonts/Inter-Light.woff2 b/vue-frontend/src/assets/fonts/Inter-Light.woff2 deleted file mode 100644 index bc4be6658..000000000 Binary files a/vue-frontend/src/assets/fonts/Inter-Light.woff2 and /dev/null differ diff --git a/vue-frontend/src/assets/fonts/Inter-Medium-Subset.woff2 b/vue-frontend/src/assets/fonts/Inter-Medium-Subset.woff2 new file mode 100644 index 000000000..20d1b9357 Binary files /dev/null and b/vue-frontend/src/assets/fonts/Inter-Medium-Subset.woff2 differ diff --git a/vue-frontend/src/assets/fonts/Inter-Medium.woff2 b/vue-frontend/src/assets/fonts/Inter-Medium.woff2 deleted file mode 100644 index f92498a2e..000000000 Binary files a/vue-frontend/src/assets/fonts/Inter-Medium.woff2 and /dev/null differ diff --git a/vue-frontend/src/assets/fonts/Inter-Regular-Subset.woff2 b/vue-frontend/src/assets/fonts/Inter-Regular-Subset.woff2 new file mode 100644 index 000000000..79c891f6d Binary files /dev/null and b/vue-frontend/src/assets/fonts/Inter-Regular-Subset.woff2 differ diff --git a/vue-frontend/src/assets/fonts/Inter-Regular.woff2 b/vue-frontend/src/assets/fonts/Inter-Regular.woff2 deleted file mode 100644 index 6c2b6893d..000000000 Binary files a/vue-frontend/src/assets/fonts/Inter-Regular.woff2 and /dev/null differ diff --git a/vue-frontend/src/assets/fonts/Inter-SemiBold-Subset.woff2 b/vue-frontend/src/assets/fonts/Inter-SemiBold-Subset.woff2 new file mode 100644 index 000000000..4de5f6fd6 Binary files /dev/null and b/vue-frontend/src/assets/fonts/Inter-SemiBold-Subset.woff2 differ diff --git a/vue-frontend/src/assets/fonts/Inter-SemiBold.woff2 b/vue-frontend/src/assets/fonts/Inter-SemiBold.woff2 deleted file mode 100644 index 611e90c95..000000000 Binary files a/vue-frontend/src/assets/fonts/Inter-SemiBold.woff2 and /dev/null differ diff --git a/vue-frontend/src/assets/fonts/ProductSans-Normal.woff2 b/vue-frontend/src/assets/fonts/ProductSans-Normal.woff2 deleted file mode 100644 index fff7b9de0..000000000 Binary files a/vue-frontend/src/assets/fonts/ProductSans-Normal.woff2 and /dev/null differ diff --git a/vue-frontend/src/assets/fonts/ProductSans-Regular-Subset.woff2 b/vue-frontend/src/assets/fonts/ProductSans-Regular-Subset.woff2 new file mode 100644 index 000000000..8923b496a Binary files /dev/null and b/vue-frontend/src/assets/fonts/ProductSans-Regular-Subset.woff2 differ diff --git a/vue-frontend/src/assets/fonts/Roboto-Bold.woff2 b/vue-frontend/src/assets/fonts/Roboto-Bold.woff2 deleted file mode 100644 index 715ac191c..000000000 Binary files a/vue-frontend/src/assets/fonts/Roboto-Bold.woff2 and /dev/null differ diff --git a/vue-frontend/src/assets/fonts/Roboto-Medium.woff2 b/vue-frontend/src/assets/fonts/Roboto-Medium.woff2 deleted file mode 100644 index f9f6913b5..000000000 Binary files a/vue-frontend/src/assets/fonts/Roboto-Medium.woff2 and /dev/null differ diff --git a/vue-frontend/src/assets/fonts/RobotoBold-Subset.woff2 b/vue-frontend/src/assets/fonts/RobotoBold-Subset.woff2 new file mode 100644 index 000000000..68bb14745 Binary files /dev/null and b/vue-frontend/src/assets/fonts/RobotoBold-Subset.woff2 differ diff --git a/vue-frontend/src/assets/fonts/RobotoMedium-Subset.woff2 b/vue-frontend/src/assets/fonts/RobotoMedium-Subset.woff2 new file mode 100644 index 000000000..fa57cfff5 Binary files /dev/null and b/vue-frontend/src/assets/fonts/RobotoMedium-Subset.woff2 differ diff --git a/vue-frontend/src/components/about/LandingSection.vue b/vue-frontend/src/components/about/LandingSection.vue index 7f036aec1..f65bc5f5d 100644 --- a/vue-frontend/src/components/about/LandingSection.vue +++ b/vue-frontend/src/components/about/LandingSection.vue @@ -1,6 +1,6 @@