Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.55 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. '@media screen and (min-width: 64em)': {
  27. display: 'none'
  28. }
  29. },
  30. p: {
  31. fontSize: 18,
  32. color: '#fff',
  33. margin: 0,
  34. padding: '15px 0 0',
  35. fontFamily: 'Calibri'
  36. },
  37. arrow: {
  38. top: '100%',
  39. left: '50%',
  40. border: 'solid transparent',
  41. content: " ",
  42. height: 0,
  43. width: 0,
  44. position: 'absolute',
  45. pointerEvents: 'none'
  46. }
  47. }
  48. return (
  49. <Row style={styles.testimonialBg}>
  50. <Col>
  51. <h2>Kind Words From Happy Campers</h2>
  52. <p>What other people thought about the service provided by QuirkyCoders &trade;!</p>
  53. <Grid>
  54. <Row>
  55. <Col md={3}>
  56. <div style={styles.feedback}>
  57. Excellent service offering a personal touch, if I had an
  58. issue they were no longer than a phone call away and were
  59. always quick to respond.
  60. </div>
  61. <div className="client_info">
  62. <img src={testimonial_img} alt=""/>
  63. <p style={styles.p}>Spencer Finnell</p>
  64. </div>
  65. </Col>
  66. <Col md={3}>
  67. <div style={styles.feedback}>
  68. Excellent service offering a personal touch, if I had an
  69. issue they were no longer than a phone call away and were
  70. always quick to respond.
  71. </div>
  72. <div className="client_info">
  73. <img src={testimonial_img} alt=""/>
  74. <p style={styles.p}>Spencer Finnell</p>
  75. </div>
  76. </Col>
  77. <Col md={3}>
  78. <div style={styles.feedback}>
  79. Excellent service offering a personal touch, if I had an
  80. issue they were no longer than a phone call away and were
  81. always quick to respond.
  82. </div>
  83. <div className="client_info">
  84. <img src={testimonial_img} alt=""/>
  85. <p style={styles.p}>Spencer Finnell</p>
  86. </div>
  87. </Col>
  88. <Col md={3}>
  89. <div style={styles.feedback}>
  90. <div style={styles.arrow}>
  91. Excellent service offering a personal touch, if I had an
  92. issue they were no longer than a phone call away and were
  93. always quick to respond.
  94. </div>
  95. </div>
  96. <div className="client_info">
  97. <img src={testimonial_img} alt=""/>
  98. <p style={styles.p}>Spencer Finnell</p>
  99. </div>
  100. </Col>
  101. </Row>
  102. </Grid>
  103. </Col>
  104. </Row>
  105. );
  106. }
  107. }
  108.  
  109. export default Radium(Testimonials)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement