Skip to content

Commit f58ac59

Browse files
committed
Colophon: add newsletter subscription block linking to Buttondown
1 parent fd2f202 commit f58ac59

1 file changed

Lines changed: 45 additions & 3 deletions

File tree

‎src/pages/colophon.astro‎

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,16 @@ import BaseLayout from '../layouts/BaseLayout.astro';
102102
</a>
103103
</div>
104104

105-
<div class="mono-label group-label">07 — CONTACT</div>
105+
<div class="mono-label group-label">07 — NEWSLETTER</div>
106+
<div class="newsletter-block">
107+
<p class="nl-lead">新文章摘要与精选内容,直接送进邮箱。低频率、尊重注意力,随时可退。</p>
108+
<a class="nl-cta" href="https://buttondown.com/modusensus" target="_blank" rel="noopener noreferrer">
109+
<span>订阅专栏信</span>
110+
<span class="nl-arrow" aria-hidden="true">→</span>
111+
</a>
112+
</div>
113+
114+
<div class="mono-label group-label">08 — CONTACT</div>
106115
<div class="about-block">
107116
<div class="contact-row">
108117
<a href="https://github.com/modusensus" class="footer-icon" target="_blank" rel="noopener">
@@ -128,14 +137,14 @@ import BaseLayout from '../layouts/BaseLayout.astro';
128137
</div>
129138
</div>
130139

131-
<div class="mono-label group-label">08 — RESEARCH</div>
140+
<div class="mono-label group-label">09 — RESEARCH</div>
132141
<div class="about-block pills-row">
133142
<span class="pill">空间公平与城市可达性</span>
134143
<span class="pill">数字治理与 AI 政策</span>
135144
<span class="pill">人机协作与自动化工作流</span>
136145
</div>
137146

138-
<div class="mono-label group-label">09 — PRIVACY &amp; SECURITY</div>
147+
<div class="mono-label group-label">10 — PRIVACY &amp; SECURITY</div>
139148
<div class="about-block legal-block">
140149
<div class="legal-row" id="privacy">
141150
<span class="mono-meta">PRIVACY · 隐私声明</span>
@@ -242,4 +251,37 @@ import BaseLayout from '../layouts/BaseLayout.astro';
242251
.stack-row { grid-template-columns: 1fr; gap: 8px; }
243252
.legal-row { grid-template-columns: 1fr; gap: 6px; }
244253
}
254+
255+
/* ── NEWSLETTER 订阅块:报纸风,油墨双线框 + mono 标签 + 大号 CTA ── */
256+
.newsletter-block {
257+
padding: 22px 24px;
258+
margin: 6px 0 8px;
259+
background: var(--paper-raise);
260+
border: 1px solid var(--ink);
261+
box-shadow: 3px 5px 0 rgba(34, 30, 24, 0.08);
262+
}
263+
.nl-lead {
264+
font-family: var(--font-cn);
265+
font-size: 14px; line-height: 1.8;
266+
color: var(--ink-soft);
267+
margin: 0 0 18px;
268+
}
269+
.nl-cta {
270+
display: inline-flex;
271+
align-items: center;
272+
gap: 12px;
273+
text-decoration: none;
274+
background: var(--ink); color: var(--paper);
275+
padding: 11px 20px;
276+
font-family: var(--font-mono);
277+
font-size: 12px; font-weight: 700;
278+
letter-spacing: 0.1em;
279+
text-transform: uppercase;
280+
transition: background 0.2s var(--ease-out), gap 0.2s var(--ease-out);
281+
}
282+
.nl-cta:hover {
283+
background: var(--c-pink);
284+
gap: 16px;
285+
}
286+
.nl-arrow { font-size: 15px; line-height: 1; }
245287
</style>

0 commit comments

Comments
 (0)