blob: b1c697a586ac4bcd7d283eae76dfd8d601d06138 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
// SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com>
// SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.1
import type { Metadata } from "next";
import { ViGetFooter } from "@/components/ViGetFooter";
import { ViGetHeader } from "@/components/ViGetHeader";
import { getLocale } from "@/lib/locale.server";
import { forwardArrow, getMessages } from "@/lib/localization";
export async function generateMetadata(): Promise<Metadata> {
const { metadata } = getMessages(await getLocale());
return {
title: metadata.vigetTitle,
description: metadata.vigetDescription,
alternates: { canonical: "https://viget.progmasoft.com/" },
robots: { index: true, follow: true },
};
}
export default async function ViGetPage() {
const locale = await getLocale();
const { viget } = getMessages(locale);
return (
<div className="viget-surface">
<ViGetHeader locale={locale} />
<main>
<section className="viget-hero">
<div className="shell viget-hero-grid">
<div className="viget-hero-copy">
<p className="eyebrow">{viget.homeEyebrow}</p>
<h1>{viget.homeTitle}</h1>
<p>{viget.homeDescription}</p>
<div className="hero-actions">
<a
className="button"
href="https://account.progmasoft.com/register"
>
{viget.createAccount}
</a>
<a
className="button button-secondary"
href="https://xsharp-lang.xyz/"
>
{viget.exploreVisualXSharp}
</a>
</div>
</div>
<aside
className="viget-availability"
aria-labelledby="viget-availability-title"
>
<div className="viget-status">
<span aria-hidden="true" />
{viget.available}
</div>
<h2 id="viget-availability-title">{viget.emptyTitle}</h2>
<p>{viget.emptyDescription}</p>
<dl>
<div>
<dt>{viget.packageFormat}</dt>
<dd>.vipkg</dd>
</div>
<div>
<dt>{viget.publisherIdentity}</dt>
<dd>Progmasoft Account</dd>
</div>
<div>
<dt>{viget.publishing}</dt>
<dd>{viget.publishingClosed}</dd>
</div>
</dl>
</aside>
</div>
</section>
<section className="section section-muted">
<div className="shell">
<div className="section-heading">
<div>
<p className="eyebrow">{viget.catalogsEyebrow}</p>
<h2>{viget.catalogsTitle}</h2>
</div>
<p>{viget.catalogsDescription}</p>
</div>
<div className="viget-catalog-grid">
<article className="viget-catalog-card viget-catalog-primary">
<span>01</span>
<p>{viget.visualPackages}</p>
<h3>{viget.vipkgCatalog}</h3>
<code>
viget.progmasoft.com/<Publisher>/<Name>/
</code>
<small>{viget.vipkgDescription}</small>
</article>
<a
className="viget-catalog-card"
href="https://viget.progmasoft.com/dslplugins/"
>
<span>02</span>
<p>{viget.projectExtensions}</p>
<h3>{viget.kotlinPlugins}</h3>
<code>
viget.progmasoft.com/dslplugins/<Publisher>/<Name>/
</code>
<small>{viget.kotlinDescription}</small>
<strong>
{viget.openCatalog} {forwardArrow(locale)}
</strong>
</a>
</div>
</div>
</section>
<section className="section viget-contract">
<div className="shell viget-contract-grid">
<div>
<p className="eyebrow">{viget.contractEyebrow}</p>
<h2>{viget.contractTitle}</h2>
</div>
<ol>
{viget.principles.map(([title, description], index) => (
<li key={title}>
<span>{String(index + 1).padStart(2, "0")}</span>
<div>
<strong>{title}</strong>
<p>{description}</p>
</div>
</li>
))}
</ol>
</div>
</section>
</main>
<ViGetFooter locale={locale} />
</div>
);
}
|