35 lines
870 B
TypeScript
35 lines
870 B
TypeScript
import { CommonModule } from "@angular/common";
|
|
import { Component } from "@angular/core";
|
|
import { Link } from "../../interfaces/link";
|
|
import { LinkComponent } from "../link/link.component";
|
|
|
|
@Component({
|
|
standalone: true,
|
|
selector: "app-dock",
|
|
imports: [CommonModule, LinkComponent],
|
|
templateUrl: "./dock.component.html",
|
|
styleUrls: ["./dock.component.less"],
|
|
})
|
|
export class DockComponent {
|
|
readonly links: Link[] = [
|
|
{
|
|
id: 0,
|
|
svg: "../../../assets/svg/logo-telegram.svg",
|
|
url: "https://t.me/neur0w0men",
|
|
text: "TELEGRAM_LABEL",
|
|
},
|
|
{
|
|
id: 1,
|
|
svg: "../../../assets/svg/logo-github.svg",
|
|
url: "https://github.com/MrSedan",
|
|
text: "GITHUB_LABEL",
|
|
},
|
|
{
|
|
id: 2,
|
|
svg: "../../../assets/svg/logo-gitea.svg",
|
|
url: "https://git.nwaifu.su",
|
|
text: "GITEA_LABEL",
|
|
},
|
|
];
|
|
}
|