diff --git a/src/containers/profile/Profile.js b/src/containers/profile/Profile.js index 8ef7f4e0dd..ec2e4500a4 100644 --- a/src/containers/profile/Profile.js +++ b/src/containers/profile/Profile.js @@ -4,8 +4,8 @@ import Contact from "../contact/Contact"; import Loading from "../loading/Loading"; const renderLoader = () => ; -const GithubProfileCard = lazy( - () => import("../../components/githubProfileCard/GithubProfileCard") +const GithubProfileCard = lazy(() => + import("../../components/githubProfileCard/GithubProfileCard") ); export default function Profile() { const [prof, setrepo] = useState([]); diff --git a/src/containers/projects/Projects.js b/src/containers/projects/Projects.js index 38755481b0..136160eb1e 100644 --- a/src/containers/projects/Projects.js +++ b/src/containers/projects/Projects.js @@ -5,8 +5,8 @@ import {openSource, socialMediaLinks} from "../../portfolio"; import StyleContext from "../../contexts/StyleContext"; import Loading from "../../containers/loading/Loading"; export default function Projects() { - const GithubRepoCard = lazy( - () => import("../../components/githubRepoCard/GithubRepoCard") + const GithubRepoCard = lazy(() => + import("../../components/githubRepoCard/GithubRepoCard") ); const FailedLoading = () => null; const renderLoader = () => ; diff --git a/src/index.css b/src/index.css index b01137c501..d3dbe8f04a 100644 --- a/src/index.css +++ b/src/index.css @@ -2,15 +2,13 @@ font-family: "Agustina Regular"; font-style: normal; font-weight: normal; - src: - local("Agustina Regular"), + src: local("Agustina Regular"), url("./assets/fonts/Agustina.woff") format("woff"); font-display: swap; } @font-face { font-family: "Montserrat"; - src: - local("Montserrat"), + src: local("Montserrat"), url("./assets/fonts/Montserrat-Regular.ttf") format("woff"); font-display: swap; } @@ -24,10 +22,7 @@ body { } body { margin: 0; - font: - 19px / 23px Montserrat, - "Montserrat", - sans-serif; + font: 19px / 23px Montserrat, "Montserrat", sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }