Skip to content

Commit

Permalink
✔ Jest icon added to skills
Browse files Browse the repository at this point in the history
  • Loading branch information
PranavGPR committed Jun 29, 2021
1 parent 7f8f232 commit 29909e8
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Head from "next/head";
import { AppProps } from "next/app";
import "styles/base.scss";
import "styles/icons.scss";
import "styles/brands.scss";
import "styles/sociallogos.scss";

export default function App({ Component, pageProps }: AppProps) {
Expand Down
4 changes: 4 additions & 0 deletions src/sections/About/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ export default function About() {
<span className='tooltip'>Express</span>
</span>

<span className='icon icon-jest'>
<span className='tooltip'>Jest</span>
</span>

<span className='icon icon-mongodb'>
<span className='tooltip'>MongoDB</span>
</span>
Expand Down
33 changes: 24 additions & 9 deletions src/styles/icons.scss → src/styles/brands.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,31 @@

@font-face {
font-family: "brands";
src: url("fonts/brands.eot?tw22l5");
src: url("fonts/brands.eot?tw22l5#iefix") format("embedded-opentype"),
url("fonts/brands.ttf?tw22l5") format("truetype"),
url("fonts/brands.woff?tw22l5") format("woff"),
url("fonts/brands.svg?tw22l5#brands") format("svg");
src: url("fonts/brands.eot?auc5vw");
src: url("fonts/brands.eot?auc5vw#iefix") format("embedded-opentype"),
url("fonts/brands.ttf?auc5vw") format("truetype"),
url("fonts/brands.woff?auc5vw") format("woff"),
url("fonts/brands.svg?auc5vw#brands") format("svg");
font-weight: normal;
font-style: normal;
font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: "brands" !important;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;

/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.icon {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: "brands" !important;
Expand Down Expand Up @@ -191,10 +206,6 @@
.icon-apollo:before {
content: "\e921";
}
.icon-bootstrap:before {
content: "\e91a";
color: #563d7c;
}
.icon-c:before {
content: "\e909";
color: #a8b9cc;
Expand Down Expand Up @@ -286,3 +297,7 @@
content: "\e900";
color: #1488c6;
}
.icon-jest:before {
content: "\e901";
color: #c21325;
}
Binary file modified src/styles/fonts/brands.eot
Binary file not shown.
2 changes: 1 addition & 1 deletion src/styles/fonts/brands.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/styles/fonts/brands.ttf
Binary file not shown.
Binary file modified src/styles/fonts/brands.woff
Binary file not shown.
2 changes: 1 addition & 1 deletion src/styles/fonts/selection.json

Large diffs are not rendered by default.

1 comment on commit 29909e8

@vercel
Copy link

@vercel vercel bot commented on 29909e8 Jun 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.