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 / MultiFormGoals / resources / js / components / footer / index.js

index.js in GiveWP – Donation Plugin and Fundraising Platform 4.17.0, at src/MultiFormGoals/resources/js/components/footer/index.js

54 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 const Footer = (props) => {
2 const styles = {
3 footer: {
4 fontSize: '14px',
5 color: '#767676',
6 fontWeight: 600,
7 borderTop: '1px solid #F2F2F2',
8 backgroundColor: '#FBFBFB',
9 borderRadius: '0 0 8px 8px',
10 },
11 footerStrong: {
12 fontSize: '18px',
13 color: '#4C4C4C',
14 },
15 footerLayout: {
16 display: 'flex',
17 },
18 };
19
20 return (
21 <footer style={styles.footer}>
22 <div style={styles.footerLayout}>{props.children}</div>
23 </footer>
24 );
25 };
26
27 const FooterItem = (props) => {
28 const styles = {
29 container: {
30 flex: 1,
31 padding: '15px',
32 fontSize: '18px',
33 textAlign: 'center',
34 borderRadius: '0 0 8px 8px',
35 lineHeight: '29px',
36 border: '1px solid #F2F2F2',
37 borderWidth: '0 1px',
38 },
39 strong: {
40 fontSize: '24px',
41 color: '#4C4C4C',
42 },
43 };
44 return (
45 <div style={styles.container}>
46 <strong style={styles.strong}>{props.title}</strong>
47 <br />
48 {props.subtitle}
49 </div>
50 );
51 };
52
53 export {Footer, FooterItem};
54