Skip to content

Commit f8e5dd8

Browse files
author
Ruveyda Kisla
committed
update: add inter as font family
1 parent 98c9076 commit f8e5dd8

File tree

5 files changed

+7
-27
lines changed

5 files changed

+7
-27
lines changed

index.html

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
<link rel="icon" type="image" href="/favicon.ico" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
88
<title>Wagent Payment</title>
9+
<link rel="preconnect" href="https://fonts.googleapis.com" />
10+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
11+
<link
12+
href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap"
13+
rel="stylesheet"
14+
/>
915
</head>
1016
<body>
1117
<div id="root"></div>

public/font/Aeonik-Bold.ttf

-98.4 KB
Binary file not shown.

public/font/Aeonik-Medium.ttf

-97.3 KB
Binary file not shown.

public/font/Aeonik-Regular.ttf

-96.4 KB
Binary file not shown.

src/index.css

+1-27
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
html,
3232
body {
33-
font-family: Aeonik;
33+
font-family: 'Inter', serif;
3434
font-synthesis: none;
3535
text-rendering: optimizeLegibility;
3636
-webkit-font-smoothing: antialiased;
@@ -48,29 +48,3 @@ body {
4848
justify-content: space-between;
4949
align-items: center;
5050
}
51-
52-
@layer base {
53-
@font-face {
54-
font-family: 'Aeonik';
55-
font-style: normal;
56-
font-weight: 400;
57-
font-display: swap;
58-
src: url(/font/Aeonik-Regular.ttf) format('truetype');
59-
}
60-
61-
@font-face {
62-
font-family: 'Aeonik';
63-
font-style: normal;
64-
font-weight: 500;
65-
font-display: swap;
66-
src: url(/font/Aeonik-Medium.ttf) format('truetype');
67-
}
68-
69-
@font-face {
70-
font-family: 'Aeonik';
71-
font-style: normal;
72-
font-weight: 700;
73-
font-display: swap;
74-
src: url(/font/Aeonik-Bold.ttf) format('truetype');
75-
}
76-
}

0 commit comments

Comments
 (0)