Skip to content

Commit

Permalink
fix: change swiper css load
Browse files Browse the repository at this point in the history
  • Loading branch information
jandiralceu committed Oct 14, 2024
1 parent fa9b231 commit d50410a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/LatestPosts/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
} from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";

import "swiper/css";
// import "swiper/css";

import ArticleCard from "../ArticleCard";

Expand Down Expand Up @@ -48,7 +48,11 @@ export default function LatestPosts() {
</h3>
<div className="flex gap-4 justify-start items-start">
<button type="button" className="post-highlight-prev cursor-pointer">
<FontAwesomeIcon icon={faArrowLeftLong} size="xl" />
<FontAwesomeIcon
icon={faArrowLeftLong}
size="xl"
className="font-extralight"
/>
</button>
<button type="button" className="post-highlight-next cursor-pointer">
<FontAwesomeIcon icon={faArrowRightLong} size="xl" />
Expand Down
2 changes: 2 additions & 0 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import SiteDescription from "../components/SiteDescription";
import LatestPosts from "../components/LatestPosts";
import Subscribe from "../components/Subscribe";

import "swiper/css";

interface IHomeMetadata extends ISiteMetadata {
readonly file: {
publicURL: string;
Expand Down

0 comments on commit d50410a

Please sign in to comment.