blkCodeCollctve / bcc

Black Code Collective Website
10 stars 4 forks source link

Center the Loading.gif on the Projects Page #16

Open thestrugglingblack opened 7 years ago

thestrugglingblack commented 7 years ago
screen shot 2017-01-30 at 11 06 58 pm

This under .loading class in the projects.js and custom.css files. The loading gif is only activated when the response takes awhile to return. Make this change in project/language.js to force the loading.gif

import React from 'react';
import getResponse from '../../actions/utils'

const Language = (props) => {

  //variable videoItems which pulls from component VideoListItem
  const displayLanguage = "Language"

  // props.videos.map((video) => {
  //   return (
  //     <VideoListItem
  //     onVideoSelect={props.onVideoSelect}
  //     key={video.etag}
  //     video={video} />
  //   );
  // });

  return (
    <ul className="col-md-4 list-group" key={project.id}>
      {displayLanguage}
    </ul>
  );
};

export default Language;

Acceptance Criteria: