File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -461,23 +461,23 @@ code.language-text.css-0 {
461
461
/*----------------------RESET OVER----------------------------------*/
462
462
@font-face {
463
463
src : url ("../fonts/TiemposTextWeb-Regular.woff" ) format ("woff" );
464
- font-family : "TiemposText" ;
465
464
font-display : swap;
465
+ font-family : "TiemposText" ;
466
466
}
467
467
@font-face {
468
468
src : url ("../fonts/TiemposTextWeb-RegularItalic.woff" ) format ("woff" );
469
- font-family : "TiemposItalic" ;
470
469
font-display : swap;
470
+ font-family : "TiemposItalic" ;
471
471
}
472
472
@font-face {
473
473
src : url ("../fonts/TiemposTextWeb-Bold.woff" ) format ("woff" );
474
- font-family : "TiemposBold" ;
475
474
font-display : swap;
475
+ font-family : "TiemposBold" ;
476
476
}
477
477
@font-face {
478
478
src : url ("../fonts/TiemposHeadlineWeb-Regular.woff" ) format ("woff" );
479
- font-family : "TiemposHeadline" ;
480
479
font-display : swap;
480
+ font-family : "TiemposHeadline" ;
481
481
}
482
482
483
483
a {
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ import Header from "./header"
31
31
import theme from "../theme"
32
32
import PlainLink from "../components/link"
33
33
import TextWithIcon from "../components/textWithIcon"
34
- import cbLogo from './../images/logos/cb.png'
35
34
import mailIcon from './../images/logos/mail.svg'
36
35
import phoneIcon from './../images/logos/phone.svg'
37
36
import locationIcon from './../images/logos/location.svg'
@@ -162,7 +161,12 @@ const Footer = ({ images }) => (
162
161
163
162
< Flex mt = { [ 0 , 3 ] } >
164
163
< Box mr = { 1 } display = { [ 'none' , 'block' ] } >
165
- < img src = { cbLogo } height = "48px" alt = "Codebrahma Logo" />
164
+ < Img
165
+ fixed = { images [ 'cb' ] . childImageSharp . fixed }
166
+ objectFit = "contain"
167
+ height = "48px"
168
+ alt = "Codebrahma Logo"
169
+ />
166
170
</ Box >
167
171
< Box >
168
172
< Box mb = { 1 } >
@@ -189,6 +193,14 @@ const Layout = ({ children }) => {
189
193
}
190
194
}
191
195
196
+ cb : file (relativePath: { eq : "logos/cb.png" }) {
197
+ childImageSharp {
198
+ fixed(width: 96, height: 48) {
199
+ ...GatsbyImageSharpFixed_withWebp_noBase64
200
+ }
201
+ }
202
+ }
203
+
192
204
facebook: file(relativePath: { eq: "logos/facebook.png" }) {
193
205
childImageSharp {
194
206
fixed (width: 33, height : 33) {
You can’t perform that action at this time.
0 commit comments