diff --git a/src/containers/profile/Profile.js b/src/containers/profile/Profile.js index 0f44bab039..7d89c0bb67 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 478dff72c6..8e0baa885d 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 d3dbe8f04a..b01137c501 100644 --- a/src/index.css +++ b/src/index.css @@ -2,13 +2,15 @@ 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; } @@ -22,7 +24,10 @@ 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; }