Skip to content

Commit

Permalink
Made all sections (except Greetings) optional by setting the config v…
Browse files Browse the repository at this point in the history
…alue to null in portfolio.js
  • Loading branch information
simomosi committed Aug 13, 2022
1 parent 281bcb0 commit 4402b09
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion containers/Education.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { educationInfo } from "../portfolio";
import { Container, Row, Col } from "reactstrap";

const Education = () => {
return (
return educationInfo && (
<section className="section pb-0 bg-gradient-info my-5">
<Container>
<div className="d-flex px-3">
Expand Down
2 changes: 1 addition & 1 deletion containers/Experience.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Fade } from "react-reveal";
import ExperienceCard from "../components/ExperienceCard";

const Experience = () => {
return (
return experience && (
<section className="section section-lg">
<Container>
<div className="d-flex p-4">
Expand Down
2 changes: 1 addition & 1 deletion containers/Feedbacks.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import FeedbackCard from "../components/FeedbackCard";
import { Fade } from "react-reveal";

const Feedbacks = () => {
return (
return feedbacks && (
<section className="section section-lg">
<Container>
<div className="d-flex p-4">
Expand Down
2 changes: 1 addition & 1 deletion containers/Proficiency.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Fade } from "react-reveal";
import GreetingLottie from "../components/DisplayLottie";

const Proficiency = () => {
return (
return SkillBars && (
<Container className="section section-lg">
<Fade bottom duration={2000} >
<Row>
Expand Down
2 changes: 1 addition & 1 deletion containers/Projects.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import ProjectsCard from "../components/ProjectsCard";
import { Fade } from "react-reveal";

const Projects = () => {
return (
return projects && (
<section className="section section-lg">
<Container>
<div className="d-flex p-4">
Expand Down
2 changes: 1 addition & 1 deletion containers/Skills.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import DisplayLottie from "../components/DisplayLottie";
import { skillsSection } from "../portfolio";

const Skills = () => {
return (
return skillsSection && (
<Container className="text-center my-5 section section-lg">
<h1 className="h1">{skillsSection.title}</h1>
<p className="lead">{skillsSection.subTitle}</p>
Expand Down

0 comments on commit 4402b09

Please sign in to comment.