Skip to content

Commit 08afa13

Browse files
Serhii Prykhozhyiphilippem
authored andcommitted
update typography for mobile and content
1 parent cbcf807 commit 08afa13

File tree

2 files changed

+77
-6
lines changed

2 files changed

+77
-6
lines changed

client/src/views/lander.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ const LandingPage = ({ t, ...S }) => layout(
2020
<div className="logos-section">
2121
<div className="logos-desktop">
2222
<div className="logos">
23-
<img src={`${staticRoot}img/logos/bull-bitcoin.svg`} alt="Bull Bitcoin Logo" />
2423
<img src={`${staticRoot}img/logos/sideswap.svg`} alt="SideSwap Logo" />
2524
<img src={`${staticRoot}img/logos/sparrow.png`} alt="Sparrow Bitcoin Wallet Logo" />
2625
<img src={`${staticRoot}img/logos/blockstream-green.svg`} alt="Blockstream Green Logo" />
@@ -34,7 +33,6 @@ const LandingPage = ({ t, ...S }) => layout(
3433
<div className="logos-container">
3534
<div className="logos-scroll">
3635
<div className="logos-track">
37-
<img src={`${staticRoot}img/logos/bull-bitcoin.svg`} alt="Bull Bitcoin Logo" className="logo-item" />
3836
<img src={`${staticRoot}img/logos/sideswap.svg`} alt="SideSwap Logo" className="logo-item" />
3937
<img src={`${staticRoot}img/logos/sparrow.png`} alt="Sparrow Bitcoin Wallet Logo" className="logo-item" />
4038
<img src={`${staticRoot}img/logos/blockstream-green.svg`} alt="Blockstream Green Logo" className="logo-item" />
@@ -106,8 +104,8 @@ const LandingPage = ({ t, ...S }) => layout(
106104
<div className="cta-card">
107105
<div className="cta-left">
108106
<img src={`${staticRoot}img/icons/rest-api.svg`} alt="icon" />
109-
<h2 className="font-h2">HTTP Rest API</h2>
110-
<p className="font-p3 text-gray">Access real-time blockchain data with low latency and high throughput, ensuring the most up-to-date information for your applications.</p>
107+
<h2 className="font-h2">HTTP REST API<br/> for Bitcoin and Liquid</h2>
108+
<p className="font-p3 text-gray">Get real-time access to network data with simple RESTful endpoints, delivering low-latency, high-availability insights into UTXOs, balances, mempool transactions, and fee estimates, with seamless transaction broadcasting.</p>
111109
<a href="https://github.com/Blockstream/esplora/blob/master/API.md" target="_blank" className="g-btn primary-btn">EXPLORE DOCUMENTATION</a>
112110
</div>
113111
<div className="cta-right">

www/style.css

Lines changed: 75 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,26 +38,86 @@ body[lang=he] {
3838

3939
.font-h1 { font-size: 48px; font-weight: 700; font-family: "Chakra Petch", sans-serif; line-height: normal; letter-spacing: normal; font-style: normal; }
4040

41+
@media only screen and (max-width: 475px) {
42+
.font-h1 {
43+
font-size: 36px;
44+
}
45+
}
46+
4147
.font-h2 { font-size: 40px; font-weight: 700; font-family: "Chakra Petch", sans-serif; line-height: normal; letter-spacing: normal; font-style: normal; }
4248

49+
@media only screen and (max-width: 475px) {
50+
.font-h2 {
51+
font-size: 24px;
52+
}
53+
}
54+
4355
.font-h3 { font-size: 28px; font-weight: 700; font-family: "Chakra Petch", sans-serif; line-height: normal; letter-spacing: normal; font-style: normal; }
4456

57+
@media only screen and (max-width: 475px) {
58+
.font-h3 {
59+
font-size: 20px;
60+
}
61+
}
62+
4563
.font-h4 { font-size: 20px; font-weight: 700; font-family: "Chakra Petch", sans-serif; line-height: normal; letter-spacing: normal; font-style: normal; }
4664

65+
@media only screen and (max-width: 475px) {
66+
.font-h4 {
67+
font-size: 16px;
68+
}
69+
}
70+
4771
.font-h5 { font-size: 16px; font-weight: 700; font-family: "Chakra Petch", sans-serif; line-height: normal; letter-spacing: normal; font-style: normal; }
4872

73+
@media only screen and (max-width: 475px) {
74+
.font-h5 {
75+
font-size: 14px;
76+
}
77+
}
78+
4979
.font-h6 { font-size: 14px; font-weight: 700; font-family: "Chakra Petch", sans-serif; line-height: normal; letter-spacing: normal; font-style: normal; }
5080

5181
.font-p1 { font-size: 18px; font-weight: 400; font-family: "Inter", sans-serif; line-height: 25px; letter-spacing: normal; font-style: normal; }
5282

83+
@media only screen and (max-width: 475px) {
84+
.font-p1 {
85+
font-size: 16px;
86+
}
87+
}
88+
5389
.font-p2 { font-size: 16px; font-weight: 400; font-family: "Inter", sans-serif; line-height: 25px; letter-spacing: normal; font-style: normal; }
5490

91+
@media only screen and (max-width: 475px) {
92+
.font-p2 {
93+
font-size: 14px;
94+
}
95+
}
96+
5597
.font-p3 { font-size: 14px; font-weight: 400; font-family: "Inter", sans-serif; line-height: 25px; letter-spacing: normal; font-style: normal; }
5698

99+
@media only screen and (max-width: 475px) {
100+
.font-p3 {
101+
font-size: 12px;
102+
}
103+
}
104+
57105
.font-p4 { font-size: 14px; font-weight: 600; font-family: "Inter", sans-serif; line-height: 25px; letter-spacing: normal; font-style: normal; }
58106

107+
@media only screen and (max-width: 475px) {
108+
.font-p4 {
109+
font-size: 12px;
110+
}
111+
}
112+
59113
.font-p5 { font-size: 12x; font-weight: 400; font-family: "Inter", sans-serif; line-height: 20px; letter-spacing: normal; font-style: normal; }
60114

115+
@media only screen and (max-width: 475px) {
116+
.font-p5 {
117+
font-size: 11px;
118+
}
119+
}
120+
61121
.font-btn-1 { font-size: 18px; }
62122

63123
.font-btn-2 { font-size: 16px; }
@@ -2630,6 +2690,7 @@ dl.mempool-histogram .bar:before {
26302690
.sub-nav{
26312691
display: flex;
26322692
width: 100%;
2693+
padding-top: 10px;
26332694
}
26342695

26352696
.sub-nav a{
@@ -2859,6 +2920,10 @@ h3.table-title{
28592920

28602921
@media only screen and (max-width: 475px) {
28612922

2923+
.sub-nav {
2924+
padding-top: auto;
2925+
}
2926+
28622927
.main-nav li a, .sub-nav a {
28632928
font-size: 16px;
28642929
}
@@ -2986,7 +3051,7 @@ h3.table-title{
29863051
}
29873052
.logos {
29883053
display: flex;
2989-
gap: 15px;
3054+
gap: 36px;
29903055
justify-content: center;
29913056
align-items: center;
29923057
}
@@ -3003,7 +3068,7 @@ h3.table-title{
30033068

30043069
.badge {
30053070
display: flex;
3006-
padding: 5px 39px;
3071+
padding: 8px 39px;
30073072
justify-content: center;
30083073
align-items: center;
30093074
border-radius: 20px;
@@ -3174,6 +3239,14 @@ h3.table-title{
31743239
margin-top: 50px;
31753240
}
31763241

3242+
.pricing-card p > a {
3243+
color: #FF9417;
3244+
}
3245+
3246+
.pricing-card p > a:hover {
3247+
color: #22E1C9;
3248+
}
3249+
31773250
.pricing-card .g-btn {
31783251
font-size: 14px;
31793252
}

0 commit comments

Comments
 (0)