nav works!
+ \ No newline at end of file diff --git a/src/app/nav/nav.ts b/src/app/nav/nav.ts index a1ad6f1..12eaa9c 100644 --- a/src/app/nav/nav.ts +++ b/src/app/nav/nav.ts @@ -4,12 +4,13 @@ * @author Naomi Carrigan */ import { Component } from "@angular/core"; +import { RouterLink } from "@angular/router"; /** * Renders the navigation bar. */ @Component({ - imports: [], + imports: [ RouterLink ], selector: "app-nav", styleUrl: "./nav.css", templateUrl: "./nav.html", diff --git a/src/app/ticker/ticker.css b/src/app/ticker/ticker.css index e69de29..dddde44 100644 --- a/src/app/ticker/ticker.css +++ b/src/app/ticker/ticker.css @@ -0,0 +1,16 @@ +.ticker-bg { + background-color: var(--color-ticker); +} + +.ticker-scroll { + animation: scroll-horizontal 60s linear infinite; +} + +@keyframes scroll-horizontal { + 0% { + transform: translateX(0); + } + 100% { + transform: translateX(-50%); + } +} \ No newline at end of file diff --git a/src/app/ticker/ticker.html b/src/app/ticker/ticker.html index dcef208..52f8745 100644 --- a/src/app/ticker/ticker.html +++ b/src/app/ticker/ticker.html @@ -1 +1,15 @@ -ticker works!
+
+
\ No newline at end of file
diff --git a/src/app/ticker/ticker.ts b/src/app/ticker/ticker.ts
index 2ba7722..f68710f 100644
--- a/src/app/ticker/ticker.ts
+++ b/src/app/ticker/ticker.ts
@@ -15,5 +15,10 @@ import { Component } from "@angular/core";
templateUrl: "./ticker.html",
})
export class Ticker {
-
+ protected readonly phrases = [
+ "[UPDATE]: Office will be closed this Tuesday for the Lunar Eclipse. (Religious Holiday).",
+ "[MEMO]: Please stop asking the Bodyguard for fashion tips. She is working.",
+ "[TECH]: Patch 4.0.1 deployed. Fixed a bug where the AI started whispering.",
+ "[NOTICE]: We are aware of the \"howling\" coming from the breakroom. Amari is watching a sad movie. It is under control.",
+ ];
}
+ @for (phrase of phrases; track phrase) {
+ {{ phrase }}
+ •
+ }
+
+
+
+