Skip to content

Commit bbcec3a

Browse files
committed
feat: remove "Using a font from Google Fonts" section
1 parent a5269c5 commit bbcec3a

1 file changed

Lines changed: 3 additions & 68 deletions

File tree

src/pages/index.astro

Lines changed: 3 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -191,31 +191,6 @@ const faqSchema = {
191191
</div>
192192
</section>
193193

194-
<section id="google-fonts">
195-
<h2>Using a font from Google Fonts</h2>
196-
<p class="section-lede">
197-
No integration needed — Google Fonts already gives you exactly what Ecofonts eats.
198-
</p>
199-
<ol class="gf-steps">
200-
<li>
201-
<strong>Find your font</strong> on <a
202-
href="https://fonts.google.com"
203-
target="_blank"
204-
rel="noopener noreferrer">fonts.google.com</a
205-
> and open its page.
206-
</li>
207-
<li>
208-
<strong>Click “Get font”, then “Download all”.</strong> You'll get a <code>.zip</code> with
209-
every weight and style of the family.
210-
</li>
211-
<li>
212-
<strong>Drop that <code>.zip</code> right here.</strong> Ecofonts optimizes each font
213-
inside — including the fixed-weight copies in the <code>static/</code> folder — and
214-
returns the archive with its structure intact, ready to install.
215-
</li>
216-
</ol>
217-
</section>
218-
219194
<section id="mission" class="alt">
220195
<h2>The Mission</h2>
221196
<p class="section-lede">
@@ -300,8 +275,9 @@ const faqSchema = {
300275
<summary>How do I use a font from Google Fonts?</summary>
301276
<p>
302277
Download the family from fonts.google.com (“Get font” → “Download all”) and drop
303-
the resulting <code>.zip</code> here — see the <a href="#google-fonts"
304-
>step-by-step guide</a> above.
278+
the resulting <code>.zip</code> here. Ecofonts optimizes every font inside —
279+
including the fixed-weight copies in the <code>static/</code> folder — and returns
280+
the archive with its structure intact, ready to install.
305281
</p>
306282
</details>
307283
<details>
@@ -567,47 +543,6 @@ const faqSchema = {
567543
margin-bottom: 14px;
568544
}
569545

570-
.gf-steps {
571-
max-width: 640px;
572-
margin: 0 auto;
573-
padding: 0;
574-
list-style: none;
575-
counter-reset: gf;
576-
}
577-
.gf-steps li {
578-
counter-increment: gf;
579-
position: relative;
580-
padding: 18px 20px 18px 66px;
581-
margin-bottom: 14px;
582-
background: var(--surface);
583-
border: 1px solid var(--border);
584-
border-radius: 16px;
585-
color: var(--muted);
586-
}
587-
.gf-steps li strong {
588-
color: var(--ink);
589-
}
590-
.gf-steps li::before {
591-
content: counter(gf);
592-
position: absolute;
593-
left: 18px;
594-
top: 50%;
595-
transform: translateY(-50%);
596-
width: 32px;
597-
height: 32px;
598-
display: flex;
599-
align-items: center;
600-
justify-content: center;
601-
border-radius: 50%;
602-
background: linear-gradient(135deg, var(--green), var(--green-bright));
603-
color: #04160c;
604-
font-weight: 800;
605-
}
606-
.gf-steps a {
607-
color: var(--green-hover);
608-
font-weight: 600;
609-
}
610-
611546
.mission-close {
612547
text-align: center;
613548
max-width: 560px;

0 commit comments

Comments
 (0)