Skip to content

Commit dab58a4

Browse files
committed
certifications empty data
1 parent 4d8b4d0 commit dab58a4

File tree

2 files changed

+44
-41
lines changed

2 files changed

+44
-41
lines changed

src/pages/education/EducationComponent.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import Certifications from "../../containers/certifications/Certifications";
77
import CompetitiveSites from "../../components/competitiveSites/CompetitiveSites";
88
import EducationImg from "./EducationImg";
99
import { competitiveSites } from "../../portfolio";
10+
import { certifications } from "../../portfolio";
1011
import "./EducationComponent.css";
1112
import { Fade } from "react-reveal";
1213

@@ -38,7 +39,9 @@ class Education extends Component {
3839
</div>
3940
</Fade>
4041
<Educations theme={this.props.theme} />
41-
<Certifications theme={this.props.theme} />
42+
{certifications.certifications.length > 0 ? (
43+
<Certifications theme={this.props.theme} />
44+
) : null}
4245
</div>
4346
<Footer theme={this.props.theme} />
4447
<TopButton theme={this.props.theme} />

src/portfolio.js

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -651,46 +651,46 @@ const publicationsHeader = {
651651

652652
const publications = {
653653
data: [
654-
// {
655-
// id: "MDEwOlJlcG9zaXRvcnkyNDU0NjcyNzQ=",
656-
// name: "Artificial Intelligence Paper",
657-
// createdAt: "2020-03-06T16:26:54Z",
658-
// description: "Paper Written on Artificial Intelligence published in xyz ",
659-
// url:
660-
// "https://www.andrewng.org/publications/building-high-level-features-using-large-scale-unsupervised-learning/",
661-
// },
662-
// {
663-
// id: "MDEwOlJlcG9zaXRvcnkyNDU0NjcyNzi=",
664-
// name: "Artificial Intelligence Paper",
665-
// createdAt: "2020-03-06T16:26:54Z",
666-
// description: "Paper Written on Artificial Intelligence published in xyz ",
667-
// url:
668-
// "https://www.andrewng.org/publications/building-high-level-features-using-large-scale-unsupervised-learning/",
669-
// },
670-
// {
671-
// id: "MDEwOlJlcG9zaXRvcnkyNDU0NjcyNze=",
672-
// name: "Artificial Intelligence Paper",
673-
// createdAt: "2020-03-06T16:26:54Z",
674-
// description: "Paper Written on Artificial Intelligence published in xyz ",
675-
// url:
676-
// "https://www.andrewng.org/publications/building-high-level-features-using-large-scale-unsupervised-learning/",
677-
// },
678-
// {
679-
// id: "MDEwOlJlcG9zaXRvcnkyNDU0NjcyNzt=",
680-
// name: "Artificial Intelligence Paper",
681-
// createdAt: "2020-03-06T16:26:54Z",
682-
// description: "Paper Written on Artificial Intelligence published in xyz ",
683-
// url:
684-
// "https://www.andrewng.org/publications/building-high-level-features-using-large-scale-unsupervised-learning/",
685-
// },
686-
// {
687-
// id: "MDEwOlJlcG9zaXRvcnkyNDU0NjcyNzb=",
688-
// name: "Artificial Intelligence Paper",
689-
// createdAt: "2020-03-06T16:26:54Z",
690-
// description: "Paper Written on Artificial Intelligence published in xyz ",
691-
// url:
692-
// "https://www.andrewng.org/publications/building-high-level-features-using-large-scale-unsupervised-learning/",
693-
// },
654+
{
655+
id: "MDEwOlJlcG9zaXRvcnkyNDU0NjcyNzQ=",
656+
name: "Artificial Intelligence Paper",
657+
createdAt: "2020-03-06T16:26:54Z",
658+
description: "Paper Written on Artificial Intelligence published in xyz ",
659+
url:
660+
"https://www.andrewng.org/publications/building-high-level-features-using-large-scale-unsupervised-learning/",
661+
},
662+
{
663+
id: "MDEwOlJlcG9zaXRvcnkyNDU0NjcyNzi=",
664+
name: "Artificial Intelligence Paper",
665+
createdAt: "2020-03-06T16:26:54Z",
666+
description: "Paper Written on Artificial Intelligence published in xyz ",
667+
url:
668+
"https://www.andrewng.org/publications/building-high-level-features-using-large-scale-unsupervised-learning/",
669+
},
670+
{
671+
id: "MDEwOlJlcG9zaXRvcnkyNDU0NjcyNze=",
672+
name: "Artificial Intelligence Paper",
673+
createdAt: "2020-03-06T16:26:54Z",
674+
description: "Paper Written on Artificial Intelligence published in xyz ",
675+
url:
676+
"https://www.andrewng.org/publications/building-high-level-features-using-large-scale-unsupervised-learning/",
677+
},
678+
{
679+
id: "MDEwOlJlcG9zaXRvcnkyNDU0NjcyNzt=",
680+
name: "Artificial Intelligence Paper",
681+
createdAt: "2020-03-06T16:26:54Z",
682+
description: "Paper Written on Artificial Intelligence published in xyz ",
683+
url:
684+
"https://www.andrewng.org/publications/building-high-level-features-using-large-scale-unsupervised-learning/",
685+
},
686+
{
687+
id: "MDEwOlJlcG9zaXRvcnkyNDU0NjcyNzb=",
688+
name: "Artificial Intelligence Paper",
689+
createdAt: "2020-03-06T16:26:54Z",
690+
description: "Paper Written on Artificial Intelligence published in xyz ",
691+
url:
692+
"https://www.andrewng.org/publications/building-high-level-features-using-large-scale-unsupervised-learning/",
693+
},
694694
],
695695
};
696696

0 commit comments

Comments
 (0)