Advertisement
Shell_Casing

services

Jun 9th, 2019
866
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React, { Component } from 'react'
  2. import { FaCocktail, FaHiking, FaShuttleVan, FaBeer } from "react-icons/fa";
  3. import Title from './title';
  4.  
  5.  
  6. export default class Services extends Component {
  7.  
  8.     state = {
  9.         services: [
  10.             {
  11.                 icon: <FaCocktail/>,
  12.                 title: "Free Cocktails",
  13.                 info: "I was told that the resumes without photos likely meant that the kids didn't know - or approve - of their parents going to the park."
  14.             },
  15.             {
  16.                 icon: <FaHiking/>,
  17.                 title: "Endless Hiking",
  18.                 info: "So apparently the automoderator blocks posts with links to non-whitelisted sites, which is why my posts with the source didn't show up."
  19.             },
  20.             {
  21.                 icon: <FaShuttleVan/>,
  22.                 title: "Free Shuttle van",
  23.                 info: "I'd heard of Leagoo but only because the local shopping mall has one of those crane games with a bunch of cheap shitty phones as prizes."
  24.             },
  25.             {
  26.                 icon: <FaBeer/>,
  27.                 title: "Good Beer",
  28.                 info: "Why don't you just set up something incredibly technical involving linux, renting and setting up remote servers and then going though a 37 step network set up process?"
  29.             }
  30.         ],
  31.     };
  32.  
  33.  
  34.  
  35.  
  36.     render() {
  37.         return (
  38.                 <section className="services">
  39.                     <Title title="Services">  </Title>
  40.  
  41.                     <div className="services-center">
  42.  
  43.                         { this.state.services.map((service, index) => {
  44.                             return (
  45.                                 <article key={ index } className="service">
  46.                                     <span>{ service.icon }</span>
  47.                                     <h6>{ service.title }</h6>
  48.                                     <p>{ service.info }</p>
  49.                                 </article>
  50.                             )
  51.                         }) }
  52.  
  53.                     </div>
  54.  
  55.                 </section>
  56.         )
  57.     }
  58. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement