From 50a7c1e99ee28f6bd158685acc3037ebe830e61a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 Dec 2023 21:06:20 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/containers/profile/Profile.js | 4 ++-- src/containers/projects/Projects.js | 4 ++-- src/index.css | 11 ++++++++--- 3 files changed, 12 insertions(+), 7 deletions(-) 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; }