Skip to content

Commit

Permalink
Merge pull request #1505 from G-Core/WEB-7443
Browse files Browse the repository at this point in the history
Web 7443
  • Loading branch information
mariyayurlova authored Jan 10, 2025
2 parents d56e230 + 7aea09c commit 320202d
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/components/home/home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h2 class="section-title">Developer docs</h2>
<a [href]="'mailto:info@gcore.com'" class="email-address">info@gcore.com</a>
</div>
<p class="address-line">
G‑Core Labs S.A. © 2015–2024 All rights reserved. Principal place of business and postal address: 2-4, Rue
G‑Core Labs S.A. © 2015–2025 All rights reserved. Principal place of business and postal address: 2-4, Rue
Edmond Reuter, L-5326 Contern, Luxembourg
</p>
</div>
Expand Down
Binary file added src/assets/fonts/Montserrat-Variable.woff2
Binary file not shown.
17 changes: 17 additions & 0 deletions src/assets/monserrat.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@font-face {
font-family: Montserrat;
src: url('./../assets/fonts/Montserrat-Variable.woff2') format('woff2');
font-weight: 400 700;
font-display: auto;
}

html {
font-family: Montserrat, sans-serif;
}

button,
input,
textarea {
font-family: Montserrat, sans-serif;
-webkit-tap-highlight-color: transparent;
}
9 changes: 8 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@
<base href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="zd-site-verification" content="nkkkinnhwug2g3u9oisza" />
<link rel="stylesheet" href="assets/firacode.css" />
<link
rel="preload"
href="assets/fonts/Montserrat-Variable.woff2"
as="font"
type="font/woff2"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="assets/monserrat.css" />
<script>
if (window.sessionStorage.getItem('fontPreloaded')) {
const link = document.createElement('link');
Expand Down
7 changes: 5 additions & 2 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@
@import './scss/code';

html {
font-family: Inter, sans-serif;
color: $contentPrimary;
font-size: 16px;
font-weight: 500;
font-style: normal;
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
}

body {
Expand All @@ -14,7 +18,6 @@ body {
}

* {
font-family: Inter, sans-serif;
box-sizing: border-box;
}

Expand Down

0 comments on commit 320202d

Please sign in to comment.