Use Fontsource and Lucide

Replacing Google Fonts and FontAwesome
This commit is contained in:
Kevin Kandlbinder 2021-09-24 15:49:14 +02:00
parent 4fb0aae042
commit 833318ba3d
12 changed files with 69 additions and 50 deletions

View file

@ -7,6 +7,7 @@ import PropTypes from "prop-types";
import * as styles from "./project.module.scss";
import { MDXRenderer } from "gatsby-plugin-mdx";
import { GatsbyImage } from "gatsby-plugin-image";
import { ExternalLink, Github } from "lucide-react";
export const query = graphql`
query GetProject($urlname: String!, $lang: String!, $language: String!) {
@ -100,10 +101,7 @@ const ProjectTemplate = ({ data }) => {
target="_blank"
rel="noreferrer"
>
<i
className="fab fa-github"
aria-hidden="true"
></i>{" "}
<Github height={15}/>{" "}
<Trans>projectViewGitHub</Trans>
</a>
) : null}
@ -113,10 +111,7 @@ const ProjectTemplate = ({ data }) => {
target="_blank"
rel="noreferrer"
>
<i
className="fas fa-external-link-alt"
aria-hidden="true"
></i>{" "}
<ExternalLink height={15}/>{" "}
<Trans>projectViewWebsite</Trans>
</a>
) : null}