File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed
packages/site-client/src/components Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license
3
+ * Copyright 2022 Google LLC
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ import { html , css , LitElement } from 'lit' ;
8
+ import { customElement } from 'lit/decorators.js' ;
9
+
10
+ @customElement ( 'wco-footer' )
11
+ export class WCOFooter extends LitElement {
12
+ static styles = css `
13
+ :host {
14
+ display: flex;
15
+ justify-content: center;
16
+ align-items: center;
17
+ background: #eee;
18
+ border-top: solid 1px #aaa;
19
+ height: 120px;
20
+ }
21
+ ` ;
22
+
23
+ render ( ) {
24
+ return html `[Footer]` ;
25
+ }
26
+ }
27
+
28
+ declare global {
29
+ interface HTMLElementTagNameMap {
30
+ 'wco-footer' : WCOFooter ;
31
+ }
32
+ }
Original file line number Diff line number Diff line change 7
7
import { html , css , LitElement , CSSResultGroup } from 'lit' ;
8
8
import { customElement } from 'lit/decorators.js' ;
9
9
import './wco-top-bar.js' ;
10
+ import './wco-footer.js' ;
10
11
11
12
/**
12
13
* The base class for all pages. Includes a top bar and <main> element.
@@ -29,6 +30,7 @@ export class WCOPage extends LitElement {
29
30
return html `
30
31
< wco-top-bar > </ wco-top-bar >
31
32
< main > ${ this . renderMain ( ) } </ main >
33
+ < wco-footer > </ wco-footer >
32
34
` ;
33
35
}
34
36
You can’t perform that action at this time.
0 commit comments