Skip to content

Commit

Permalink
use SectionWrapper for SOFT_SKILLS
Browse files Browse the repository at this point in the history
  • Loading branch information
itsnotrisky committed Sep 14, 2016
1 parent aa616d3 commit 0f8cdae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 20 deletions.
4 changes: 4 additions & 0 deletions src/actions/sectionAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import experienceData from '../data/experience';
import educationData from '../data/education';
import projectsData from '../data/projects';
import volunteerData from '../data/volunteer';
import softSkillsData from '../data/soft-skills';

export const importData = (section, data) => {
return {
Expand All @@ -27,6 +28,9 @@ export const loadData = (section) => {
case "VOLUNTEER":
return volunteerData
break;
case "SOFT_SKILLS":
return softSkillsData
break;
}
})()
return (dispatch) => {
Expand Down
3 changes: 1 addition & 2 deletions src/components/MainComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React, { Component } from 'react';
import Sidebar from './Sidebar';
import DevelopmentStacks from './sections/DevelopmentStacks';
import SectionWrapper from './sections/SectionWrapper';
import SoftSkills from './sections/SoftSkills';

class MainComponent extends Component {
render() {
Expand Down Expand Up @@ -40,7 +39,7 @@ class MainComponent extends Component {
<SectionWrapper title="Education" id="education" const="EDUCATION" />
<SectionWrapper title="Projects" id="projects" const="PROJECTS" />
<SectionWrapper title="Volunteer" id="volunteer" const="VOLUNTEER" />
<SoftSkills />
<SectionWrapper title="Soft Skills" id="soft-skills" const="SOFT_SKILLS" />
</div>
<div className="col-lg-4">
<Sidebar />
Expand Down
18 changes: 0 additions & 18 deletions src/components/sections/SoftSkills.js

This file was deleted.

0 comments on commit 0f8cdae

Please sign in to comment.