PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.17.0
GiveWP – Donation Plugin and Fundraising Platform v4.17.0
4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 All 256 releases
give / src / Onboarding / Setup / templates / stories / examples.stories.js

examples.stories.js in GiveWP – Donation Plugin and Fundraising Platform 4.17.0, at src/Onboarding/Setup/templates/stories/examples.stories.js

75 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import styles from './src/styles';
2 import paypal from './src/paypal.js';
3 import stripe from './src/stripe.js';
4 import configuration from './src/configuration.js';
5 import givewp101 from './src/givewp101.js';
6 import addons from './src/addons.js';
7
8 import {withA11y} from '@storybook/addon-a11y';
9
10 export default {
11 title: 'Setup Page/Examples',
12 decorators: [withA11y],
13 };
14
15 const Styles =
16 `
17 <style>
18 ` +
19 styles +
20 `
21 </style>
22 `;
23
24 export const Configuration = () =>
25 Styles +
26 `
27 <section>
28 <header>
29 <h2>Create your first donation form in minutes</h2>
30 <span class="badge badge-complete">Complete</span>
31 </header>
32 <main>
33 ` +
34 configuration() +
35 `
36 </main>
37 </section>
38 `;
39
40 export const Gateways = () =>
41 Styles +
42 `
43 <section>
44 <header>
45 <h2>Connect a payment gateway to begin accepting donations</h2>
46 </header>
47 <main>
48 ` +
49 paypal() +
50 stripe() +
51 `
52 </main>
53 <footer>
54 Want to use a different gateway? GiveWP has support for many others including Authorize.net, Square, Razorpay and more!
55 <a href="#">View all gateways</a>
56 </footer>
57 </section>
58 `;
59
60 export const Resources = () =>
61 Styles +
62 `
63 <section>
64 <header>
65 <h2>Level up your fundraising with these great resources</h2>
66 </header>
67 <main>
68 ` +
69 givewp101() +
70 addons() +
71 `
72 </main>
73 </section>
74 `;
75