Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 23, 2024
1 parent 5521606 commit 8613a9b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/containers/profile/Profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import Contact from "../contact/Contact";
import Loading from "../loading/Loading";

const renderLoader = () => <Loading />;
const GithubProfileCard = lazy(
() => import("../../components/githubProfileCard/GithubProfileCard")
const GithubProfileCard = lazy(() =>
import("../../components/githubProfileCard/GithubProfileCard")
);
export default function Profile() {
const [prof, setrepo] = useState([]);
Expand Down
4 changes: 2 additions & 2 deletions src/containers/projects/Projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => <Loading />;
Expand Down
11 changes: 3 additions & 8 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down

0 comments on commit 8613a9b

Please sign in to comment.