blob: 925ef61eb779a839fb66b7a2dceba8ed39c9295b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com>
// SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.1
import Link from "next/link";
interface BrandProps {
account?: boolean;
accountLabel?: string;
}
export function Brand({
account = false,
accountLabel = "Account",
}: BrandProps) {
return (
<Link
className="brand"
href={
account ? "https://account.progmasoft.com/" : "https://progmasoft.com/"
}
>
<span className="brand-mark" aria-hidden="true">
<span className="brand-tile brand-tile-slate" />
<span className="brand-tile brand-tile-teal" />
<span className="brand-tile brand-tile-violet" />
<span className="brand-tile brand-tile-orange" />
</span>
<strong className="brand-name">Progmasoft</strong>
{account && <span className="brand-product">{accountLabel}</span>}
</Link>
);
}
|