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;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.how-it-works {
|
/* Prominent notices — how-it-works and beta, styled to stand out. */
|
||||||
margin-top: 20px;
|
.notice {
|
||||||
font-size: 14px;
|
display: flex;
|
||||||
color: var(--muted);
|
align-items: flex-start;
|
||||||
max-width: 420px;
|
gap: 14px;
|
||||||
line-height: 1.5;
|
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 {
|
.notice--beta {
|
||||||
margin-top: 24px;
|
background: #fdf3e3;
|
||||||
font-size: 14px;
|
border-color: #e0b36a;
|
||||||
color: var(--muted);
|
}
|
||||||
max-width: 460px;
|
|
||||||
|
.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;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -284,9 +311,15 @@
|
|||||||
<a class="cta-secondary" href="https://my.inference.coop">Member login</a>
|
<a class="cta-secondary" href="https://my.inference.coop">Member login</a>
|
||||||
</div>
|
</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="benefits">
|
||||||
<div class="benefit-card">
|
<div class="benefit-card">
|
||||||
|
|||||||
Reference in new issue
Block a user