Prominent how-it-works + beta notices on homepage
This commit is contained in:
1 parent
f3f3b96e0b
commit
3e16aaf12f
1 file changed
+46
-13
+46
-13
@@ -144,19 +144,46 @@
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.how-it-works {
|
||||
margin-top: 20px;
|
||||
font-size: 14px;
|
||||
color: var(--muted);
|
||||
max-width: 420px;
|
||||
line-height: 1.5;
|
||||
/* Prominent notices — how-it-works and beta, styled to stand out. */
|
||||
.notice {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 14px;
|
||||
background: #e8f5e8;
|
||||
border: 1px solid var(--green-mid);
|
||||
border-radius: 14px;
|
||||
padding: 16px 20px;
|
||||
margin-top: 28px;
|
||||
max-width: 560px;
|
||||
text-align: left;
|
||||
box-shadow: 0 1px 2px rgba(45, 51, 39, 0.04);
|
||||
}
|
||||
|
||||
.beta-note {
|
||||
margin-top: 24px;
|
||||
font-size: 14px;
|
||||
color: var(--muted);
|
||||
max-width: 460px;
|
||||
.notice--beta {
|
||||
background: #fdf3e3;
|
||||
border-color: #e0b36a;
|
||||
}
|
||||
|
||||
.notice-label {
|
||||
flex-shrink: 0;
|
||||
display: inline-block;
|
||||
padding: 4px 14px;
|
||||
border-radius: 14px;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.02em;
|
||||
background: var(--green-deep);
|
||||
color: var(--white);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.notice-label--beta {
|
||||
background: #c98a2b;
|
||||
}
|
||||
|
||||
.notice p {
|
||||
font-size: 15px;
|
||||
color: var(--ink);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
@@ -284,9 +311,15 @@
|
||||
<a class="cta-secondary" href="https://my.inference.coop">Member login</a>
|
||||
</div>
|
||||
|
||||
<p class="how-it-works">How it works: join on Open Collective, then check your email to set up your account and get access to chat and member governance.</p>
|
||||
<div class="notice">
|
||||
<span class="notice-label">How it works</span>
|
||||
<p>Join on Open Collective, then check your email to set up your account. Once set up, you get access to chat and member governance.</p>
|
||||
</div>
|
||||
|
||||
<p class="beta-note"><strong>Beta:</strong> this service is a work in progress, being built by its members. Things may change as we learn.</p>
|
||||
<div class="notice notice--beta">
|
||||
<span class="notice-label notice-label--beta">Beta</span>
|
||||
<p>This service is a work in progress, being built by its members. Things may change as we learn.</p>
|
||||
</div>
|
||||
|
||||
<div class="benefits">
|
||||
<div class="benefit-card">
|
||||
|
||||
Reference in new issue
Block a user