Login Logout Navbar ProfileForm moved to MUI

This commit is contained in:
QkoSad
2023-08-14 19:10:42 +03:00
parent e86db26687
commit 7cd63ec826
50 changed files with 3356 additions and 5054 deletions
@@ -1,14 +1,16 @@
import React from 'react';
import { EducationType } from '../../types';
import formatDate from '../../utils/formatDate';
import React from "react";
import { EducationType } from "../../types";
import formatDate from "../../utils/formatDate";
const ProfileEducation = ({
education: { school, degree, fieldofstudy, current, to, from, description }
}: { education: EducationType }) => (
education: { school, degree, fieldofstudy, current, to, from, description },
}: {
education: EducationType;
}) => (
<div>
<h3 className="text-dark">{school}</h3>
<p>
{formatDate(from)} - {to ? formatDate(to) : 'Now'}
{formatDate(from)} - {to ? formatDate(to) : "Now"}
</p>
<p>
<strong>Degree: </strong> {degree}
@@ -22,6 +24,4 @@ const ProfileEducation = ({
</div>
);
export default ProfileEducation;