first commit
@@ -0,0 +1,265 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;700;800&family=Roboto&display=swap');
|
||||
|
||||
.bmi-banner {
|
||||
font-family: 'Montserrat', Helvetica, Arial, sans-serif;
|
||||
background: linear-gradient(180deg, #FFFFFF -10.65%, #C3EAF2 103.46%);
|
||||
position: relative;
|
||||
max-width: 1100px;
|
||||
margin: 30px auto;
|
||||
border-radius: 10px;
|
||||
padding: 30px 60px;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.bmi-banner__close {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
font-size: 40px;
|
||||
color: #999;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.bmi-banner__close:hover {
|
||||
color: #929498;
|
||||
}
|
||||
|
||||
.bmi-banner__header div {
|
||||
margin-bottom: 20px;
|
||||
font-weight: 400;
|
||||
font-size: 27px;
|
||||
color: #000;
|
||||
text-align: left;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.bmi-banner__header div .bb-highlight {
|
||||
color: #0C7872;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.bmi-banner__header .small {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.bmi-banner__subheader {
|
||||
text-align: left;
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
color: #000;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.bmi-banner__cards {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 5px;
|
||||
gap: 25px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.bmi-banner__card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #fff;
|
||||
padding: 20px 25px 20px 20px;
|
||||
gap: 10px;
|
||||
border-radius: 20px;
|
||||
flex: 1 1 260px;
|
||||
min-width: 260px;
|
||||
}
|
||||
|
||||
.bmi-banner__card-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 15px;
|
||||
font-weight: 700;
|
||||
font-size: 18px;
|
||||
line-height: 28px;
|
||||
}
|
||||
|
||||
.bmi-banner__card img {
|
||||
display: block;
|
||||
height: 70px;
|
||||
width: 70px;
|
||||
}
|
||||
|
||||
.bmi-banner__card h3 {
|
||||
margin: 0 0 10px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.bmi-banner__card .bmi-banner__card-text {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
line-height: 22.5px;
|
||||
}
|
||||
|
||||
|
||||
.bmi-banner__footer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 25px;
|
||||
}
|
||||
|
||||
.install-now-wrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.install-now-wrapper .bmi-banner__cta-button {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.install-now-wrapper .install-now-text {
|
||||
text-align: left;
|
||||
position: absolute;
|
||||
left: calc(100% + 10px);
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.bmi-banner__footer-text {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.bmi-banner__footer span {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
line-height: 22.5px;
|
||||
}
|
||||
|
||||
.bmi-banner__cta-button {
|
||||
background: #148E87;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: 20px;
|
||||
padding: 10px 50px;
|
||||
font-size: 20px;
|
||||
cursor: pointer;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.bmi-banner__cta-button:hover {
|
||||
background: #10736E;
|
||||
}
|
||||
|
||||
/* CTA loading/disabled states */
|
||||
.bmi-banner__cta-button.is-loading,
|
||||
.bmi-banner__cta-button.is-redirecting,
|
||||
.bmi-banner__cta-button[disabled] {
|
||||
opacity: 0.6;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.bmi-banner .bmi-links {
|
||||
color: #148E87;
|
||||
text-decoration: none;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.bmi-banner__dismiss-link {
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
bottom: 20px;
|
||||
color: #929498;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.bmi-banner__dismiss-link:hover {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.bmi-banner__free-underlined {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.bmi-banner__free-underlined::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: -2px;
|
||||
right: 0;
|
||||
bottom: 4px;
|
||||
height: 7px;
|
||||
background-color: #55BDBD;
|
||||
border-radius: 5px;
|
||||
z-index: 0;
|
||||
width: 110%;
|
||||
}
|
||||
|
||||
.bmi-banner__free-underlined span {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.bmi-banner__left-bg {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 50%;
|
||||
height: 50%;
|
||||
border-radius: 10px 0 0 10px;
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
.bmi-banner__card.bmi-banner__premium-card {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.bmi-banner__premium-card .bmi-banner__card-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.bmi-banner__premium-card .bmi-banner__img-wrapper {
|
||||
flex: 0 0 auto;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.install-now-text {
|
||||
font-size: 15px;
|
||||
color: #929498;
|
||||
}
|
||||
|
||||
.bmi-banner img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Responsive adjustments */
|
||||
@media (max-width: 768px) {
|
||||
.bmi-banner {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.bmi-banner__cards {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.bmi-banner__card {
|
||||
margin: 0 auto;
|
||||
max-width: 300px;
|
||||
}
|
||||
|
||||
.bmi-banner__footer {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
<svg viewBox="0 0 83 81" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="0.957031" y="10.957" width="70" height="70" rx="11.413" fill="url(#paint0_linear_2938_17583)"/>
|
||||
<g filter="url(#filter0_diiii_2938_17583)">
|
||||
<path d="M27.1648 75C25.6924 75 24.3353 74.7701 23.0936 74.3103C21.8695 73.8329 20.7963 73.1609 19.8738 72.2944C18.9691 71.4279 18.2595 70.4111 17.7451 69.244C17.2484 68.0769 17 66.7949 17 65.3979C17 64.0009 17.2484 62.7188 17.7451 61.5517C18.2595 60.3846 18.978 59.3678 19.9004 58.5013C20.8229 57.6348 21.905 56.9717 23.1468 56.5119C24.3885 56.0345 25.7545 55.7958 27.2446 55.7958C28.8944 55.7958 30.3757 56.0699 31.6884 56.618C33.0189 57.1662 34.1365 57.962 35.0412 59.0053L32.2738 61.5517C31.5997 60.8444 30.8635 60.3227 30.0652 59.9867C29.2669 59.6331 28.3977 59.4562 27.4575 59.4562C26.5528 59.4562 25.7279 59.5977 24.9828 59.8806C24.2378 60.1636 23.5903 60.5703 23.0403 61.1008C22.5082 61.6313 22.0913 62.2591 21.7897 62.9841C21.5059 63.7091 21.3639 64.5137 21.3639 65.3979C21.3639 66.2644 21.5059 67.0601 21.7897 67.7851C22.0913 68.5102 22.5082 69.1468 23.0403 69.695C23.5903 70.2255 24.2289 70.6322 24.9562 70.9151C25.7013 71.1981 26.5173 71.3395 27.4043 71.3395C28.2558 71.3395 29.0807 71.2069 29.879 70.9416C30.695 70.6587 31.4844 70.1901 32.2472 69.5358L34.6953 72.6393C33.6841 73.3996 32.5044 73.9832 31.1562 74.3899C29.8257 74.7966 28.4953 75 27.1648 75ZM30.7571 72.0822V65.1061H34.6953V72.6393L30.7571 72.0822Z" fill="white"/>
|
||||
<path d="M46.8687 74.8939C45.6092 74.8939 44.527 74.6286 43.6223 74.0981C42.7176 73.5676 42.0258 72.763 41.5468 71.6844C41.0678 70.588 40.8283 69.2087 40.8283 67.5464C40.8283 65.8665 41.0767 64.4872 41.5734 63.4085C42.0878 62.3298 42.7974 61.5252 43.7021 60.9947C44.6069 60.4642 45.6624 60.1989 46.8687 60.1989C48.2169 60.1989 49.4232 60.4996 50.4875 61.1008C51.5697 61.702 52.4212 62.5508 53.0421 63.6472C53.6807 64.7436 54 66.0433 54 67.5464C54 69.0318 53.6807 70.3227 53.0421 71.4191C52.4212 72.5155 51.5697 73.3731 50.4875 73.992C49.4232 74.5933 48.2169 74.8939 46.8687 74.8939ZM38.4069 74.6817V55H42.5579V63.3024L42.2918 67.5199L42.3717 71.7639V74.6817H38.4069ZM46.1502 71.4987C46.8421 71.4987 47.4541 71.3395 47.9863 71.0212C48.5362 70.7029 48.9708 70.252 49.2901 69.6684C49.6272 69.0672 49.7957 68.3599 49.7957 67.5464C49.7957 66.7153 49.6272 66.008 49.2901 65.4244C48.9708 64.8408 48.5362 64.3899 47.9863 64.0716C47.4541 63.7533 46.8421 63.5942 46.1502 63.5942C45.4584 63.5942 44.8375 63.7533 44.2876 64.0716C43.7376 64.3899 43.303 64.8408 42.9837 65.4244C42.6644 66.008 42.5047 66.7153 42.5047 67.5464C42.5047 68.3599 42.6644 69.0672 42.9837 69.6684C43.303 70.252 43.7376 70.7029 44.2876 71.0212C44.8375 71.3395 45.4584 71.4987 46.1502 71.4987Z" fill="white"/>
|
||||
</g>
|
||||
<g filter="url(#filter1_diiii_2938_17583)">
|
||||
<path d="M33.7739 51C33.4882 51 33.231 50.9 33.0024 50.7C32.8024 50.5 32.7024 50.2429 32.7024 49.9286V29.5286L26.831 34.0286C26.5739 34.2286 26.3024 34.3 26.0167 34.2429C25.7596 34.1857 25.531 34.0286 25.331 33.7714L22.8024 30.4714C22.631 30.2143 22.5596 29.9429 22.5882 29.6571C22.6453 29.3429 22.8167 29.1 23.1024 28.9286L32.9596 21.3C33.131 21.1857 33.2882 21.1143 33.431 21.0857C33.6024 21.0286 33.7882 21 33.9882 21H39.3453C39.631 21 39.8739 21.1 40.0739 21.3C40.3024 21.5 40.4167 21.7571 40.4167 22.0714V49.9286C40.4167 50.2429 40.3024 50.5 40.0739 50.7C39.8739 50.9 39.631 51 39.3453 51H33.7739Z" fill="white"/>
|
||||
</g>
|
||||
<g clip-path="url(#clip0_2938_17583)">
|
||||
<path d="M62.1445 1.52148C62.5361 0.951913 63.3771 0.951733 63.7686 1.52148L65.5957 4.18066C66.1379 4.96989 67.1853 5.22808 68.0322 4.78125L70.8857 3.27539C71.4971 2.95296 72.2421 3.34407 72.3242 4.03027L72.7061 7.23438C72.8194 8.18506 73.6266 8.9003 74.584 8.89844L77.8105 8.8916C78.5019 8.8901 78.98 9.58258 78.7334 10.2285L77.583 13.2432C77.2417 14.1376 77.6241 15.1457 78.4727 15.5889L81.333 17.083C81.9458 17.403 82.0477 18.238 81.5293 18.6953L79.1094 20.8291C78.3913 21.4625 78.2611 22.5335 78.8066 23.3203L80.6455 25.9717C81.0395 26.5398 80.741 27.3272 80.0693 27.4912L76.9346 28.2559C76.0045 28.4831 75.3923 29.371 75.5098 30.3213L75.9053 33.5234C75.9901 34.2096 75.3604 34.7674 74.6895 34.6006L71.5586 33.8223C70.6294 33.5911 69.6736 34.0922 69.3359 34.9883L68.1982 38.0078C67.9542 38.6544 67.1375 38.8559 66.6211 38.3965L64.2109 36.251C63.4956 35.6146 62.4165 35.6145 61.7012 36.251L59.291 38.3965C58.7746 38.8557 57.9578 38.6544 57.7139 38.0078L56.5762 34.9883C56.2386 34.0922 55.2837 33.5911 54.3545 33.8223L51.2236 34.6006C50.5527 34.7675 49.922 34.2096 50.0068 33.5234L50.4033 30.3213C50.5207 29.371 49.9077 28.483 48.9775 28.2559L45.8428 27.4912C45.1713 27.3271 44.8736 26.5398 45.2676 25.9717L47.1055 23.3203C47.6511 22.5334 47.5218 21.4625 46.8037 20.8291L44.3838 18.6953C43.8654 18.2381 43.9666 17.4032 44.5791 17.083L47.4395 15.5889C48.2883 15.1457 48.6705 14.1377 48.3291 13.2432L47.1787 10.2285C46.9322 9.58259 47.4102 8.8901 48.1016 8.8916L51.3281 8.89844C52.2857 8.9005 53.0927 8.18519 53.2061 7.23438L53.5889 4.03027C53.671 3.34423 54.4151 2.95327 55.0264 3.27539L57.8809 4.78125C58.7277 5.22793 59.7752 4.96982 60.3174 4.18066L62.1445 1.52148Z" fill="#148E87" stroke="#167772" stroke-width="0.902068"/>
|
||||
<path d="M52.4813 19.7409H55.6989V20.9858H52.4813V19.7409ZM52.5962 23.4277H51.0448V16.7243H56.1107V17.9692H52.5962V23.4277ZM57.161 23.4277V16.7243H60.0626C60.6627 16.7243 61.1798 16.8233 61.6139 17.0212C62.0481 17.2127 62.3832 17.4904 62.6195 17.8543C62.8557 18.2182 62.9738 18.6523 62.9738 19.1567C62.9738 19.6547 62.8557 20.0856 62.6195 20.4495C62.3832 20.807 62.0481 21.0815 61.6139 21.2731C61.1798 21.4646 60.6627 21.5604 60.0626 21.5604H58.0228L58.7123 20.8804V23.4277H57.161ZM61.4224 23.4277L59.7466 20.9954H61.4033L63.0983 23.4277H61.4224ZM58.7123 21.0528L58.0228 20.325H59.9764C60.4552 20.325 60.8127 20.2229 61.0489 20.0186C61.2852 19.8079 61.4033 19.5206 61.4033 19.1567C61.4033 18.7864 61.2852 18.4991 61.0489 18.2948C60.8127 18.0905 60.4552 17.9884 59.9764 17.9884H58.0228L58.7123 17.251V21.0528ZM65.6298 19.4248H68.857V20.6315H65.6298V19.4248ZM65.7447 22.1828H69.3933V23.4277H64.2029V16.7243H69.2688V17.9692H65.7447V22.1828ZM72.0545 19.4248H75.2817V20.6315H72.0545V19.4248ZM72.1694 22.1828H75.818V23.4277H70.6276V16.7243H75.6935V17.9692H72.1694V22.1828Z" fill="white"/>
|
||||
</g>
|
||||
<defs>
|
||||
<filter id="filter0_diiii_2938_17583" x="16.4336" y="54.6224" width="38.1329" height="21.4161" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dy="0.472039"/>
|
||||
<feGaussianBlur stdDeviation="0.283223"/>
|
||||
<feComposite in2="hardAlpha" operator="out"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.46 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2938_17583"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2938_17583" result="shape"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="-0.377631" dy="0.188815"/>
|
||||
<feGaussianBlur stdDeviation="0.188815"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0.645772 0 0 0 0 0.645772 0 0 0 0 0.645772 0 0 0 1 0"/>
|
||||
<feBlend mode="normal" in2="shape" result="effect2_innerShadow_2938_17583"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="0.377631" dy="-0.377631"/>
|
||||
<feGaussianBlur stdDeviation="0.377631"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0.838246 0 0 0 0 0.838246 0 0 0 0 0.838246 0 0 0 1 0"/>
|
||||
<feBlend mode="normal" in2="effect2_innerShadow_2938_17583" result="effect3_innerShadow_2938_17583"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dy="0.283223"/>
|
||||
<feGaussianBlur stdDeviation="0.0472039"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.79 0"/>
|
||||
<feBlend mode="normal" in2="effect3_innerShadow_2938_17583" result="effect4_innerShadow_2938_17583"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="-0.188815" dy="0.0944077"/>
|
||||
<feGaussianBlur stdDeviation="0.0944077"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
|
||||
<feBlend mode="normal" in2="effect4_innerShadow_2938_17583" result="effect5_innerShadow_2938_17583"/>
|
||||
</filter>
|
||||
<filter id="filter1_diiii_2938_17583" x="22.0156" y="20.6224" width="18.9688" height="31.4161" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dy="0.472039"/>
|
||||
<feGaussianBlur stdDeviation="0.283223"/>
|
||||
<feComposite in2="hardAlpha" operator="out"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.46 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2938_17583"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2938_17583" result="shape"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="-0.377631" dy="0.188815"/>
|
||||
<feGaussianBlur stdDeviation="0.188815"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0.645772 0 0 0 0 0.645772 0 0 0 0 0.645772 0 0 0 1 0"/>
|
||||
<feBlend mode="normal" in2="shape" result="effect2_innerShadow_2938_17583"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="0.377631" dy="-0.377631"/>
|
||||
<feGaussianBlur stdDeviation="0.377631"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0.838246 0 0 0 0 0.838246 0 0 0 0 0.838246 0 0 0 1 0"/>
|
||||
<feBlend mode="normal" in2="effect2_innerShadow_2938_17583" result="effect3_innerShadow_2938_17583"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dy="0.283223"/>
|
||||
<feGaussianBlur stdDeviation="0.0472039"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.79 0"/>
|
||||
<feBlend mode="normal" in2="effect3_innerShadow_2938_17583" result="effect4_innerShadow_2938_17583"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="-0.188815" dy="0.0944077"/>
|
||||
<feGaussianBlur stdDeviation="0.0944077"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
|
||||
<feBlend mode="normal" in2="effect4_innerShadow_2938_17583" result="effect5_innerShadow_2938_17583"/>
|
||||
</filter>
|
||||
<linearGradient id="paint0_linear_2938_17583" x1="23.007" y1="29.1577" x2="73.407" y2="77.1077" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#7FB4E9"/>
|
||||
<stop offset="1" stop-color="#3346A9"/>
|
||||
</linearGradient>
|
||||
<clipPath id="clip0_2938_17583">
|
||||
<rect width="38.7889" height="39.691" fill="white" transform="translate(43.543 0.5)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 11 KiB |
@@ -0,0 +1,98 @@
|
||||
<svg width="70" height="70" viewBox="0 0 70 70" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_2596_3679)">
|
||||
<rect width="70" height="70" rx="11.413" fill="url(#paint0_linear_2596_3679)"/>
|
||||
<path d="M41.2254 76.125H31.1844H29.5779V45.0187H22.75L35.2008 28.875L47.25 45.0187H41.2254V76.125Z" fill="url(#paint1_linear_2596_3679)"/>
|
||||
<g filter="url(#filter0_diiii_2596_3679)">
|
||||
<path d="M17.1583 63.116V61.3661L21.658 57.1163C22.0136 56.7941 22.2747 56.5052 22.4413 56.2497C22.608 55.9941 22.7191 55.7608 22.7747 55.5497C22.8413 55.3386 22.8746 55.1442 22.8746 54.9664C22.8746 54.4998 22.7135 54.1443 22.3913 53.8998C22.0802 53.6443 21.6192 53.5165 21.0081 53.5165C20.5192 53.5165 20.0637 53.6109 19.6415 53.7998C19.2304 53.9887 18.8804 54.2831 18.5916 54.6831L16.625 53.4165C17.0694 52.7499 17.6916 52.2221 18.4916 51.8333C19.2915 51.4444 20.2137 51.25 21.2581 51.25C22.1247 51.25 22.8802 51.3944 23.5246 51.6833C24.1801 51.961 24.6857 52.3555 25.0412 52.8665C25.4078 53.3776 25.5912 53.9887 25.5912 54.6998C25.5912 55.0775 25.5412 55.4553 25.4412 55.833C25.3523 56.1997 25.1634 56.5886 24.8745 56.9996C24.5968 57.4107 24.1857 57.8718 23.6413 58.3829L19.9081 61.8994L19.3915 60.9161H25.9745V63.116H17.1583Z" fill="white"/>
|
||||
<path d="M36.4246 63.316C35.5024 63.316 34.6524 63.1715 33.8747 62.8826C33.1081 62.5827 32.4359 62.1605 31.8582 61.616C31.2915 61.0716 30.8471 60.4328 30.5249 59.6995C30.2138 58.9662 30.0583 58.1607 30.0583 57.283C30.0583 56.4052 30.2138 55.5997 30.5249 54.8664C30.8471 54.1331 31.2971 53.4943 31.8748 52.9499C32.4526 52.4055 33.1303 51.9888 33.908 51.6999C34.6858 51.4 35.5413 51.25 36.4746 51.25C37.5078 51.25 38.4356 51.4222 39.2577 51.7666C40.091 52.111 40.791 52.611 41.3576 53.2665L39.6244 54.8664C39.2022 54.422 38.7411 54.0943 38.2411 53.8832C37.7411 53.6609 37.1967 53.5498 36.6079 53.5498C36.0412 53.5498 35.5246 53.6387 35.058 53.8165C34.5913 53.9943 34.1858 54.2498 33.8414 54.5831C33.5081 54.9164 33.247 55.3109 33.0581 55.7664C32.8803 56.2219 32.7914 56.7274 32.7914 57.283C32.7914 57.8274 32.8803 58.3273 33.0581 58.7829C33.247 59.2384 33.5081 59.6384 33.8414 59.9828C34.1858 60.3161 34.5858 60.5717 35.0413 60.7494C35.5079 60.9272 36.019 61.0161 36.5745 61.0161C37.1079 61.0161 37.6245 60.9328 38.1245 60.7661C38.6355 60.5883 39.13 60.2939 39.6077 59.8828L41.141 61.8327C40.5077 62.3105 39.7688 62.6771 38.9244 62.9326C38.0911 63.1882 37.2578 63.316 36.4246 63.316ZM38.6744 61.4827V57.0996H41.141V61.8327L38.6744 61.4827Z" fill="white"/>
|
||||
<path d="M48.7653 63.2493C47.9764 63.2493 47.2987 63.0826 46.732 62.7493C46.1654 62.416 45.7321 61.9105 45.4321 61.2327C45.1321 60.5439 44.9821 59.6773 44.9821 58.6329C44.9821 57.5774 45.1377 56.7108 45.4488 56.033C45.771 55.3553 46.2154 54.8498 46.782 54.5165C47.3487 54.1831 48.0098 54.0165 48.7653 54.0165C49.6097 54.0165 50.3652 54.2054 51.0318 54.5831C51.7095 54.9609 52.2428 55.4942 52.6317 56.183C53.0317 56.8719 53.2317 57.6885 53.2317 58.6329C53.2317 59.5662 53.0317 60.3772 52.6317 61.0661C52.2428 61.7549 51.7095 62.2938 51.0318 62.6827C50.3652 63.0604 49.6097 63.2493 48.7653 63.2493ZM43.4656 63.116V50.75H46.0654V55.9664L45.8988 58.6162L45.9488 61.2827V63.116H43.4656ZM48.3153 61.1161C48.7486 61.1161 49.1319 61.0161 49.4652 60.8161C49.8096 60.6161 50.0819 60.3328 50.2818 59.9661C50.4929 59.5884 50.5985 59.144 50.5985 58.6329C50.5985 58.1107 50.4929 57.6663 50.2818 57.2996C50.0819 56.933 49.8096 56.6497 49.4652 56.4497C49.1319 56.2497 48.7486 56.1497 48.3153 56.1497C47.882 56.1497 47.4931 56.2497 47.1487 56.4497C46.8043 56.6497 46.5321 56.933 46.3321 57.2996C46.1321 57.6663 46.0321 58.1107 46.0321 58.6329C46.0321 59.144 46.1321 59.5884 46.3321 59.9661C46.5321 60.3328 46.8043 60.6161 47.1487 60.8161C47.4931 61.0161 47.882 61.1161 48.3153 61.1161Z" fill="white"/>
|
||||
</g>
|
||||
<g filter="url(#filter1_diiii_2596_3679)">
|
||||
<path d="M5.25 22.6692V19.7987L13.9405 8.10606H18.4174L9.91127 19.7987L7.83082 19.193H22.3413V22.6692H5.25ZM15.1782 26.5405V22.6692L15.3099 19.193V15.7432H19.3391V26.5405H15.1782Z" fill="white"/>
|
||||
<path d="M38.5103 26.8565C37.0532 26.8565 35.7101 26.6282 34.4811 26.1718C33.2697 25.6977 32.2075 25.0306 31.2946 24.1703C30.3992 23.3101 29.697 22.3005 29.1878 21.1418C28.6962 19.9831 28.4504 18.7102 28.4504 17.3233C28.4504 15.9363 28.6962 14.6634 29.1878 13.5047C29.697 12.346 30.408 11.3365 31.3209 10.4762C32.2339 9.61593 33.3048 8.95756 34.5338 8.50109C35.7627 8.02706 37.1146 7.79005 38.5894 7.79005C40.2221 7.79005 41.6881 8.06217 42.9873 8.60643C44.304 9.15068 45.4101 9.94073 46.3055 10.9766L43.5666 13.5047C42.8995 12.8024 42.1709 12.2845 41.3809 11.951C40.5908 11.5998 39.7305 11.4243 38.8 11.4243C37.9046 11.4243 37.0883 11.5647 36.3509 11.8456C35.6135 12.1265 34.9727 12.5303 34.4284 13.057C33.9018 13.5837 33.4892 14.207 33.1907 14.9268C32.9098 15.6466 32.7694 16.4454 32.7694 17.3233C32.7694 18.1835 32.9098 18.9736 33.1907 19.6934C33.4892 20.4132 33.9018 21.0453 34.4284 21.5895C34.9727 22.1162 35.6047 22.52 36.3246 22.8009C37.0619 23.0818 37.8695 23.2223 38.7474 23.2223C39.5901 23.2223 40.4065 23.0906 41.1965 22.8272C42.0041 22.5463 42.7854 22.0811 43.5403 21.4315L45.9631 24.5127C44.9624 25.2676 43.7949 25.847 42.4606 26.2508C41.1438 26.6546 39.8271 26.8565 38.5103 26.8565ZM42.0656 23.9596V17.0336H45.9631V24.5127L42.0656 23.9596Z" fill="white"/>
|
||||
<path d="M58.0109 26.7511C56.7644 26.7511 55.6934 26.4878 54.798 25.9611C53.9027 25.4344 53.218 24.6356 52.7439 23.5646C52.2699 22.4761 52.0329 21.1067 52.0329 19.4564C52.0329 17.7885 52.2787 16.4191 52.7703 15.3481C53.2794 14.2772 53.9817 13.4784 54.8771 12.9517C55.7724 12.425 56.8171 12.1616 58.0109 12.1616C59.3452 12.1616 60.539 12.4601 61.5924 13.057C62.6634 13.6539 63.5061 14.4967 64.1206 15.5852C64.7526 16.6737 65.0686 17.9641 65.0686 19.4564C65.0686 20.9311 64.7526 22.2128 64.1206 23.3013C63.5061 24.3898 62.6634 25.2413 61.5924 25.8558C60.539 26.4527 59.3452 26.7511 58.0109 26.7511ZM49.6364 26.5405V7H53.7447V15.2428L53.4813 19.4301L53.5603 23.6436V26.5405H49.6364ZM57.2999 23.3803C57.9846 23.3803 58.5903 23.2223 59.117 22.9063C59.6612 22.5902 60.0914 22.1425 60.4074 21.5632C60.7409 20.9663 60.9077 20.264 60.9077 19.4564C60.9077 18.6312 60.7409 17.929 60.4074 17.3496C60.0914 16.7702 59.6612 16.3225 59.117 16.0065C58.5903 15.6905 57.9846 15.5325 57.2999 15.5325C56.6152 15.5325 56.0007 15.6905 55.4564 16.0065C54.9122 16.3225 54.482 16.7702 54.166 17.3496C53.85 17.929 53.692 18.6312 53.692 19.4564C53.692 20.264 53.85 20.9663 54.166 21.5632C54.482 22.1425 54.9122 22.5902 55.4564 22.9063C56.0007 23.2223 56.6152 23.3803 57.2999 23.3803Z" fill="white"/>
|
||||
</g>
|
||||
</g>
|
||||
<defs>
|
||||
<filter id="filter0_diiii_2596_3679" x="16.2665" y="50.511" width="37.3236" height="13.4621" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dy="0.298724"/>
|
||||
<feGaussianBlur stdDeviation="0.179235"/>
|
||||
<feComposite in2="hardAlpha" operator="out"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.46 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2596_3679"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2596_3679" result="shape"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="-0.238979" dy="0.11949"/>
|
||||
<feGaussianBlur stdDeviation="0.11949"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0.645772 0 0 0 0 0.645772 0 0 0 0 0.645772 0 0 0 1 0"/>
|
||||
<feBlend mode="normal" in2="shape" result="effect2_innerShadow_2596_3679"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="0.238979" dy="-0.238979"/>
|
||||
<feGaussianBlur stdDeviation="0.238979"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0.838246 0 0 0 0 0.838246 0 0 0 0 0.838246 0 0 0 1 0"/>
|
||||
<feBlend mode="normal" in2="effect2_innerShadow_2596_3679" result="effect3_innerShadow_2596_3679"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dy="0.179235"/>
|
||||
<feGaussianBlur stdDeviation="0.0298724"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.79 0"/>
|
||||
<feBlend mode="normal" in2="effect3_innerShadow_2596_3679" result="effect4_innerShadow_2596_3679"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="-0.11949" dy="0.0597449"/>
|
||||
<feGaussianBlur stdDeviation="0.0597449"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
|
||||
<feBlend mode="normal" in2="effect4_innerShadow_2596_3679" result="effect5_innerShadow_2596_3679"/>
|
||||
</filter>
|
||||
<filter id="filter1_diiii_2596_3679" x="4.68355" y="6.62237" width="60.9515" height="21.2726" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dy="0.472039"/>
|
||||
<feGaussianBlur stdDeviation="0.283223"/>
|
||||
<feComposite in2="hardAlpha" operator="out"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.46 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2596_3679"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2596_3679" result="shape"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="-0.377631" dy="0.188815"/>
|
||||
<feGaussianBlur stdDeviation="0.188815"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0.645772 0 0 0 0 0.645772 0 0 0 0 0.645772 0 0 0 1 0"/>
|
||||
<feBlend mode="normal" in2="shape" result="effect2_innerShadow_2596_3679"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="0.377631" dy="-0.377631"/>
|
||||
<feGaussianBlur stdDeviation="0.377631"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0.838246 0 0 0 0 0.838246 0 0 0 0 0.838246 0 0 0 1 0"/>
|
||||
<feBlend mode="normal" in2="effect2_innerShadow_2596_3679" result="effect3_innerShadow_2596_3679"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dy="0.283223"/>
|
||||
<feGaussianBlur stdDeviation="0.0472039"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.79 0"/>
|
||||
<feBlend mode="normal" in2="effect3_innerShadow_2596_3679" result="effect4_innerShadow_2596_3679"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="-0.188815" dy="0.0944077"/>
|
||||
<feGaussianBlur stdDeviation="0.0944077"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
|
||||
<feBlend mode="normal" in2="effect4_innerShadow_2596_3679" result="effect5_innerShadow_2596_3679"/>
|
||||
</filter>
|
||||
<linearGradient id="paint0_linear_2596_3679" x1="22.05" y1="18.2007" x2="72.45" y2="66.1507" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#7FB4E9"/>
|
||||
<stop offset="1" stop-color="#3346A9"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_2596_3679" x1="35" y1="14" x2="35" y2="69.5625" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.157721" stop-color="white"/>
|
||||
<stop offset="0.596019" stop-color="white" stop-opacity="0.19"/>
|
||||
<stop offset="1" stop-color="white" stop-opacity="0"/>
|
||||
</linearGradient>
|
||||
<clipPath id="clip0_2596_3679">
|
||||
<rect width="70" height="70" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 12 KiB |
@@ -0,0 +1,91 @@
|
||||
<svg width="83" height="81" viewBox="0 0 83 81" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="0.957031" y="10.957" width="70" height="70" rx="11.413" fill="url(#paint0_linear_2596_7267)"/>
|
||||
<g filter="url(#filter0_diiii_2596_7267)">
|
||||
<path d="M27.1648 75C25.6924 75 24.3353 74.7701 23.0936 74.3103C21.8695 73.8329 20.7963 73.1609 19.8738 72.2944C18.9691 71.4279 18.2595 70.4111 17.7451 69.244C17.2484 68.0769 17 66.7949 17 65.3979C17 64.0009 17.2484 62.7188 17.7451 61.5517C18.2595 60.3846 18.978 59.3678 19.9004 58.5013C20.8229 57.6348 21.905 56.9717 23.1468 56.5119C24.3885 56.0345 25.7545 55.7958 27.2446 55.7958C28.8944 55.7958 30.3757 56.0699 31.6884 56.618C33.0189 57.1662 34.1365 57.962 35.0412 59.0053L32.2738 61.5517C31.5997 60.8444 30.8635 60.3227 30.0652 59.9867C29.2669 59.6331 28.3977 59.4562 27.4575 59.4562C26.5528 59.4562 25.7279 59.5977 24.9828 59.8806C24.2378 60.1636 23.5903 60.5703 23.0403 61.1008C22.5082 61.6313 22.0913 62.2591 21.7897 62.9841C21.5059 63.7091 21.3639 64.5137 21.3639 65.3979C21.3639 66.2644 21.5059 67.0601 21.7897 67.7851C22.0913 68.5102 22.5082 69.1468 23.0403 69.695C23.5903 70.2255 24.2289 70.6322 24.9562 70.9151C25.7013 71.1981 26.5173 71.3395 27.4043 71.3395C28.2558 71.3395 29.0807 71.2069 29.879 70.9416C30.695 70.6587 31.4844 70.1901 32.2472 69.5358L34.6953 72.6393C33.6841 73.3996 32.5044 73.9832 31.1562 74.3899C29.8257 74.7966 28.4953 75 27.1648 75ZM30.7571 72.0822V65.1061H34.6953V72.6393L30.7571 72.0822Z" fill="white"/>
|
||||
<path d="M46.8687 74.8939C45.6092 74.8939 44.527 74.6286 43.6223 74.0981C42.7176 73.5676 42.0258 72.763 41.5468 71.6844C41.0678 70.588 40.8283 69.2087 40.8283 67.5464C40.8283 65.8665 41.0767 64.4872 41.5734 63.4085C42.0878 62.3298 42.7974 61.5252 43.7021 60.9947C44.6069 60.4642 45.6624 60.1989 46.8687 60.1989C48.2169 60.1989 49.4232 60.4996 50.4875 61.1008C51.5697 61.702 52.4212 62.5508 53.0421 63.6472C53.6807 64.7436 54 66.0433 54 67.5464C54 69.0318 53.6807 70.3227 53.0421 71.4191C52.4212 72.5155 51.5697 73.3731 50.4875 73.992C49.4232 74.5933 48.2169 74.8939 46.8687 74.8939ZM38.4069 74.6817V55H42.5579V63.3024L42.2918 67.5199L42.3717 71.7639V74.6817H38.4069ZM46.1502 71.4987C46.8421 71.4987 47.4541 71.3395 47.9863 71.0212C48.5362 70.7029 48.9708 70.252 49.2901 69.6684C49.6272 69.0672 49.7957 68.3599 49.7957 67.5464C49.7957 66.7153 49.6272 66.008 49.2901 65.4244C48.9708 64.8408 48.5362 64.3899 47.9863 64.0716C47.4541 63.7533 46.8421 63.5942 46.1502 63.5942C45.4584 63.5942 44.8375 63.7533 44.2876 64.0716C43.7376 64.3899 43.303 64.8408 42.9837 65.4244C42.6644 66.008 42.5047 66.7153 42.5047 67.5464C42.5047 68.3599 42.6644 69.0672 42.9837 69.6684C43.303 70.252 43.7376 70.7029 44.2876 71.0212C44.8375 71.3395 45.4584 71.4987 46.1502 71.4987Z" fill="white"/>
|
||||
</g>
|
||||
<g filter="url(#filter1_diiii_2596_7267)">
|
||||
<path d="M35.4402 51C32.9422 51 30.8562 50.5921 29.182 49.7764C27.5078 48.9325 26.2322 47.8495 25.3553 46.5274C24.5049 45.1772 24.0531 43.7286 24 42.1814C24 41.9283 24.0797 41.7173 24.2392 41.5485C24.3986 41.3797 24.5979 41.2954 24.8371 41.2954H30.1785C30.524 41.2954 30.7897 41.3797 30.9757 41.5485C31.1883 41.6892 31.3478 41.872 31.4541 42.097C31.6932 42.744 31.9988 43.2785 32.3709 43.7004C32.7695 44.1224 33.2213 44.4318 33.7262 44.6287C34.2577 44.8256 34.8423 44.924 35.4801 44.924C36.2241 44.924 36.9151 44.7553 37.5529 44.4177C38.1906 44.0802 38.6956 43.5879 39.0676 42.9409C39.4662 42.2658 39.6655 41.4641 39.6655 40.5359C39.6655 39.692 39.4795 38.9606 39.1075 38.3418C38.762 37.7229 38.2704 37.2307 37.6326 36.865C36.9948 36.4993 36.2773 36.3165 35.4801 36.3165C34.8423 36.3165 34.3241 36.4008 33.9255 36.5696C33.5269 36.7103 33.1947 36.8931 32.9289 37.1181C32.6632 37.3432 32.424 37.5401 32.2114 37.7089C31.9988 37.8495 31.7597 37.9198 31.4939 37.9198H26.2721C26.0329 37.9198 25.8203 37.8354 25.6343 37.6667C25.4749 37.4698 25.3951 37.2447 25.3951 36.9916L26.8302 22.2658C26.8833 21.8439 27.0295 21.5345 27.2686 21.3376C27.5078 21.1125 27.8001 21 28.1456 21H44.13C44.4223 21 44.6615 21.0985 44.8475 21.2954C45.0335 21.4923 45.1265 21.7454 45.1265 22.0549V26.0211C45.1265 26.3305 45.0335 26.5837 44.8475 26.7806C44.6615 26.9775 44.4223 27.0759 44.13 27.0759H32.5702L32.052 32.5612C32.6366 32.1392 33.3143 31.8017 34.0849 31.5485C34.8821 31.2672 35.9584 31.1266 37.3137 31.1266C38.5893 31.1266 39.7984 31.3516 40.9411 31.8017C42.1103 32.2518 43.1467 32.8987 44.0503 33.7426C44.9804 34.5865 45.6979 35.5992 46.2028 36.7806C46.7343 37.9339 47 39.2419 47 40.7046C47 42.7018 46.535 44.474 45.6049 46.0211C44.7013 47.5682 43.3859 48.7918 41.6586 49.692C39.9313 50.564 37.8585 51 35.4402 51Z" fill="white"/>
|
||||
</g>
|
||||
<g clip-path="url(#clip0_2596_7267)">
|
||||
<path d="M62.146 1.52158C62.5375 0.951722 63.3789 0.951722 63.7704 1.52158L65.5976 4.18097C66.1398 4.9702 67.1871 5.22834 68.034 4.78151L70.8878 3.27585C71.4993 2.95322 72.2442 3.3442 72.3261 4.03074L72.7081 7.23464C72.8214 8.18546 73.6288 8.90073 74.5864 8.89866L77.8129 8.89167C78.5043 8.89017 78.9823 9.58257 78.7357 10.2285L77.585 13.2429C77.2435 14.1375 77.626 15.1461 78.4748 15.5892L81.3351 17.0825C81.948 17.4025 82.0494 18.2377 81.5309 18.6951L79.1111 20.8294C78.393 21.4629 78.263 22.5337 78.8086 23.3205L80.6473 25.972C81.0413 26.5401 80.7429 27.3268 80.0713 27.4908L76.9368 28.2562C76.0066 28.4833 75.3938 29.371 75.5113 30.3214L75.9072 33.5236C75.992 34.2098 75.3622 34.7677 74.6913 34.6007L71.5601 33.8218C70.6309 33.5906 69.6758 34.0919 69.3382 34.988L68.2006 38.0073C67.9568 38.6543 67.1399 38.8557 66.6234 38.3961L64.2129 36.2512C63.4975 35.6147 62.4189 35.6147 61.7035 36.2512L59.293 38.3961C58.7765 38.8557 57.9596 38.6543 57.7158 38.0073L56.5782 34.988C56.2406 34.0919 55.2855 33.5906 54.3563 33.8218L51.2251 34.6007C50.5542 34.7677 49.9244 34.2098 50.0093 33.5236L50.4051 30.3214C50.5226 29.371 49.9099 28.4833 48.9796 28.2562L45.8451 27.4908C45.1735 27.3268 44.8751 26.5401 45.2691 25.972L47.1078 23.3205C47.6534 22.5337 47.5234 21.4629 46.8053 20.8295L44.3855 18.6951C43.867 18.2377 43.9684 17.4025 44.5813 17.0825L47.4416 15.5892C48.2904 15.1461 48.6729 14.1375 48.3314 13.2429L47.1807 10.2285C46.9342 9.58257 47.4121 8.89017 48.1035 8.89167L51.3301 8.89866C52.2876 8.90073 53.095 8.18545 53.2084 7.23464L53.5903 4.03074C53.6722 3.3442 54.4172 2.95322 55.0287 3.27585L57.8824 4.78151C58.7293 5.22834 59.7766 4.9702 60.3189 4.18097L62.146 1.52158Z" fill="#148E87" stroke="#167772" stroke-width="0.902068"/>
|
||||
<path d="M52.4793 19.7409H55.697V20.9858H52.4793V19.7409ZM52.5942 23.4277H51.0429V16.7243H56.1087V17.9692H52.5942V23.4277ZM57.159 23.4277V16.7243H60.0606C60.6607 16.7243 61.1779 16.8233 61.612 17.0212C62.0461 17.2127 62.3813 17.4904 62.6175 17.8543C62.8537 18.2182 62.9718 18.6523 62.9718 19.1567C62.9718 19.6547 62.8537 20.0856 62.6175 20.4495C62.3813 20.807 62.0461 21.0815 61.612 21.2731C61.1779 21.4646 60.6607 21.5604 60.0606 21.5604H58.0209L58.7104 20.8804V23.4277H57.159ZM61.4205 23.4277L59.7446 20.9954H61.4013L63.0963 23.4277H61.4205ZM58.7104 21.0528L58.0209 20.325H59.9744C60.4533 20.325 60.8108 20.2229 61.047 20.0186C61.2832 19.8079 61.4013 19.5206 61.4013 19.1567C61.4013 18.7864 61.2832 18.4991 61.047 18.2948C60.8108 18.0905 60.4533 17.9884 59.9744 17.9884H58.0209L58.7104 17.251V21.0528ZM65.6278 19.4248H68.855V20.6315H65.6278V19.4248ZM65.7427 22.1828H69.3913V23.4277H64.201V16.7243H69.2668V17.9692H65.7427V22.1828ZM72.0526 19.4248H75.2798V20.6315H72.0526V19.4248ZM72.1675 22.1828H75.816V23.4277H70.6257V16.7243H75.6916V17.9692H72.1675V22.1828Z" fill="white"/>
|
||||
</g>
|
||||
<defs>
|
||||
<filter id="filter0_diiii_2596_7267" x="16.4336" y="54.6224" width="38.1329" height="21.4161" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dy="0.472039"/>
|
||||
<feGaussianBlur stdDeviation="0.283223"/>
|
||||
<feComposite in2="hardAlpha" operator="out"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.46 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2596_7267"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2596_7267" result="shape"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="-0.377631" dy="0.188815"/>
|
||||
<feGaussianBlur stdDeviation="0.188815"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0.645772 0 0 0 0 0.645772 0 0 0 0 0.645772 0 0 0 1 0"/>
|
||||
<feBlend mode="normal" in2="shape" result="effect2_innerShadow_2596_7267"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="0.377631" dy="-0.377631"/>
|
||||
<feGaussianBlur stdDeviation="0.377631"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0.838246 0 0 0 0 0.838246 0 0 0 0 0.838246 0 0 0 1 0"/>
|
||||
<feBlend mode="normal" in2="effect2_innerShadow_2596_7267" result="effect3_innerShadow_2596_7267"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dy="0.283223"/>
|
||||
<feGaussianBlur stdDeviation="0.0472039"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.79 0"/>
|
||||
<feBlend mode="normal" in2="effect3_innerShadow_2596_7267" result="effect4_innerShadow_2596_7267"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="-0.188815" dy="0.0944077"/>
|
||||
<feGaussianBlur stdDeviation="0.0944077"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
|
||||
<feBlend mode="normal" in2="effect4_innerShadow_2596_7267" result="effect5_innerShadow_2596_7267"/>
|
||||
</filter>
|
||||
<filter id="filter1_diiii_2596_7267" x="23.4336" y="20.6224" width="24.1329" height="31.4161" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
||||
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dy="0.472039"/>
|
||||
<feGaussianBlur stdDeviation="0.283223"/>
|
||||
<feComposite in2="hardAlpha" operator="out"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.46 0"/>
|
||||
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2596_7267"/>
|
||||
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2596_7267" result="shape"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="-0.377631" dy="0.188815"/>
|
||||
<feGaussianBlur stdDeviation="0.188815"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0.645772 0 0 0 0 0.645772 0 0 0 0 0.645772 0 0 0 1 0"/>
|
||||
<feBlend mode="normal" in2="shape" result="effect2_innerShadow_2596_7267"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="0.377631" dy="-0.377631"/>
|
||||
<feGaussianBlur stdDeviation="0.377631"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0.838246 0 0 0 0 0.838246 0 0 0 0 0.838246 0 0 0 1 0"/>
|
||||
<feBlend mode="normal" in2="effect2_innerShadow_2596_7267" result="effect3_innerShadow_2596_7267"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dy="0.283223"/>
|
||||
<feGaussianBlur stdDeviation="0.0472039"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.79 0"/>
|
||||
<feBlend mode="normal" in2="effect3_innerShadow_2596_7267" result="effect4_innerShadow_2596_7267"/>
|
||||
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
||||
<feOffset dx="-0.188815" dy="0.0944077"/>
|
||||
<feGaussianBlur stdDeviation="0.0944077"/>
|
||||
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
||||
<feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
|
||||
<feBlend mode="normal" in2="effect4_innerShadow_2596_7267" result="effect5_innerShadow_2596_7267"/>
|
||||
</filter>
|
||||
<linearGradient id="paint0_linear_2596_7267" x1="23.007" y1="29.1577" x2="73.407" y2="77.1077" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#7FB4E9"/>
|
||||
<stop offset="1" stop-color="#3346A9"/>
|
||||
</linearGradient>
|
||||
<clipPath id="clip0_2596_7267">
|
||||
<rect width="38.7889" height="39.691" fill="white" transform="translate(43.543 0.5)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 538 KiB |
@@ -0,0 +1,14 @@
|
||||
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_2596_3690)">
|
||||
<path d="M12.4982 1.72371e-06C11.3582 -0.000596094 10.2235 0.15431 9.12545 0.460436V13.1553C9.15802 13.7571 9.31254 14.3459 9.57963 14.8862C9.84673 15.4264 10.2208 15.9067 10.6792 16.298C11.1376 16.6892 11.6707 16.9832 12.2462 17.1622C12.8217 17.3411 13.4275 17.4012 14.0269 17.3389H14.087C15.9159 17.3385 17.6783 16.6529 19.0267 15.4173C20.375 14.1816 21.2115 12.4856 21.3712 10.6637C21.8321 12.257 21.7941 13.9532 21.2624 15.5242C20.7307 17.0953 19.7308 18.4659 18.3971 19.4519C17.0634 20.4378 15.4598 20.9919 13.8019 21.0395C12.144 21.0871 10.5113 20.626 9.12318 19.7182V21.4635H5.44197V13.2324C5.44197 13.1296 5.44197 13.0283 5.44197 12.9285C5.44197 12.8287 5.44424 12.7221 5.44877 12.6087V2.17856C2.97833 3.86626 1.19519 6.38408 0.42324 9.27467C-0.348709 12.1653 -0.0582492 15.2368 1.24186 17.9315C2.54196 20.6261 4.76547 22.7651 7.50847 23.9598C10.2515 25.1545 13.332 25.3257 16.1905 24.4423C19.049 23.5589 21.4958 21.6795 23.0865 19.1455C24.6772 16.6115 25.3062 13.591 24.8594 10.6327C24.4125 7.67439 22.9193 4.97448 20.6511 3.02343C18.3829 1.07238 15.4901 -0.000383146 12.4982 1.72371e-06Z" fill="#00988F"/>
|
||||
<path d="M13.9897 8.498C14.8088 8.57617 15.5901 8.8803 16.2464 9.37649C16.9028 9.87267 17.4085 10.5414 17.707 11.3081C18.0056 12.0749 18.0854 12.9094 17.9374 13.7189C17.7895 14.5283 17.4196 15.2807 16.8691 15.8922C17.0313 15.713 17.4361 15.5916 17.6482 15.4533C18.4893 14.897 19.1913 14.1547 19.6997 13.2838C20.4346 12.0193 20.8622 10.6754 20.4789 9.22381C19.9118 7.06226 17.8126 5.68549 15.7849 5.10825C15.6398 5.06629 13.9897 4.74648 13.9897 4.80885V3.03516L10.1406 6.89101L13.9897 10.7412V8.498Z" fill="#4BC1BE"/>
|
||||
<g style="mix-blend-mode:darken" opacity="0.07">
|
||||
<path d="M21.3362 3.66016L18.5361 6.46359C19.4513 7.16558 20.176 8.08645 20.4777 9.2262C20.861 10.6778 20.4335 12.0217 19.6986 13.2862C19.1901 14.1571 18.4881 14.8993 17.647 15.4557C17.4361 15.594 17.0301 15.7154 16.8679 15.8946C17.306 15.4094 17.6315 14.8335 17.8212 14.208C18.0109 13.5824 18.06 12.9227 17.9651 12.276C17.8702 11.6293 17.6336 11.0115 17.2722 10.4668C16.9107 9.92215 16.4335 9.46405 15.8745 9.12527L9.76747 15.23C10.2045 15.9491 10.8367 16.5294 11.5906 16.9034C12.3444 17.2774 13.1889 17.4298 14.0259 17.3428H14.086C15.9149 17.3424 17.6773 16.6568 19.0257 15.4211C20.3741 14.1855 21.2105 12.4895 21.3702 10.6676C21.8311 12.2609 21.7931 13.9571 21.2614 15.5281C20.7297 17.0992 19.7298 18.4698 18.3961 19.4558C17.0624 20.4417 15.4588 20.9958 13.8009 21.0434C12.143 21.091 10.5103 20.6299 9.12218 19.7221V21.4674H5.44097V19.5508L3.6582 21.3381C6.00245 23.6824 9.18193 24.9994 12.4972 24.9994C15.8125 24.9994 18.9919 23.6824 21.3362 21.3381C23.6804 18.9939 24.9974 15.8144 24.9974 12.4991C24.9974 9.18388 23.6804 6.0044 21.3362 3.66016Z" fill="#231F20"/>
|
||||
</g>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_2596_3690">
|
||||
<rect width="24.9996" height="25" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
@@ -0,0 +1,39 @@
|
||||
<svg width="70" height="70" viewBox="0 0 70 70" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="70" height="70" rx="11.413" fill="url(#paint0_linear_2596_3637)"/>
|
||||
<rect x="5.3252" y="5.32605" width="28.8646" height="28.8646" rx="4.61834" fill="white"/>
|
||||
<g clip-path="url(#clip0_2596_3637)">
|
||||
<path d="M9.50757 27.3844L10.5619 29.2055C10.7809 29.5889 11.0959 29.8901 11.4656 30.1092L15.2309 23.5917H7.7002C7.7002 24.0161 7.80973 24.4406 8.02881 24.824L9.50757 27.3844Z" fill="#0066DA"/>
|
||||
<path d="M19.6535 15.9246L15.8881 9.4071C15.5184 9.62618 15.2035 9.92741 14.9844 10.3108L8.02881 22.3599C7.81376 22.735 7.70048 23.1598 7.7002 23.5922H15.2309L19.6535 15.9246Z" fill="#00AC47"/>
|
||||
<path d="M27.8431 30.109C28.2127 29.89 28.5277 29.5887 28.7467 29.2054L29.1849 28.4523L31.2798 24.8239C31.4989 24.4405 31.6084 24.016 31.6084 23.5916H24.0771L25.6797 26.7408L27.8431 30.109Z" fill="#EA4335"/>
|
||||
<path d="M19.657 15.9231L23.4223 9.40564C23.0526 9.18656 22.6282 9.07703 22.19 9.07703H17.1239C16.6857 9.07703 16.2613 9.20026 15.8916 9.40564L19.657 15.9231Z" fill="#00832D"/>
|
||||
<path d="M24.0763 23.5917H15.2312L11.4658 30.1092C11.8355 30.3282 12.26 30.4378 12.6981 30.4378H26.6094C27.0476 30.4378 27.472 30.3145 27.8417 30.1092L24.0763 23.5917Z" fill="#2684FC"/>
|
||||
<path d="M27.8002 16.3354L24.3224 10.3108C24.1033 9.92741 23.7884 9.62618 23.4187 9.4071L19.6533 15.9246L24.0759 23.5922H31.5929C31.5929 23.1678 31.4834 22.7433 31.2643 22.3599L27.8002 16.3354Z" fill="#FFBA00"/>
|
||||
</g>
|
||||
<rect x="5.3252" y="35.8092" width="28.8646" height="28.8646" rx="4.61834" fill="white"/>
|
||||
<g clip-path="url(#clip1_2596_3637)">
|
||||
<path d="M22.8707 51.9117C22.6752 51.9117 22.5429 51.9248 22.4736 51.9435V53.1967C22.5555 53.2152 22.6565 53.2221 22.795 53.2221C23.3049 53.2221 23.6203 52.9641 23.6203 52.5357C23.6201 52.1451 23.3554 51.9117 22.8707 51.9117Z" fill="black"/>
|
||||
<path d="M20.7307 46.2144C20.1914 45.6754 19.3176 45.6754 18.7783 46.2144L12.6476 52.3454C12.1084 52.8846 12.1084 53.7585 12.6476 54.298L18.7781 60.4283C19.3173 60.9675 20.1912 60.9675 20.7304 60.4283L26.8612 54.2975C27.1202 54.0387 27.2656 53.6873 27.2656 53.3213C27.2656 52.9554 27.1202 52.6042 26.8612 52.3449L20.7307 46.2144ZM17.5264 52.0019H15.8955V52.9721H17.4195V53.7529H15.8955V55.4595H14.9383V51.2147H17.5264V52.0019ZM21.1918 52.0209H20.0327V55.459H19.0758V52.0209H17.9298V51.2147H21.1918V52.0209ZM24.1865 53.5131C23.8588 53.8159 23.3679 53.9604 22.8013 53.9604C22.6751 53.9604 22.562 53.9544 22.4735 53.935V55.459H21.523V51.2717C21.819 51.2211 22.235 51.1834 22.8203 51.1834C23.412 51.1834 23.8403 51.2971 24.1237 51.5297C24.3948 51.7379 24.5707 52.0901 24.5707 52.5061C24.5705 52.9278 24.4384 53.2804 24.1865 53.5131Z" fill="black"/>
|
||||
<path d="M26.9641 43.9351C26.8298 43.9255 26.7063 43.8568 26.6274 43.7474C25.6421 42.3808 24.0373 41.5353 22.3285 41.5353C22.2048 41.5353 22.081 41.5397 21.9573 41.5483C21.8462 41.5562 21.7365 41.523 21.648 41.4552C20.6135 40.6594 19.3527 40.2281 18.0315 40.2281C15.6708 40.2281 13.5785 41.6117 12.6255 43.7C12.56 43.8437 12.4244 43.9428 12.2677 43.9625C9.65784 44.2885 7.63184 46.5211 7.63184 49.2179C7.63184 51.6077 9.22386 53.6312 11.4027 54.2882C11.2711 53.9863 11.2006 53.659 11.2006 53.3202C11.2006 52.885 11.3169 52.4687 11.5303 52.1028C10.46 51.5818 9.71872 50.4863 9.71872 49.2179C9.71872 47.4479 11.1587 46.0082 12.9286 46.0082C13.0181 46.0082 13.1058 46.0154 13.1933 46.0228C13.7032 46.0619 14.165 45.7312 14.2892 45.2366C14.721 43.5167 16.2598 42.3153 18.0312 42.3153C19.0434 42.3153 20.0013 42.7061 20.7283 43.4159C20.977 43.6584 21.3294 43.7612 21.6697 43.6904C21.8863 43.6456 22.1077 43.6227 22.3282 43.6227C23.5671 43.6227 24.6741 44.3191 25.2163 45.4407C25.4065 45.835 25.8235 46.0698 26.2592 46.025C26.3677 46.0139 26.4759 46.0087 26.5813 46.0087C28.3515 46.0087 29.7913 47.4487 29.7913 49.2184C29.7913 50.4868 29.05 51.582 27.9797 52.1033C28.1931 52.469 28.3094 52.8852 28.3094 53.3202C28.3094 53.6593 28.2387 53.9868 28.1071 54.289C30.2861 53.6319 31.8779 51.6084 31.8779 49.2184C31.8786 46.4264 29.707 44.1313 26.9641 43.9351Z" fill="black"/>
|
||||
</g>
|
||||
<rect x="37.1875" y="37.1875" width="27.125" height="27.125" rx="4.18084" stroke="white" stroke-width="0.875" stroke-dasharray="3.04 3.04"/>
|
||||
<path d="M50.0844 53.719V48.4462H51.5567V53.719H50.0844ZM48.11 51.7788V50.3864H53.5426V51.7788H48.11Z" fill="white"/>
|
||||
<rect x="35.8101" y="5.32605" width="28.8646" height="28.8646" rx="4.61834" fill="white"/>
|
||||
<g clip-path="url(#clip2_2596_3637)">
|
||||
<path d="M45.1525 8.78894L38.1167 13.3481L43.0136 17.2881L50.0493 12.8978L45.1525 8.78894ZM38.1167 21.1156L45.1525 25.731L50.0493 21.6222L43.0136 17.2881L38.1167 21.1156ZM50.0493 21.6222L55.0025 25.731L61.982 21.1719L57.1414 17.2881L50.0493 21.6222ZM61.982 13.3481L55.0025 8.78894L50.0493 12.8978L57.1414 17.2881L61.982 13.3481ZM50.1056 22.5227L45.1525 26.6316L43.0699 25.2245V26.8005L50.1056 31.0219L57.1414 26.8005V25.2245L55.0025 26.6316L50.1056 22.5227Z" fill="#007EE5"/>
|
||||
</g>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2596_3637" x1="22.05" y1="18.2007" x2="72.45" y2="66.1507" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#7FB4E9"/>
|
||||
<stop offset="1" stop-color="#3346A9"/>
|
||||
</linearGradient>
|
||||
<clipPath id="clip0_2596_3637">
|
||||
<rect width="23.9066" height="21.3598" fill="white" transform="translate(7.7002 9.07703)"/>
|
||||
</clipPath>
|
||||
<clipPath id="clip1_2596_3637">
|
||||
<rect width="24.2463" height="24.2463" fill="white" transform="translate(7.63574 38.4069)"/>
|
||||
</clipPath>
|
||||
<clipPath id="clip2_2596_3637">
|
||||
<rect width="24.203" height="22.5144" fill="white" transform="translate(38.1167 8.78894)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.4 KiB |
@@ -0,0 +1,27 @@
|
||||
<svg width="70" height="70" viewBox="0 0 70 70" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_2954_19296)">
|
||||
<rect width="70" height="70" rx="11.413" fill="url(#paint0_linear_2954_19296)"/>
|
||||
<g clip-path="url(#clip1_2954_19296)">
|
||||
<path d="M22.7186 23.5027L18.3868 23.8374C17.1814 23.9305 16.1079 24.5622 15.4413 25.5705L10.4455 33.1263C9.93997 33.891 9.8596 34.8479 10.2304 35.6862C10.6013 36.5245 11.3635 37.1086 12.2692 37.249L16.2355 37.8632C17.1633 32.9394 19.3844 28.0277 22.7186 23.5027Z" fill="white"/>
|
||||
<path d="M32.1367 53.7644L32.7511 57.7307C32.8914 58.6365 33.4756 59.3987 34.3138 59.7695C34.6625 59.9238 35.0316 59.9999 35.3989 59.9999C35.9148 59.9999 36.4271 59.8496 36.8737 59.5543L44.4297 54.5587C45.438 53.892 46.0697 52.8183 46.1627 51.6132L46.4973 47.2814C41.9722 50.6156 37.0606 52.8367 32.1367 53.7644Z" fill="white"/>
|
||||
<path d="M30.6451 51.0152C30.7828 51.0152 30.9213 51.0039 31.0595 50.9808C33.1223 50.6359 35.1106 50.0548 37.0073 49.2943L20.7056 32.9927C19.9451 34.8892 19.364 36.8775 19.0191 38.9405C18.8832 39.7537 19.1559 40.5821 19.7388 41.1651L28.8349 50.2611C29.3188 50.745 29.9721 51.0152 30.6451 51.0152Z" fill="white"/>
|
||||
<path d="M56.0132 32.1681C60.0023 24.4558 60.15 16.3059 59.9416 12.4837C59.8702 11.174 58.826 10.1299 57.5163 10.0585C56.8939 10.0245 56.1563 10 55.325 10C51.051 10 44.2883 10.6474 37.8319 13.9869C32.7008 16.6409 25.9727 22.4847 22.0032 30.1645C22.05 30.2011 22.0958 30.24 22.139 30.2831L39.717 47.8611C39.7602 47.9043 39.7989 47.95 39.8356 47.9969C47.5154 44.0273 53.3592 37.2991 56.0132 32.1681ZM39.0719 20.5702C41.9274 17.7147 46.574 17.7144 49.4297 20.5702C50.8131 21.9535 51.5749 23.7929 51.5749 25.7492C51.5749 27.7055 50.8131 29.5449 49.4297 30.9282C48.0021 32.3558 46.1261 33.0697 44.2509 33.0699C42.375 33.07 40.4999 32.3562 39.0719 30.9282C37.6885 29.5449 36.9266 27.7055 36.9266 25.7492C36.9266 23.7929 37.6885 21.9535 39.0719 20.5702Z" fill="white"/>
|
||||
<path d="M41.1434 28.8565C42.8568 30.5699 45.6449 30.57 47.3583 28.8565C48.1883 28.0264 48.6454 26.9229 48.6454 25.7491C48.6454 24.5752 48.1883 23.4717 47.3583 22.6417C46.5016 21.785 45.3762 21.3567 44.2509 21.3567C43.1256 21.3567 42.0002 21.785 41.1435 22.6417C40.3135 23.4717 39.8563 24.5752 39.8563 25.7491C39.8563 26.9229 40.3135 28.0265 41.1434 28.8565Z" fill="white"/>
|
||||
<path opacity="0.6" d="M11.4947 51.2046C11.8696 51.2046 12.2445 51.0616 12.5304 50.7755L17.3129 45.9929C17.885 45.4209 17.885 44.4934 17.3129 43.9214C16.741 43.3493 15.8134 43.3493 15.2414 43.9214L10.4588 48.7039C9.88677 49.276 9.88677 50.2034 10.4588 50.7755C10.7449 51.0615 11.1198 51.2046 11.4947 51.2046Z" fill="white"/>
|
||||
<path d="M21.6958 48.3043C21.1239 47.7322 20.1963 47.7322 19.6242 48.3043L10.4294 57.4991C9.85735 58.0712 9.85735 58.9986 10.4294 59.5707C10.7155 59.8567 11.0904 59.9997 11.4653 59.9997C11.8402 59.9997 12.2151 59.8567 12.501 59.5706L21.6957 50.3759C22.2679 49.8038 22.2679 48.8764 21.6958 48.3043Z" fill="white"/>
|
||||
<path opacity="0.4" d="M24.007 52.6872L19.2246 57.4698C18.6525 58.0418 18.6525 58.9693 19.2246 59.5413C19.5106 59.8274 19.8855 59.9704 20.2603 59.9704C20.6351 59.9704 21.0101 59.8275 21.2961 59.5413L26.0786 54.7588C26.6507 54.1867 26.6507 53.2593 26.0786 52.6872C25.5066 52.1152 24.5791 52.1152 24.007 52.6872Z" fill="white"/>
|
||||
</g>
|
||||
</g>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2954_19296" x1="22.05" y1="18.2007" x2="72.45" y2="66.1507" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#7FB4E9"/>
|
||||
<stop offset="1" stop-color="#3346A9"/>
|
||||
</linearGradient>
|
||||
<clipPath id="clip0_2954_19296">
|
||||
<rect width="70" height="70" fill="white"/>
|
||||
</clipPath>
|
||||
<clipPath id="clip1_2954_19296">
|
||||
<rect width="50" height="50" fill="white" transform="translate(10 10)"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 23 KiB |
@@ -0,0 +1,126 @@
|
||||
// Always close the code, cause you can make conflicts (same for css use prefixes)
|
||||
(function ($) {
|
||||
|
||||
|
||||
let nonce = new_bb_banner.dismiss_nonce;
|
||||
let is_backup_pro_exists = new_bb_banner.is_backup_pro_exists;
|
||||
let current_plugin = new_bb_banner.current_plugin;
|
||||
let is_bmi_exists = new_bb_banner.is_bmi_exists;
|
||||
let plugin_page = new_bb_banner.plugin_page;
|
||||
|
||||
if (current_plugin == 'copy-delete-posts') {
|
||||
|
||||
$('#bmi-banner__card-fast-backup').show();
|
||||
$('#bmi-banner__card-free-external-storage').show();
|
||||
$('#bmi-banner__card-free-storage').show();
|
||||
|
||||
if (is_bmi_exists) {
|
||||
$('.redirect-to-bmi').show();
|
||||
} else {
|
||||
$('.install-bmi').show();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function banner_hide() {
|
||||
$('#new-bb-banner').hide(300);
|
||||
}
|
||||
|
||||
function setLoading($btn, text) {
|
||||
$btn.data('working', true);
|
||||
$btn.addClass('is-loading').attr('disabled', 'disabled');
|
||||
if (text) $btn.text(text);
|
||||
}
|
||||
|
||||
function setRedirecting($btn) {
|
||||
$btn.removeClass('is-loading').addClass('is-redirecting').attr('disabled', 'disabled').text('Redirecting...');
|
||||
}
|
||||
|
||||
function safeRedirect(url) {
|
||||
if (!url) return;
|
||||
try {
|
||||
const currentUrl = new URL(window.location.href, window.location.origin);
|
||||
const targetUrl = new URL(url, window.location.origin);
|
||||
if (
|
||||
currentUrl.pathname === targetUrl.pathname &&
|
||||
currentUrl.search === targetUrl.search
|
||||
) return;
|
||||
} catch (e) {
|
||||
if (window.location.href.indexOf(url) !== -1) return;
|
||||
}
|
||||
window.location.href = url;
|
||||
}
|
||||
|
||||
$('.bmi-banner__cta-button.redirect-to-bmi').on('click', function (e) {
|
||||
e.preventDefault();
|
||||
const $btn = $(this);
|
||||
if ($btn.data('working')) return;
|
||||
setLoading($btn, 'Redirecting...');
|
||||
|
||||
$.post(ajaxurl, {
|
||||
action: 'activate_bmi',
|
||||
nonce: nonce,
|
||||
token: 'new_bb_banner'
|
||||
}).done(function (res) {
|
||||
try { if (typeof res === 'string') res = JSON.parse(res); } catch (e) { }
|
||||
setRedirecting($btn);
|
||||
const target = res && res.success && res.data && res.data.redirect ? res.data.redirect : 'admin.php?page=backup-migration';
|
||||
dismiss_new_bb_banner(function () {
|
||||
safeRedirect(target);
|
||||
});
|
||||
}).fail(function () {
|
||||
setRedirecting($btn);
|
||||
setTimeout(function () { safeRedirect('admin.php?page=backup-migration'); }, 500);
|
||||
});
|
||||
});
|
||||
|
||||
$('.bmi-banner__cta-button.install-bmi').on('click', function (e) {
|
||||
e.preventDefault();
|
||||
const $btn = $(this);
|
||||
if ($btn.data('working')) return;
|
||||
setLoading($btn, 'Installing...');
|
||||
|
||||
$.post(ajaxurl, {
|
||||
action: 'install_bmi',
|
||||
nonce: nonce,
|
||||
token: 'new_bb_banner'
|
||||
}).done(function (res) {
|
||||
try { if (typeof res === 'string') res = JSON.parse(res); } catch (e) { }
|
||||
setRedirecting($btn);
|
||||
const target = res && res.success && res.data && res.data.redirect ? res.data.redirect : 'admin.php?page=backup-migration';
|
||||
dismiss_new_bb_banner(function () {
|
||||
safeRedirect(target);
|
||||
});
|
||||
setTimeout(function () { safeRedirect(target); }, 500);
|
||||
}).fail(function () {
|
||||
setRedirecting($btn);
|
||||
setTimeout(function () { safeRedirect('admin.php?page=backup-migration'); }, 500);
|
||||
});
|
||||
});
|
||||
|
||||
$('.bmi-banner__dismiss-link, .bmi-banner__close').on('click', dismiss_new_bb_banner);
|
||||
|
||||
function dismiss_new_bb_banner(e, callback) {
|
||||
if (typeof e === 'function') {
|
||||
callback = e;
|
||||
e = null;
|
||||
}
|
||||
|
||||
if (e && typeof e.preventDefault === 'function') {
|
||||
e.preventDefault();
|
||||
}
|
||||
$.post(ajaxurl, {
|
||||
action: 'dismiss_new_bb_banner',
|
||||
nonce: nonce,
|
||||
token: 'new_bb_banner'
|
||||
}).done(function (res) {
|
||||
banner_hide();
|
||||
if (callback) callback();
|
||||
}).fail(function (err) {
|
||||
console.error(err);
|
||||
banner_hide();
|
||||
if (callback) callback();
|
||||
});
|
||||
}
|
||||
|
||||
})(jQuery);
|
||||
@@ -0,0 +1,396 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* File for handling new BB banner
|
||||
*
|
||||
* @category Child Plugin
|
||||
* @version v0.1.0
|
||||
* @since v0.1.0
|
||||
* @author iClyde <kontakt@iclyde.pl>
|
||||
*/
|
||||
|
||||
// Namespace
|
||||
namespace Inisev\Subs;
|
||||
|
||||
// Disallow direct access
|
||||
if (defined('ABSPATH')) {
|
||||
|
||||
/**
|
||||
* Main class for handling new BB banner
|
||||
*/
|
||||
if (!class_exists('Inisev\Subs\New_BB_Banner')) {
|
||||
class New_BB_Banner
|
||||
{
|
||||
|
||||
/**
|
||||
* Local variables
|
||||
*/
|
||||
private $root; // __ROOT__ of plugin's root
|
||||
private $file; // __FILE__ of plugin's root
|
||||
private $slug; // Plugin's slug
|
||||
private $is_bmi_exists = false; // BMI plugin exists
|
||||
private $name;
|
||||
|
||||
/**
|
||||
* Local URLs
|
||||
*/
|
||||
private $root_url; // Root URL for plugin's dir
|
||||
private $assets_url; // Root URL for banner assets
|
||||
private $plugin_menu_url; // Plugin's settings menu
|
||||
public $option_name = '_new_bb_banner'; // Option name for this module
|
||||
public $using_since; // Check since user uses this plugin
|
||||
public $showBannerAfter = 30 * DAY_IN_SECONDS;
|
||||
|
||||
|
||||
/**
|
||||
* __construct:
|
||||
* Compile some variables for "future use"
|
||||
* Such as slug of current plugin, root dir of plugin
|
||||
*
|
||||
* @param string $root_file __FILE__ of plugin's main file
|
||||
* @param string $root_dir __DIR__ of plugin's main file
|
||||
* @param string $individual_slug Individual slug - mostly plugin's slug
|
||||
* @param string $display_name The name that will be displayed in the banner
|
||||
* @param string $plugin_menu_url Plugin menu slug example.com/wp-admin/admin.php?page=<this slug here>
|
||||
*/
|
||||
function __construct($root_file, $root_dir, $individual_slug, $display_name, $plugin_menu_url)
|
||||
{
|
||||
|
||||
$this->file = $root_file;
|
||||
$this->root = $root_dir;
|
||||
$this->slug = $individual_slug;
|
||||
$this->name = $display_name;
|
||||
|
||||
$this->plugin_menu_url = admin_url('admin.php?page=' . $plugin_menu_url);
|
||||
|
||||
$this->root_url = plugin_dir_url($this->file);
|
||||
$this->assets_url = $this->root_url . 'modules/new-bb-banner/assets/';
|
||||
$this->is_bmi_exists = is_dir(WP_PLUGIN_DIR . '/backup-backup') || is_dir(WP_PLUGIN_DIR . '/backup-backup-pro');
|
||||
|
||||
|
||||
$reviewBannerOption = get_option('_irb_h_bn_review',false);
|
||||
if ($reviewBannerOption != false && isset($reviewBannerOption) && is_array($reviewBannerOption)) {
|
||||
|
||||
if (!array_key_exists($individual_slug, $reviewBannerOption)) {
|
||||
|
||||
$reviewBannerOption[$individual_slug] = time();
|
||||
update_option('_irb_h_bn_review', $reviewBannerOption);
|
||||
|
||||
}
|
||||
|
||||
$this->using_since = $reviewBannerOption[$individual_slug];
|
||||
|
||||
}
|
||||
|
||||
$option = get_option($this->option_name, false);
|
||||
|
||||
if ($option === false) {
|
||||
$option = [
|
||||
'dismissed' => false,
|
||||
'dismissed_at' => 0,
|
||||
'using_since' => $this->using_since
|
||||
];
|
||||
update_option($this->option_name, $option);
|
||||
}
|
||||
|
||||
// Add handler for Ajax request
|
||||
if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] == 'POST') {
|
||||
|
||||
// Check if slug is defined
|
||||
if (isset($_POST['token']) && $_POST['token'] === 'new_bb_banner') {
|
||||
|
||||
// Handle the request
|
||||
add_action('wp_ajax_dismiss_new_bb_banner', [&$this, 'dismiss_banner']);
|
||||
add_action('wp_ajax_install_bmi', [&$this, 'install_bmi']);
|
||||
add_action('wp_ajax_activate_bmi', [&$this, 'activate_bmi']);
|
||||
}
|
||||
|
||||
// Stop for POST
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
add_action('wp_loaded', [&$this, 'init_new_bb_banner']);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* __asset - Loads assets
|
||||
*
|
||||
* @param string $file path relative
|
||||
* @return string file URL
|
||||
*/
|
||||
private function __asset($file)
|
||||
{
|
||||
|
||||
return $this->assets_url . $file;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* __dir_asset - Loads assets
|
||||
*
|
||||
* @param string $file path relative
|
||||
* @return string absolute path
|
||||
*/
|
||||
private function __dir_asset($file)
|
||||
{
|
||||
|
||||
return __DIR__ . '/assets' . '/' . $file;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* _asset - Loads assets and automatically echo
|
||||
*
|
||||
* @param string $file path relative
|
||||
* @echo string file URL
|
||||
*/
|
||||
private function _asset($file)
|
||||
{
|
||||
|
||||
echo $this->assets_url . $file;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* _dir_asset - Loads assets and automatically echo
|
||||
*
|
||||
* @param string $file path relative
|
||||
* @echo string absolute path
|
||||
*/
|
||||
private function _dir_asset($file)
|
||||
{
|
||||
|
||||
echo __DIR__ . '/assets' . '/' . $file;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* can_be_displayed - check if the banner should be displayed
|
||||
*
|
||||
* @return bool true if banner can be displayed
|
||||
*/
|
||||
private function can_be_displayed()
|
||||
{
|
||||
$option = get_option($this->option_name, [
|
||||
'dismissed' => false,
|
||||
'dismissed_at' => 0,
|
||||
'using_since' => $this->using_since
|
||||
]);
|
||||
|
||||
$since = $option['using_since'];
|
||||
$current_time = time();
|
||||
$elapsed_time = $current_time - $since;
|
||||
|
||||
|
||||
if ($option['dismissed'] === true) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$site_url = get_site_url();
|
||||
$site_url = str_replace('http://', '', $site_url);
|
||||
$site_url = str_replace('https://', '', $site_url);
|
||||
$site_url = str_replace('www.', '', $site_url);
|
||||
|
||||
if (preg_match('/^[a-e]/i', $site_url) && $elapsed_time > $this->showBannerAfter && $this->is_bmi_exists == false) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* add_assets - adds required assests by the banner
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function add_assets()
|
||||
{
|
||||
|
||||
wp_enqueue_script('new-bb-banner-script', $this->__asset('js/script.js'), [], filemtime($this->__dir_asset('js/script.js')), true);
|
||||
wp_enqueue_style('new-bb-banner-style', $this->__asset('css/style.css'), [], filemtime($this->__dir_asset('css/style.css')));
|
||||
wp_localize_script('new-bb-banner-script', 'new_bb_banner', [
|
||||
'dismiss_nonce' => wp_create_nonce('new_bb_banner_dismiss'),
|
||||
'is_backup_pro_exists' => is_dir(WP_PLUGIN_DIR . '/backup-backup-pro'),
|
||||
'current_plugin' => $this->slug, // Will be used for future use
|
||||
'is_bmi_exists' => $this->is_bmi_exists,
|
||||
'plugin_page' => $this->plugin_menu_url
|
||||
]);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* display_banner - loads the HTML and prints it in the header only once
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function display_banner()
|
||||
{
|
||||
|
||||
if (!defined('NEW_BB_BANNER_H_HTML_LOADED')) {
|
||||
define('NEW_BB_BANNER_H_HTML_LOADED', true);
|
||||
include_once __DIR__ . '/views/banner.php';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* dismiss_banner - Handles all POST actions
|
||||
*
|
||||
* @param string $_POST['slug'] - the unique slug
|
||||
* @param string $_POST['mode'] - the unique action remind/dismiss
|
||||
*
|
||||
* @return void returns JSON response to browser
|
||||
*/
|
||||
public function dismiss_banner()
|
||||
{
|
||||
if (check_ajax_referer('new_bb_banner_dismiss', 'nonce', false) === false) {
|
||||
wp_send_json_error();
|
||||
}
|
||||
|
||||
$shouldRedirectToBMI = isset($_POST['shouldRedirectToBMI']) ? sanitize_text_field($_POST['shouldRedirectToBMI']) : false;
|
||||
|
||||
update_option($this->option_name, [
|
||||
'dismissed' => true,
|
||||
'dismissed_at' => time(),
|
||||
'using_since' => $this->using_since
|
||||
]);
|
||||
|
||||
if ($shouldRedirectToBMI == 'true') {
|
||||
wp_send_json_success([
|
||||
'redirect' => $this->plugin_menu_url
|
||||
]);
|
||||
} else {
|
||||
wp_send_json_success();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* init_new_bb_banner - initialization when the user is authenticated already
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function init_new_bb_banner()
|
||||
{
|
||||
|
||||
if ($this->can_be_displayed()) {
|
||||
if (defined('WP_HOME') && strpos(WP_HOME, 'tastewp.com') !== false) {
|
||||
$days_used = (time() - $this->using_since) / (60 * 60 * 24);
|
||||
if ($days_used < 7) {
|
||||
return;
|
||||
} else {
|
||||
update_option('hide_tastewp_notice', true);
|
||||
}
|
||||
}
|
||||
add_action('admin_enqueue_scripts', [&$this, 'add_assets']);
|
||||
add_action('admin_notices', [&$this, 'display_banner']);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function activate_bmi()
|
||||
{
|
||||
if (check_ajax_referer('new_bb_banner_dismiss', 'nonce', false) === false) {
|
||||
wp_send_json_error(['message' => 'Invalid nonce']);
|
||||
}
|
||||
if (!current_user_can('activate_plugins')) {
|
||||
wp_send_json_error(['message' => 'Insufficient permissions']);
|
||||
}
|
||||
|
||||
require_once ABSPATH . 'wp-admin/includes/plugin.php';
|
||||
|
||||
$targets = [
|
||||
'backup-backup/backup-backup.php',
|
||||
'backup-backup-pro/backup-backup-pro.php',
|
||||
];
|
||||
|
||||
$activated = false;
|
||||
foreach ($targets as $plugin_file) {
|
||||
$full = WP_PLUGIN_DIR . '/' . $plugin_file;
|
||||
if (file_exists($full)) {
|
||||
if (!is_plugin_active($plugin_file)) {
|
||||
$result = activate_plugin($plugin_file);
|
||||
if (!is_wp_error($result)) {
|
||||
$activated = true;
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
$activated = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$redirect = admin_url('admin.php?page=backup-migration');
|
||||
|
||||
if ($activated) {
|
||||
wp_send_json_success(['redirect' => $redirect]);
|
||||
} else {
|
||||
wp_send_json_error(['redirect' => $redirect, 'message' => 'BMI not installed or could not activate']);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Install and activate BMI using core WordPress APIs.
|
||||
* Never marks the banner as dismissed.
|
||||
*/
|
||||
public function install_bmi()
|
||||
{
|
||||
if (check_ajax_referer('new_bb_banner_dismiss', 'nonce', false) === false) {
|
||||
wp_send_json_error(['message' => 'Invalid nonce']);
|
||||
}
|
||||
if (!current_user_can('install_plugins')) {
|
||||
wp_send_json_error(['message' => 'Insufficient permissions']);
|
||||
}
|
||||
|
||||
require_once ABSPATH . 'wp-admin/includes/plugin-install.php';
|
||||
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
|
||||
require_once ABSPATH . 'wp-admin/includes/file.php';
|
||||
require_once ABSPATH . 'wp-admin/includes/misc.php';
|
||||
require_once ABSPATH . 'wp-admin/includes/plugin.php';
|
||||
|
||||
$slug = 'backup-backup';
|
||||
|
||||
// Prepare filesystem, if needed
|
||||
$creds = request_filesystem_credentials('', '', false, false, []);
|
||||
if (false === $creds) {
|
||||
wp_send_json_error(['message' => 'Filesystem credentials not provided']);
|
||||
}
|
||||
if (!WP_Filesystem($creds)) {
|
||||
wp_send_json_error(['message' => 'Filesystem not accessible']);
|
||||
}
|
||||
|
||||
$api = plugins_api('plugin_information', ['slug' => $slug, 'fields' => ['sections' => false]]);
|
||||
if (is_wp_error($api)) {
|
||||
wp_send_json_error(['message' => 'Failed to fetch plugin information']);
|
||||
}
|
||||
$download_link = isset($api->download_link) ? $api->download_link : '';
|
||||
if (!$download_link) {
|
||||
wp_send_json_error(['message' => 'Plugin download link missing']);
|
||||
}
|
||||
|
||||
$skin = new \WP_Ajax_Upgrader_Skin();
|
||||
$upgrader = new \Plugin_Upgrader($skin);
|
||||
$result = $upgrader->install($download_link);
|
||||
if (is_wp_error($result) || !$result) {
|
||||
wp_send_json_error(['message' => 'Installation failed']);
|
||||
}
|
||||
|
||||
// Activate if present
|
||||
$plugin_file = $slug . '/' . $slug . '.php';
|
||||
if (file_exists(WP_PLUGIN_DIR . '/' . $plugin_file)) {
|
||||
$activate_result = activate_plugin($plugin_file);
|
||||
// Proceed regardless of activation result; frontend will redirect anyway
|
||||
if (is_wp_error($activate_result)) {
|
||||
// Do nothing special; just continue
|
||||
}
|
||||
}
|
||||
|
||||
wp_send_json_success(['redirect' => admin_url('admin.php?page=backup-migration')]);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,153 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Main renderer for the Review Banner
|
||||
*
|
||||
* @category Child Plugin
|
||||
* @author iClyde <kontakt@iclyde.pl>
|
||||
*/
|
||||
|
||||
// Namespace
|
||||
namespace Inisev\Subs;
|
||||
|
||||
// Disallow direct access
|
||||
if (!defined('ABSPATH'))
|
||||
exit;
|
||||
|
||||
$backupblissPricing = 'https://backupbliss.com/pricing';
|
||||
$bbStorage = 'https://storage.backupbliss.com';
|
||||
$bmiPremium = 'https://backupbliss.com';
|
||||
|
||||
?>
|
||||
|
||||
<div class="bmi-banner" id="new-bb-banner">
|
||||
<!-- Close (X) button -->
|
||||
<img src="<?php echo $this->_asset('imgs/bg.svg'); ?>" alt="Left background" class="bmi-banner__left-bg" />
|
||||
<a href="#" class="bmi-banner__close" target="_blank">×</a>
|
||||
|
||||
<div class="bmi-banner__header">
|
||||
<div>
|
||||
You seem to like the <b>Duplicate Post</b> plugin. Then you’ll love <span class="bb-highlight">Backup
|
||||
Migration</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bmi-banner__subheader">
|
||||
We completely re-launched the plugin, and it’s now <b>the best in the market</b> (and <a href="<?php echo $backupblissPricing; ?>" target="_blank" class="bmi-links">most affordable</a>):
|
||||
</div>
|
||||
|
||||
<div class="bmi-banner__cards">
|
||||
<!-- Card 0 -->
|
||||
<div class="bmi-banner__card" id="bmi-banner__card-fast-backup" style="display: none;">
|
||||
<div class="bmi-banner__card-header">
|
||||
<img src="<?php echo $this->_asset('imgs/fast-backups.svg'); ?>" alt="Fast backup icon" />
|
||||
<span>Super-fast backups</span>
|
||||
</div>
|
||||
<span class="bmi-banner__card-text">
|
||||
Backups are quick, reliable, and migrations only takes a few clicks.
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- Card 1 -->
|
||||
<div class="bmi-banner__card" id="bmi-banner__card-free-external-storage" style="display: none;">
|
||||
<div class="bmi-banner__card-header">
|
||||
<img src="<?php echo $this->_asset('imgs/cloud-options.svg'); ?>" alt="Cloud storage icons" />
|
||||
<span>
|
||||
Many <div class="bmi-banner__free-underlined"><span>free</span></div> external storage options
|
||||
</span>
|
||||
</div>
|
||||
<span class="bmi-banner__card-text">
|
||||
You can now save your backups automatically on
|
||||
<b>Google Drive, Dropbox, Amazon S3, FTP</b> etc. for free.
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="bmi-banner__card bmi-banner__premium-card" id="bmi-banner__card-premium-external-storage"
|
||||
style="display: none;">
|
||||
<div class="bmi-banner__img-wrapper">
|
||||
<img src="<?php echo $this->_asset('imgs/premium-cloud-options.svg'); ?>" alt="Cloud storage icons" />
|
||||
</div>
|
||||
<div class="bmi-banner__card-content">
|
||||
<div class="bmi-banner__card-header">
|
||||
<span>
|
||||
More external storage options
|
||||
</span>
|
||||
</div>
|
||||
<div class="bmi-banner__card-text">
|
||||
<span>
|
||||
You can now save your backups automatically on
|
||||
<b>Dropbox, Amazon S3, FTP</b> etc. for free.
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Card 2 -->
|
||||
<div class="bmi-banner__card" id="bmi-banner__card-free-storage" style="display: none;">
|
||||
<div class="bmi-banner__card-header">
|
||||
<img src="<?php echo $this->_asset('imgs/1gb-free.svg'); ?>" alt="1 GB free icon" />
|
||||
<span>1 GB of <br>
|
||||
<div class="bmi-banner__free-underlined"><span>free</span></div> storage
|
||||
</span>
|
||||
</div>
|
||||
<span class="bmi-banner__card-text">
|
||||
We added our <b>own storage option,</b> giving you
|
||||
1 GB of free space (and
|
||||
<a href="<?php echo $backupblissPricing; ?>" target="_blank" class="bmi-links">very affordable</a>
|
||||
plans for more)! <a href="<?php echo $bbStorage; ?>" target="_blank" class="bmi-links">Learn more</a>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="bmi-banner__card bmi-banner__premium-card" id="bmi-banner__card-premium-storage" style="display: none;">
|
||||
<div class="bmi-banner__img-wrapper">
|
||||
<img src="<?php echo $this->_asset('imgs/5gb-free.svg'); ?>" alt="5 GB premium icon" />
|
||||
</div>
|
||||
<div class="bmi-banner__card-content">
|
||||
<div class="bmi-banner__card-header">
|
||||
<span>
|
||||
5 GB of <div class="bmi-banner__free-underlined"><span>free</span></div> storage
|
||||
</span>
|
||||
</div>
|
||||
<div class="bmi-banner__card-text">
|
||||
<span>
|
||||
We added our <b>own storage option,</b> giving you 5 GB of free space as premium user!
|
||||
<a href="<?php echo $bbStorage; ?>" target="_blank" class="bmi-links">Check it out</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- Card 3 -->
|
||||
<div class="bmi-banner__card" id="bmi-banner__card-4gb-upgraded" style="display: none;">
|
||||
<div class="bmi-banner__card-header">
|
||||
<img src="<?php echo $this->_asset('imgs/4gb-upgraded.svg'); ?>" alt="4 GB double backup size" />
|
||||
<span>Double <br> backup size</span>
|
||||
</div>
|
||||
<span class="bmi-banner__card-text">
|
||||
We doubled the supported backup size in the free
|
||||
plugin <b>from 2 GB to 4 GB!</b> (Unlimited in
|
||||
<a href="<?php echo $bmiPremium; ?>" target="_blank" class="bmi-links">premium</a>)
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bmi-banner__footer">
|
||||
<div class="bmi-banner__footer-text">
|
||||
</div>
|
||||
<div>
|
||||
<div class="install-now-wrapper">
|
||||
<button class="bmi-banner__cta-button redirect-to-bmi" style="display: none;">Try it out</button>
|
||||
<button class="bmi-banner__cta-button install-bmi" style="display: none;">Install it now</button>
|
||||
<span class="install-now-text"> (from <a href="https://wordpress.org/plugins/backup-backup/" target="_blank"
|
||||
class="bmi-links">WP directory</a>)</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a href="#" class="bmi-banner__dismiss-link">Dismiss this forever</a>
|
||||
</div>
|
||||