woocommerce/plugins/woocommerce-admin/client/payments-welcome/cards/gpay.js

64 lines
3.2 KiB
JavaScript
Raw Normal View History

2022-04-19 08:02:23 +00:00
export const GooglePay = () => (
Move WC Pay welcome page from wc-calypso-bridge (https://github.com/woocommerce/woocommerce-admin/pull/8151) * Move WC Pay welcome page from wc-calypso-bridge (https://github.com/woocommerce/woocommerce-admin/pull/8083) * Add wc-pay-welcome-screen flags * Add wc pay welcome page from wc calpyso bridge * Add changelog * Rename var to pageViewTimestamp to prevent confusion * Remove unused code * Make sure hasViewedWelcomePage is a boolean value * Simplify storeViewWelcome * Add payments remind me later note (https://github.com/woocommerce/woocommerce-admin/pull/8085) * Add payments remind me later note Fix wcpay path * Add changelogs * Update src/Notes/PaymentsRemindMeLater.php Co-authored-by: Joshua T Flowers <joshuatf@gmail.com> * Fix possibly_add_note syntax error Update Events.php Co-authored-by: Joshua T Flowers <joshuatf@gmail.com> * Replace flag icon with component and svg background to png (https://github.com/woocommerce/woocommerce-admin/pull/8101) * Activate promo note after WC Pay is activated (https://github.com/woocommerce/woocommerce-admin/pull/8104) * Activate promo after wcpay is a\ctivated * Add changelogs * Add experimental to promo API path and limit the promo names * Use ExPlat to render the WC Pay menu conditionally (https://github.com/woocommerce/woocommerce-admin/pull/8115) * Check ExPlat to render the menu conditionally * Update the experiment name * Fix letter case to follow feature class naming convention * Enable wc-pay-welcome-page feature in core config (https://github.com/woocommerce/woocommerce-admin/pull/8124) * Use wc_calypso_bridge_payments_dismissed option name to respect the previously saved setting from wp.com * Missed wc_calypso_bridge_payments_dismissed rename * Use the existing code to prevent duplication * Fix warning (https://github.com/woocommerce/woocommerce-admin/pull/8141) * Change experiment to come after checks (https://github.com/woocommerce/woocommerce-admin/pull/8142) * Change track path to (https://github.com/woocommerce/woocommerce-admin/pull/8143) Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com> Co-authored-by: Joshua T Flowers <joshuatf@gmail.com> Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com> * Replace deprecated wc-admin-settings package Co-authored-by: Moon <moon.kyong@automattic.com> Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com> Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2022-01-12 06:46:33 +00:00
/* eslint-disable */
<svg
width="84"
height="58"
viewBox="0 0 84 58"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<rect
x="0.5"
y="0.5"
width="83"
height="57"
rx="3.5"
fill="white"
stroke="#F3F3F3"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M40.4322 34.9714V28.4303V28.429H43.9665C45.4236 28.4299 46.6482 27.9715 47.6403 27.0538C48.6429 26.1828 49.2035 24.9306 49.175 23.6253C49.1948 22.3273 48.6353 21.0844 47.6403 20.2162C46.6569 19.2935 45.3343 18.7901 43.9665 18.8178H38.293V34.9714H40.4322ZM40.4322 26.4454V20.8065V20.8052H44.0196C44.8192 20.7834 45.59 21.0956 46.1362 21.6624C46.6859 22.1807 46.996 22.8927 46.996 23.6363C46.996 24.3799 46.6859 25.0919 46.1362 25.6102C45.5833 26.1651 44.8149 26.4683 44.0196 26.4454H40.4322Z"
fill="#5F6368"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M57.8487 24.7879C56.9337 23.9682 55.6856 23.5583 54.1045 23.5583C52.0733 23.5583 50.5396 24.2801 49.5032 25.7236L51.3873 26.8746C52.0835 25.8968 53.0291 25.4079 54.2241 25.4079C54.9859 25.3992 55.7231 25.6693 56.2888 26.1644C56.8529 26.6168 57.1773 27.2912 57.1724 28.0011V28.4754C56.3504 28.0243 55.3043 27.7987 54.034 27.7987C52.5459 27.8005 51.3563 28.139 50.4652 28.8144C49.5741 29.4898 49.1285 30.3993 49.1285 31.543C49.1091 32.5844 49.5748 33.5787 50.3961 34.2496C51.2411 34.9714 52.2912 35.3323 53.5464 35.3323C55.0168 35.3323 56.1949 34.7007 57.0807 33.4376H57.1738V34.9714H59.2199V28.1596C59.2208 26.7315 58.7638 25.6076 57.8487 24.7879ZM52.0464 32.9414C51.5983 32.6281 51.334 32.1239 51.3369 31.5881C51.3369 30.9862 51.6279 30.4848 52.2138 30.0723C52.794 29.6659 53.5186 29.4627 54.3876 29.4627C55.5808 29.4627 56.5108 29.7205 57.1778 30.236C57.1778 31.1073 56.8235 31.8665 56.1149 32.5135C55.4766 33.1327 54.6113 33.4813 53.7086 33.4827C53.1068 33.4937 52.5195 33.3024 52.0464 32.9414Z"
fill="#5F6368"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M70.9654 23.9192L63.8223 39.8434H61.6141L64.2648 34.2716L59.5679 23.9192H61.8931L65.2879 31.8588H65.3344L68.6362 23.9192H70.9654Z"
fill="#5F6368"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M31.7877 27.0203C31.7885 26.3879 31.7333 25.7566 31.6229 25.1333H22.6011V28.7074H27.7684C27.5547 29.8609 26.8645 30.8797 25.8577 31.5275V33.8475H28.9416C30.7473 32.2325 31.7877 29.8442 31.7877 27.0203Z"
fill="#4285F4"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M22.6012 36.0889C25.1828 36.0889 27.3566 35.2666 28.9417 33.8488L25.8578 31.5288C24.9995 32.0933 23.894 32.4156 22.6012 32.4156C20.1059 32.4156 17.988 30.7838 17.2306 28.585H14.0537V30.9759C15.6776 34.1104 18.9848 36.0887 22.6012 36.0889Z"
fill="#34A853"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M17.2307 28.585C16.8303 27.4328 16.8303 26.185 17.2307 25.0328V22.6419H14.0538C12.6956 25.2637 12.6956 28.3541 14.0538 30.9759L17.2307 28.585Z"
fill="#FBBC04"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M22.6012 21.2022C23.9655 21.1806 25.2837 21.6806 26.271 22.5942L29.0015 19.9456C27.2701 18.368 24.9764 17.502 22.6012 17.5289C18.9848 17.529 15.6776 19.5074 14.0537 22.6419L17.2306 25.0328C17.988 22.834 20.1059 21.2022 22.6012 21.2022Z"
fill="#EA4335"
/>
</svg>
/* eslint-enable */
);