Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.47 KB | None | 0 0
  1. import React, {Component} from 'react';
  2. import { Grid, Row, Col } from 'react-bootstrap';
  3. import testimonialBg from '../../images/testimonial-bg.jpg'
  4. import testimonial_img from '../../images/testimonial-img.png';
  5. import Radium from 'radium';
  6.  
  7. class Testimonials extends Component {
  8. render() {
  9. const styles = {
  10. testimonialBg: {
  11. width: '100%',
  12. float: 'left',
  13. padding: '100px 0 90px',
  14. background: `url(${testimonialBg}) top repeat-x`,
  15. textAlign: 'center'
  16. },
  17. feedback: {
  18. padding: '45px 6%',
  19. borderRadius: 10,
  20. backgroundColor: '#fbfbfb',
  21. color: '#636464',
  22. fontFamily: 'Calibri',
  23. fontSize: 18,
  24. position: 'relative',
  25. border: '1px solid #fbfbfb'
  26. },
  27. p: {
  28. fontSize: 18,
  29. color: '#fff',
  30. margin: 0,
  31. padding: '15px 0 0',
  32. fontFamily: 'Calibri'
  33. },
  34. arrow: {
  35. top: '100%',
  36. left: '50%',
  37. border: 'solid transparent',
  38. content: " ",
  39. height: 0,
  40. width: 0,
  41. position: 'absolute',
  42. pointerEvents: 'none'
  43. }
  44. }
  45. return (
  46. <Row style={styles.testimonialBg}>
  47. <Col>
  48. <h2>Kind Words From Happy Campers</h2>
  49. <p>What other people thought about the service provided by QuirkyCoders &trade;!</p>
  50. <Grid>
  51. <Row>
  52. <Col md={3}>
  53. <div style={styles.feedback}>
  54. Excellent service offering a personal touch, if I had an
  55. issue they were no longer than a phone call away and were
  56. always quick to respond.
  57. </div>
  58. <div className="client_info">
  59. <img src={testimonial_img} alt=""/>
  60. <p style={styles.p}>Spencer Finnell</p>
  61. </div>
  62. </Col>
  63. <Col md={3}>
  64. <div style={styles.feedback}>
  65. Excellent service offering a personal touch, if I had an
  66. issue they were no longer than a phone call away and were
  67. always quick to respond.
  68. </div>
  69. <div className="client_info">
  70. <img src={testimonial_img} alt=""/>
  71. <p style={styles.p}>Spencer Finnell</p>
  72. </div>
  73. </Col>
  74. <Col md={3}>
  75. <div style={styles.feedback}>
  76. Excellent service offering a personal touch, if I had an
  77. issue they were no longer than a phone call away and were
  78. always quick to respond.
  79. </div>
  80. <div className="client_info">
  81. <img src={testimonial_img} alt=""/>
  82. <p style={styles.p}>Spencer Finnell</p>
  83. </div>
  84. </Col>
  85. <Col md={3}>
  86. <div style={styles.feedback}>
  87. <div style={styles.arrow}>
  88. Excellent service offering a personal touch, if I had an
  89. issue they were no longer than a phone call away and were
  90. always quick to respond.
  91. </div>
  92. </div>
  93. <div className="client_info">
  94. <img src={testimonial_img} alt=""/>
  95. <p style={styles.p}>Spencer Finnell</p>
  96. </div>
  97. </Col>
  98. </Row>
  99. </Grid>
  100. </Col>
  101. </Row>
  102. );
  103. }
  104. }
  105.  
  106. export default Radium(Testimonials)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement