Skip to content

Commit 0e9ace0

Browse files
author
Steve Orvell
authored
Adds a banner to the home page to feature the tutorials catalog and YT channel (#823)
1 parent 15cb812 commit 0e9ace0

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

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

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
#new-banner {
2+
display: flex;
3+
align-items: center;
4+
justify-content: center;
5+
background: #325cff;
6+
color: white;
7+
height: var(--header-height);
8+
}
9+
10+
#new-banner > p {
11+
text-align: center;
12+
}
13+
14+
#new-banner a {
15+
color: white;
16+
font-weight: 800;
17+
}
18+
19+
#new-banner a:hover {
20+
text-decoration: underline;
21+
}
22+
123
#intro {
224
display: flex;
325
align-items: center;

packages/lit-dev-content/site/home/1-splash.html

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
<section id="new-banner">
2+
<p>📣 Check out our brand new <a href="{{site.baseurl}}/tutorials">Tutorials Catalog</a> and <a href="{{site.baseurl}}/youtube">YouTube Channel!</a></p>
3+
</section>
14
<section id="intro">
25
<div id="splashLogo" role="heading" aria-level="1">
36
<img src="{{site.baseurl}}/images/logo.svg" aria-label="Lit" width="425" height="200" />

0 commit comments

Comments
 (0)