Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #608

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0-alpha.4" # Use the sha or tag you want to point at
rev: "v4.0.0-alpha.8" # Use the sha or tag you want to point at
hooks:
- id: prettier
files: ".*.(json|js|css)"
Expand Down
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: 8 additions & 3 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down
Loading