Skip to content

Commit

Permalink
Remove languages section
Browse files Browse the repository at this point in the history
  • Loading branch information
MehdiKhoshnevisz committed May 31, 2023
1 parent acb0627 commit d5aa334
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/templates/default/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import Contact from "./components/Contact";
import Biography from "./components/Biography";
import Experience from "./components/Experience";
import Education from "./components/Education";
import Languages from "./components/Languages";
import ItemWrapper from "./components/ItemWrapper";
import LineSeparator from "./components/LineSeparator";

Expand All @@ -35,9 +34,6 @@ const DefaultTemplate: FC = () => {
const projects: object[] = t("projects", { returnObjects: true });
const isExistProjects = i18n.exists("projects");

const languages: object[] = t("languages", { returnObjects: true });
const isExistLanguages = i18n.exists("languages");

const socials: object[] = t("socials", { returnObjects: true });
const isExistSocials = i18n.exists("socials");

Expand Down Expand Up @@ -112,16 +108,6 @@ const DefaultTemplate: FC = () => {
</>
)}

{isExistLanguages && (
<>
<ItemWrapper title="Languages">
<Languages list={languages} />
</ItemWrapper>

<LineSeparator />
</>
)}

{isExistSocials && (
<ItemWrapper row="start">
<Socials list={socials} />
Expand Down

0 comments on commit d5aa334

Please sign in to comment.