-
+
{{ withdrawalsAvailableForClaiming.length }}
@@ -103,7 +106,7 @@
Note: Withdrawals will be enabled before 04/13/2024
-->
@@ -138,6 +142,7 @@ import { useRoute } from "#imports";
import { useOnboardStore } from "@/store/onboard";
import { useZkSyncWithdrawalsStore } from "@/store/zksync/withdrawals";
import useNetworks from "@/composables/useNetworks";
+import Banner from "./Banner.vue";
const { defaultNetwork, isMainnet } = useNetworks();
const route = useRoute();
@@ -217,28 +222,28 @@ const isShowFaucet = computed(() => defaultNetwork.id === 810182);
height: 18px;
}
}
-.banner{
+.banner {
width: 100%;
text-align: center;
- a{
+ a {
display: inline-block;
width: 100%;
min-width: 0px;
max-width: 700px;
}
- .bannerImg{
+ .bannerImg {
display: inline-block;
width: 100%;
height: 80px;
}
- .mobileImg{
+ .mobileImg {
display: none;
}
@media screen and (max-width: 640px) {
- .bannerImg{
+ .bannerImg {
display: none;
}
- .mobileImg{
+ .mobileImg {
display: none;
display: inline-block;
width: 100%;
diff --git a/package-lock.json b/package-lock.json
index 2dd2b8ebc..1123cad6b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -31,6 +31,7 @@
"ofetch": "^1.3.3",
"pinia": "^2.0.33",
"sass": "^1.57.1",
+ "swiper": "^11.1.0",
"ts-node": "^10.0.0",
"typescript": "^4.3.5",
"viem": "^2.9.5",
@@ -25656,6 +25657,24 @@
"node": ">= 10"
}
},
+ "node_modules/swiper": {
+ "version": "11.1.0",
+ "resolved": "https://registry.npmjs.org/swiper/-/swiper-11.1.0.tgz",
+ "integrity": "sha512-Pm78CgU7Wvg+w/MgIL/1NwMSLgx0XqFof25EnVyX8iZFCYJv5CppH7LHkBj43qW2k5Cp3Iz7FcdBxrox7XX2AQ==",
+ "funding": [
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/swiperjs"
+ },
+ {
+ "type": "open_collective",
+ "url": "http://opencollective.com/swiper"
+ }
+ ],
+ "engines": {
+ "node": ">= 4.7.0"
+ }
+ },
"node_modules/tailwindcss": {
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.3.tgz",
diff --git a/package.json b/package.json
index 3c4ddc0df..9b4dbece9 100644
--- a/package.json
+++ b/package.json
@@ -88,6 +88,7 @@
"ofetch": "^1.3.3",
"pinia": "^2.0.33",
"sass": "^1.57.1",
+ "swiper": "^11.1.0",
"ts-node": "^10.0.0",
"typescript": "^4.3.5",
"viem": "^2.9.5",
diff --git a/public/img/portal-banner-mobile.png b/public/img/portal-banner-mobile.png
new file mode 100644
index 000000000..f4c9e7db5
Binary files /dev/null and b/public/img/portal-banner-mobile.png differ
diff --git a/public/img/portal-banner.png b/public/img/portal-banner.png
new file mode 100644
index 000000000..2b13742c2
Binary files /dev/null and b/public/img/portal-banner.png differ