Skip to content

Commit fb7fa51

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3209720 commit fb7fa51

File tree

3 files changed

+7
-12
lines changed

3 files changed

+7
-12
lines changed

src/containers/profile/Profile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import Contact from "../contact/Contact";
44
import Loading from "../loading/Loading";
55

66
const renderLoader = () => <Loading />;
7-
const GithubProfileCard = lazy(
8-
() => import("../../components/githubProfileCard/GithubProfileCard")
7+
const GithubProfileCard = lazy(() =>
8+
import("../../components/githubProfileCard/GithubProfileCard")
99
);
1010
export default function Profile() {
1111
const [prof, setrepo] = useState([]);

src/containers/projects/Projects.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import {openSource, socialMediaLinks} from "../../portfolio";
55
import StyleContext from "../../contexts/StyleContext";
66
import Loading from "../../containers/loading/Loading";
77
export default function Projects() {
8-
const GithubRepoCard = lazy(
9-
() => import("../../components/githubRepoCard/GithubRepoCard")
8+
const GithubRepoCard = lazy(() =>
9+
import("../../components/githubRepoCard/GithubRepoCard")
1010
);
1111
const FailedLoading = () => null;
1212
const renderLoader = () => <Loading />;

src/index.css

+3-8
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22
font-family: "Agustina Regular";
33
font-style: normal;
44
font-weight: normal;
5-
src:
6-
local("Agustina Regular"),
5+
src: local("Agustina Regular"),
76
url("./assets/fonts/Agustina.woff") format("woff");
87
font-display: swap;
98
}
109
@font-face {
1110
font-family: "Montserrat";
12-
src:
13-
local("Montserrat"),
11+
src: local("Montserrat"),
1412
url("./assets/fonts/Montserrat-Regular.ttf") format("woff");
1513
font-display: swap;
1614
}
@@ -24,10 +22,7 @@ body {
2422
}
2523
body {
2624
margin: 0;
27-
font:
28-
19px / 23px Montserrat,
29-
"Montserrat",
30-
sans-serif;
25+
font: 19px / 23px Montserrat, "Montserrat", sans-serif;
3126
-webkit-font-smoothing: antialiased;
3227
-moz-osx-font-smoothing: grayscale;
3328
}

0 commit comments

Comments
 (0)