Skip to content

Commit

Permalink
Add svg techlore logo
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkonidas committed Sep 10, 2020
1 parent 5595787 commit 91c2c49
Show file tree
Hide file tree
Showing 7 changed files with 9,817 additions and 4 deletions.
8 changes: 8 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ module.exports = {
icon: `src/images/plexus-icon.png`, // This path is relative to the root of the site.
},
},
{
resolve: "gatsby-plugin-react-svg",
options: {
rule: {
include: /\.inline\.svg$/,
},
},
},
`gatsby-plugin-postcss`,
{
resolve: "gatsby-plugin-slug-field",
Expand Down
98 changes: 98 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"gatsby-plugin-offline": "^3.2.26",
"gatsby-plugin-postcss": "^2.3.11",
"gatsby-plugin-react-helmet": "^3.3.10",
"gatsby-plugin-react-svg": "^3.0.0",
"gatsby-plugin-sharp": "^2.6.31",
"gatsby-plugin-slug-field": "^0.2.0",
"gatsby-source-filesystem": "^2.3.27",
Expand Down
4 changes: 2 additions & 2 deletions src/components/footer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import Techlore from "../images/techlore.png";
import Techlore from "../images/techlore.inline.svg";

const Footer = ({ siteTitle }) => (
<footer className="bg-brand">
Expand All @@ -10,7 +10,7 @@ const Footer = ({ siteTitle }) => (
className="text-gray-100 hover:text-gray-200"
rel="noopener noreferrer"
>
<img className="h-6 w-auto" src={Techlore} alt="Techlore" />
<Techlore className="w-auto h-6" />
</a>
<a
href="https://github.com/techlore-official/plexus"
Expand Down
4 changes: 2 additions & 2 deletions src/components/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Link } from "gatsby";
import PropTypes from "prop-types";
import Container from "./container";
import Logo from "../images/plexus-icon.png";
import Techlore from "../images/techlore.png";
import Techlore from "../images/techlore.inline.svg";
import React from "react";

const Header = ({ siteTitle }) => (
Expand All @@ -25,7 +25,7 @@ const Header = ({ siteTitle }) => (
className="text-gray-100 hover:text-gray-200"
rel="noopener noreferrer"
>
<img className="h-10 md:h-12 w-auto" src={Techlore} alt="Techlore" />
<Techlore className="w-auto h-10" />
</a>
</div>
</Container>
Expand Down
Loading

0 comments on commit 91c2c49

Please sign in to comment.