summaryrefslogtreecommitdiff
path: root/fig-frontend/client/src/components/header.ts
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2024-01-12 14:54:22 -0500
committerLLLL Colonq <llll@colonq>2024-01-12 14:54:32 -0500
commit094d3e0e1370f2f8b3619ba6cea8b33ac83dceed (patch)
tree01ae4f2706d32ef1433c60d60dcabb1e479be463 /fig-frontend/client/src/components/header.ts
parent45980c6910a7fe16ec41b1663b79cebc6e33350d (diff)
Update frontend
Diffstat (limited to 'fig-frontend/client/src/components/header.ts')
-rw-r--r--fig-frontend/client/src/components/header.ts34
1 files changed, 34 insertions, 0 deletions
diff --git a/fig-frontend/client/src/components/header.ts b/fig-frontend/client/src/components/header.ts
new file mode 100644
index 0000000..c4c709f
--- /dev/null
+++ b/fig-frontend/client/src/components/header.ts
@@ -0,0 +1,34 @@
+import { html, css, LitElement } from "lit";
+import { customElement } from "lit/decorators.js";
+
+@customElement("fig-header")
+export class Header extends LitElement {
+ static styles = css`
+#header {
+ position: absolute;
+ text-align: center;
+ border-radius: 100px;
+ border-style: solid;
+ border-color: silver;
+ border-width: 5px;
+ background: linear-gradient(0deg, rgba(89,89,89,1) 35%, rgba(158,158,158,1) 100%);
+ top: 1em;
+ left: 33vw;
+ width: 33vw;
+}
+#header:hover {
+ filter: brightness(150%);
+}
+h1 {
+ color: #b5a642;
+ font-family: "Rubik Maps";
+}
+`;
+ render() {
+ return html`
+<div id="header">
+ <h1>"The JunkYard"</h1>
+</div>
+`;
+ }
+}