Skip to content

Commit 8c17d0f

Browse files
committed
Update route for wiki.
1 parent 54e0e8e commit 8c17d0f

File tree

4 files changed

+47
-13
lines changed

4 files changed

+47
-13
lines changed

src/lib/layout.shared.tsx

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ const translations = {
5959
},
6060
homepage: {
6161
heroTitle: 'BlankOn Revival Project',
62-
heroTagline:
63-
'Sebuah usaha untuk membangkitkan kembali proyek BlankOn yang sudah lama mati suri dari kedalaman /dev/null',
62+
heroTagline: [
63+
'Sebuah usaha untuk membangkitkan kembali proyek BlankOn yang sudah lama mati suri',
64+
'dari kedalaman /dev/null',
65+
],
6466
downloadIso: 'Unduh ISO',
6567
readDocs: 'Dokumentasi',
6668
aboutTitle: 'Tentang',
@@ -87,14 +89,16 @@ const translations = {
8789
q8: 'Apa tolok ukur keberhasilan kebangkitan ini?',
8890
a8: 'Anda dapat mengunduh dan menginstal image Linux BlankOn baru yang lengkap, dibangun dan dikirim langsung dari IRGSH. Jika Anda dapat mem-boot, menjalankan, dan mengembangkannya, itulah milestone kebangkitan kami.',
8991
q9: 'Apa kemajuan saat ini?',
90-
a9: 'Silakan lihat bagian Log di bawah ini.',
92+
a9: 'Silakan lihat bagian Perkembangan di bawah ini.',
93+
q10: 'Kapan versi stabil akan dirilis?',
94+
a10: 'Sebelum akhir tahun 2026. Mungkin lebih cepat jika Anda membantu kami dengan berkontribusi.',
9195
},
9296
updatesTitle: 'Perkembangan',
9397
updates: [
9498
{
9599
date: '2026-02-07',
96100
text: 'Yayasan BlankOn telah resmi berdiri secara hukum. Dewan pengurus terdiri dari Rusmanto, Akhmat Safrudin, Slamet Santoso, Iwan Setiawan, dan Herpiko Dwi Aguno. Yayasan BlankOn adalah badan hukum terpisah yang dibentuk untuk mendukung ekosistem open-source yang lebih luas, komunitas, dan proyek-proyek di Indonesia. Sementara itu, BlankOn Linux akan tetap berjalan sebagai proyek open-source yang independen, dengan Yayasan memberikan dukungan finansial dan hukum penuh.',
97-
url: 'https://x.com/herpiko/status/2020077066025332817',
101+
url: 'https://blankon.id/en/team',
98102
},
99103
{
100104
date: '2026-01-25',
@@ -195,8 +199,10 @@ const translations = {
195199
},
196200
homepage: {
197201
heroTitle: 'BlankOn Revival Project',
198-
heroTagline:
199-
'An attempt to bring back the long-dormant BlankOn project from the depths of /dev/null',
202+
heroTagline: [
203+
'An attempt to bring back the long-dormant BlankOn project',
204+
'from the depths of /dev/null',
205+
],
200206
downloadIso: 'Download ISO',
201207
readDocs: 'Documentation',
202208
aboutTitle: 'About',
@@ -223,14 +229,16 @@ const translations = {
223229
q8: 'What is the success metric of the revival?',
224230
a8: 'You can download and install a fully-fledged, brand-new BlankOn Linux image, built, baked, and shipped directly from IRGSH. If you can boot it, run it, and hack on it, that is our revival milestone.',
225231
q9: 'What is the current progress?',
226-
a9: 'Please check out the Logs section below.',
232+
a9: 'Please check out the Updates section below.',
233+
q10: 'When will the stable version be released?',
234+
a10: 'Before the end of 2026. Maybe sooner if you help us by contributing.',
227235
},
228236
updatesTitle: 'Updates',
229237
updates: [
230238
{
231239
date: '2026-02-07',
232240
text: 'The BlankOn Foundation has been legally established. The board members are Rusmanto, Akhmat Safrudin, Slamet Santoso, Iwan Setiawan, and Herpiko Dwi Aguno. The BlankOn Foundation is a separate legal entity established to support the broader open-source ecosystem, communities, and projects in Indonesia. Meanwhile, BlankOn Linux will continue as an independent open-source project, with the Foundation providing full financial and legal support.',
233-
url: 'https://x.com/herpiko/status/2020077066025332817',
241+
url: 'https://blankon.id/en/team',
234242
},
235243
{
236244
date: '2026-01-25',
@@ -305,6 +313,7 @@ export function baseOptions(locale: string): BaseLayoutProps {
305313

306314
return {
307315
i18n,
316+
enableSearch: false,
308317
nav: {
309318
title: <Logo />,
310319
url: `/${locale}`,

src/routes/$lang/download.tsx

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ export const Route = createFileRoute('/$lang/download')({ component: Download })
99
const ISO_URL =
1010
'http://jahitan.blankonlinux.id/harian/current/blankon-live-image-amd64.hybrid.iso'
1111
const ISO_FILENAME = 'blankon-live-image-amd64.hybrid.iso'
12+
const SHA256SUM_URL =
13+
'http://jahitan.blankonlinux.id/harian/current/blankon-live-image-amd64.hybrid.iso.sha256sum'
1214

1315
function ScreenshotLightbox() {
1416
const [open, setOpen] = useState(false)
@@ -108,10 +110,21 @@ function Download() {
108110
<dt className="text-fd-muted-foreground">{d.releaseType}</dt>
109111
<dd>{d.releaseTypeValue}</dd>
110112
</div>
111-
<div className="flex justify-between gap-4 px-4 py-2.5">
113+
<div className="flex items-center justify-between gap-4 px-4 py-2.5">
112114
<dt className="shrink-0 text-fd-muted-foreground">{d.checksum}</dt>
113-
<dd className="truncate font-mono text-xs">
114-
{checksum || d.checksumError}
115+
<dd className="flex min-w-0 items-center gap-2">
116+
<span className="truncate font-mono text-xs">
117+
{checksum || d.checksumError}
118+
</span>
119+
<a
120+
href={SHA256SUM_URL}
121+
className="shrink-0 rounded border border-fd-border px-2 py-0.5 text-xs text-fd-muted-foreground transition-colors hover:bg-fd-accent hover:text-fd-accent-foreground"
122+
download
123+
>
124+
<svg xmlns="http://www.w3.org/2000/svg" className="h-3 w-3" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={2}>
125+
<path strokeLinecap="round" strokeLinejoin="round" d="M4 16v2a2 2 0 002 2h12a2 2 0 002-2v-2M7 10l5 5 5-5M12 4v11" />
126+
</svg>
127+
</a>
115128
</dd>
116129
</div>
117130
</dl>

src/routes/$lang/index.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,14 @@ function Home() {
2222
className="mb-8 h-56 w-auto"
2323
/>
2424
<p className="mt-4 max-w-2xl text-lg text-fd-muted-foreground">
25-
{t.homepage.heroTagline}
25+
{Array.isArray(t.homepage.heroTagline)
26+
? t.homepage.heroTagline.map((line, i) => (
27+
<span key={i}>
28+
{line}
29+
{i < t.homepage.heroTagline.length - 1 && <br />}
30+
</span>
31+
))
32+
: t.homepage.heroTagline}
2633
</p>
2734
</section>
2835

@@ -47,6 +54,7 @@ function Home() {
4754
<FAQItem question={t.homepage.faq.q7} answer={t.homepage.faq.a7} />
4855
<FAQItem question={t.homepage.faq.q8} answer={t.homepage.faq.a8} />
4956
<FAQItem question={t.homepage.faq.q9} answer={t.homepage.faq.a9} />
57+
<FAQItem question={t.homepage.faq.q10} answer={t.homepage.faq.a10} />
5058
</div>
5159
</section>
5260

src/routes/__root.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,14 @@ export const Route = createRootRoute({
4444
content: 'width=device-width, initial-scale=1',
4545
},
4646
{
47-
title: 'BlankOn',
47+
title: 'BlankOn Linux',
4848
},
4949
],
5050
links: [
51+
{
52+
rel: 'icon',
53+
href: '/favicon.ico',
54+
},
5155
{
5256
rel: 'stylesheet',
5357
href: appCss,

0 commit comments

Comments
 (0)