Skip to content

Commit a5c506d

Browse files
committed
docs: add openjs foundation blurb on homepage
fixes lit/lit#5143
1 parent 51d1318 commit a5c506d

File tree

5 files changed

+167
-0
lines changed

5 files changed

+167
-0
lines changed

packages/lit-dev-content/site/css/home.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
@import url('./home/5-who-is-using.css');
66
@import url('./home/6-explore.css');
77
@import url('./home/7-connect.css');
8+
@import url('./home/8-open-governance.css');
89

910
html {
1011
--home-side-margin: 2rem;
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
#open-governance {
2+
padding: 4em var(--home-side-margin) 5em var(--home-side-margin);
3+
background-color: black;
4+
color: white;
5+
}
6+
7+
#open-governance > h1 {
8+
margin-bottom: 1em;
9+
max-width: var(--content-max-width);
10+
margin: auto;
11+
}
12+
13+
#openGovernanceContent {
14+
max-width: var(--content-max-width);
15+
margin: auto;
16+
margin-top: 2.5em;
17+
display: flex;
18+
align-items: center;
19+
gap: 80px;
20+
}
21+
22+
#openGovernanceLogo {
23+
flex: 1;
24+
display: flex;
25+
justify-content: center;
26+
align-items: center;
27+
}
28+
29+
#openGovernanceLogo lazy-svg {
30+
width: 100%;
31+
max-width: 320px;
32+
}
33+
34+
#openGovernanceText {
35+
flex: 1;
36+
}
37+
38+
#openGovernanceText h2 {
39+
font-size: 24px;
40+
margin-top: 0;
41+
}
42+
43+
#openGovernanceText a {
44+
color: white;
45+
text-decoration: underline;
46+
}
47+
48+
#openGovernanceText a:hover,
49+
#openGovernanceText a:focus {
50+
background-color: var(--sys-color-primary-container);
51+
color: var(--sys-color-on-primary-container);
52+
}
53+
54+
#open-governance .openGovernanceLink {
55+
background-color: var(--sys-color-primary);
56+
color: var(--sys-color-on-primary);
57+
font-size: 14px;
58+
font-weight: 700;
59+
padding: 8px 16px;
60+
text-align: center;
61+
text-decoration: none;
62+
display: inline-block;
63+
margin-top: 25px;
64+
}
65+
66+
#open-governance .openGovernanceLink:hover,
67+
#open-governance .openGovernanceLink:focus {
68+
background-color: var(--sys-color-primary-container);
69+
color: var(--sys-color-on-primary-container);
70+
}
71+
72+
@media (max-width: 860px) {
73+
#openGovernanceContent {
74+
flex-direction: column;
75+
gap: 40px;
76+
text-align: center;
77+
}
78+
79+
#openGovernanceLogo {
80+
order: -1;
81+
}
82+
83+
#openGovernanceLogo lazy-svg {
84+
max-width: 280px;
85+
}
86+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<section id="open-governance">
2+
<h1 class="homeSectionHeading">Built to Last</h1>
3+
<div id="openGovernanceContent">
4+
<div id="openGovernanceLogo">
5+
<lazy-svg href="{{ site.baseurl }}/images/logos/openjs-foundation-horizontal.svg#logo" label="Open JS Foundation" loading="visible"></lazy-svg>
6+
</div>
7+
<div id="openGovernanceText">
8+
<h2>
9+
Lit is an <a href="https://openjsf.org/" target="_blank" rel="noopener">OpenJS Foundation</a>
10+
Impact Project.
11+
</h2>
12+
<p>
13+
Lit joins Node.js, Electron, and webpack as an Impact Project. Its Technical
14+
Steering Committee includes representatives from companies like Google,
15+
Adobe, Reddit, as well as independent maintainers - Lit's future is
16+
shaped by its community, not any single company's roadmap.
17+
</p>
18+
<a class="openGovernanceLink" href="{{site.baseurl}}/blog/2025-10-14-openjs/">Read the announcement</a>
19+
</div>
20+
</div>
21+
</section>
Lines changed: 58 additions & 0 deletions
Loading

packages/lit-dev-content/site/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@
2323
{% include "./home/5-who-is-using.html" %}
2424
{% include "./home/6-explore.html" %}
2525
{% include "./home/7-connect.html" %}
26+
{% include "./home/8-open-governance.html" %}
2627

2728
{% endblock %}

0 commit comments

Comments
 (0)