Merge branch 'main' into feature/pt-br-locale

This commit is contained in:
Andrei Rosseti
2026-04-22 08:23:18 -03:00
36 changed files with 1322 additions and 4865 deletions

View File

@@ -6,7 +6,7 @@
"useIgnoreFile": false
},
"files": {
"includes": ["**", "!dist"],
"includes": ["**", "!dist", "!.astro"],
"ignoreUnknown": false
},
"formatter": {
@@ -26,7 +26,8 @@
},
"correctness": {
"noUnusedImports": "off"
}
},
"a11y": "off" // TODO: Enable a11y rules for astro
}
},
"html": {

View File

@@ -1,8 +1,9 @@
---
import 'vanilla-cookieconsent/dist/cookieconsent.css'
import { createCookieConsentConfig } from '../CookieConsentConfig'
import { defaultLocale, type Locale } from '../i18n/locales'
const locale = (Astro.currentLocale ?? 'en') as 'en' | 'es' | 'ja'
const locale = (Astro.currentLocale ?? defaultLocale) as Locale
const cookieConsentConfig = createCookieConsentConfig(locale)
---

View File

@@ -3,13 +3,11 @@ import TableOfContents from '@astrojs/starlight/components/TableOfContents.astro
---
{Astro.locals.starlightRoute.toc && (
<>
<div class="right-sidebar-panel sl-hidden lg:sl-block">
<div class="sl-container">
<TableOfContents />
</div>
</div>
</>
)}
<style>

View File

@@ -2,8 +2,9 @@
import { Image } from 'astro:assets'
import { getRelativeLocaleUrl } from 'astro:i18n'
import logo from '../assets/xahau-logo.svg'
import { defaultLocale, type Locale } from '../i18n/locales'
const locale = Astro.currentLocale ?? 'en'
const locale = Astro.currentLocale ?? defaultLocale
const translations = {
en: {
@@ -88,8 +89,7 @@ const translations = {
}
}
type Locale = 'en' | 'es' | 'ja'
const t = translations[locale as Locale] || translations.en
const t = translations[locale as Locale] || translations[defaultLocale]
---
<footer class="bg-white border-t border-[#e4edef]">

View File

@@ -20,6 +20,7 @@ import {
} from '@heroicons/react/20/solid'
import { useState } from 'react'
import logo from '../assets/xahau-logo.svg'
import { defaultLocale } from '../i18n/locales'
import { getAlternateLocaleHref } from '../utils/localizedHref'
const languages = [
@@ -99,7 +100,7 @@ export default function Header(props) {
const [mobileMenuOpen, setMobileMenuOpen] = useState(false)
const pathname = props.url.pathname
const currentLocale = props.locale || 'en'
const currentLocale = props.locale || defaultLocale
const t = nav[currentLocale] || nav.en
function langUrl(code) {
@@ -179,7 +180,7 @@ export default function Header(props) {
const pathSegments = pathname.slice(1).split('/')
const activeSegment =
currentLocale !== 'en' ? pathSegments[1] : pathSegments[0]
currentLocale !== defaultLocale ? pathSegments[1] : pathSegments[0]
/* ── Shared class fragments ─────────────────────────────────────────────── */
const linkBase =

View File

@@ -1,33 +1,34 @@
---
/**
* XahauAbout.astro — Hand-crafted editorial layout (English)
* XahauAbout.astro — Hand-crafted editorial layout (i18n: en / es / ja)
*
* No JSON loops. Three thematic acts: Network · Protocol · Currency.
* Matches XahauFeatures.astro philosophy exactly.
* For ES/JA: see XahauAboutEs.astro / XahauAboutJa.astro
*/
import networkGraphic from '../assets/enterprise/about-network.svg'
import protocolGraphic from '../assets/enterprise/about-protocol.svg'
import xahGraphic from '../assets/enterprise/about-xah.svg'
import { aboutTranslations } from '../i18n/aboutTranslations'
import { defaultLocale, type Locale } from '../i18n/locales'
const videoId = '4pruN6sWJho'
const locale = (Astro.currentLocale ?? defaultLocale) as Locale
const t = aboutTranslations[locale]
---
<section class="xabout" aria-label="About Xahau">
<section class="xabout" aria-label={t.page_title}>
<!-- ══ PAGE HEADER ══════════════════════════════════════════════════════ -->
<header class="xa-head">
<div class="xa-head-title">
<h2>About Xahau</h2>
<p class="xa-sub">
Enterprise L1 blockchain with account-based programmability
</p>
<h2>{t.page_title}</h2>
<p class="xa-sub">{t.page_subtitle}</p>
</div>
<div class="xa-chips">
<span class="xa-chip">Est. October 2023</span>
<span class="xa-chip">200k+ Accounts</span>
<span class="xa-chip">~4s Settlement</span>
<span class="xa-chip">10k tx / ledger</span>
<span class="xa-chip">{t.chip1}</span>
<span class="xa-chip">{t.chip2}</span>
<span class="xa-chip">{t.chip3}</span>
<span class="xa-chip">{t.chip4}</span>
</div>
</header>
@@ -35,43 +36,23 @@ const videoId = '4pruN6sWJho'
ACT I — THE NETWORK
══════════════════════════════════════════════════════════════════════════ -->
<div class="xa-act act-net">
<p class="xa-act-label"><span class="act-pip pip-grn"></span>The Network</p>
<p class="xa-act-label">
<span class="act-pip pip-grn"></span>{t.act1_label}
</p>
<!-- WHAT IS XAHAU ─ statement opener ──────────────────────────────── -->
<div class="xa-statement stmt-net">
<div class="xa-stmt-body">
<span class="xa-lbl lbl-net">Overview</span>
<span class="xa-lbl lbl-net">{t.act1_section_label}</span>
<h3>
What is Xahau?
{t.act1_h3_line1}
<br>
The short explainer
{t.act1_h3_line2}
</h3>
<p>
Xahau is a L1 blockchain with a unique composition of features and a
fresh approach to blockchain programmability, also known as smart
contracts.
</p>
<p>
The long-term proven technology settles transactions in ~4 seconds at
very low costs down to fractions of a USD cent. It is scalable,
currently with up to 10,000 transactions per ledger, and is an
inherently green and energy friendly blockchain.
</p>
<p>
Xahau offers native features for issuing and trading currencies on the
built-in decentralised exchange, native non-fungible tokens, and
endless opportunities for DeFi with custom logic through Xahau smart
contracts, known as Hooks.
</p>
<p>
Hooks lives on accounts, making it a fresh take on how custom logic
can be used to act on account-based events, such as receiving
transactions. Hooks are currently developed in C, but JavaScript
support is already developed and in testing, with other programming
languages in the scope as well. This makes the world of smart
contracts available, without a steep learning curve, to millions of
developers.
</p>
<p>{t.act1_para1}</p>
<p>{t.act1_para2}</p>
<p>{t.act1_para3}</p>
<p>{t.act1_para4}</p>
</div>
<div class="xa-stmt-graphic">
<img
@@ -89,7 +70,7 @@ const videoId = '4pruN6sWJho'
<iframe
src={`https://www.youtube.com/embed/${videoId}?si=IlxKDlD2LFLwS6EK`}
title="Xahau overview"
frameborder="0"
style="border:0"
allow="
accelerometer;
autoplay;
@@ -111,40 +92,21 @@ const videoId = '4pruN6sWJho'
══════════════════════════════════════════════════════════════════════════ -->
<div class="xa-act act-proto">
<p class="xa-act-label">
<span class="act-pip pip-teal"></span>The Protocol
<span class="act-pip pip-teal"></span>{t.act2_label}
</p>
<!-- TECHNOLOGY ─ statement opener ────────────────────────────────── -->
<div class="xa-statement stmt-proto">
<div class="xa-stmt-body">
<span class="xa-lbl lbl-proto">Technology</span>
<span class="xa-lbl lbl-proto">{t.act2_section_label}</span>
<h3>
What is the technology
{t.act2_h3_line1}
<br>
behind Xahau?
{t.act2_h3_line2}
</h3>
<p>
Xahau is proven technology, as it is an evolved iteration of the XRP
Ledger code, enhanced with smart contract, account-based
programmability (Hooks), and equal support for issued currencies in
native features such as escrows and payment channels.
</p>
<p>
Xahau, like the XRPL, uses a Federated Consensus mechanism as its
method of validating transactions. Transactions are confirmed through
a consensus protocol, in which designated independent servers called
validators come to an agreement on the order and outcome of
transactions. All servers in the network process each transaction
according to the same rules, and any transaction that follows the
protocol is confirmed right away. All transactions are public and
transparent, and anyone can operate a validator.
</p>
<p>
Xahau introduces a governance game to ensure a community-centric
approach towards decision-making of the network. To play the game, the
members of the tables cast votes. The topics discussed on this 2
layers table system include seats, hooks and rewards topics.
</p>
<p>{t.act2_para1}</p>
<p>{t.act2_para2}</p>
<p>{t.act2_para3}</p>
</div>
<div class="xa-stmt-graphic">
<img
@@ -162,37 +124,21 @@ const videoId = '4pruN6sWJho'
══════════════════════════════════════════════════════════════════════════ -->
<div class="xa-act act-curr">
<p class="xa-act-label">
<span class="act-pip pip-vlt"></span>The Currency
<span class="act-pip pip-vlt"></span>{t.act3_label}
</p>
<!-- XAH ─ statement opener ────────────────────────────────────────── -->
<div class="xa-statement stmt-curr">
<div class="xa-stmt-body">
<span class="xa-lbl lbl-curr">Economics</span>
<span class="xa-lbl lbl-curr">{t.act3_section_label}</span>
<h3>
XAH, the native
{t.act3_h3_line1}
<br>
currency of Xahau
{t.act3_h3_line2}
</h3>
<p>
The native currency on Xahau is called XAH and is an inflationary
currency. Every account can participate in balance adjustment by
interacting with a Hook on the genesis account, monthly accruing 4% of
the account balance.
</p>
<p>
XAH is used to prevent network spam, by adding a cost of transacting.
Normal transactions cost fractions of a XAH, while the price of
transacting increases if interacting with Hooks. XAH is also required
as a locked balance, or reserve, to own an account, own objects, or
storing data for smart contract consumption.
</p>
<p>
Because of Hooks, the burn-rate of XAH is higher compared to that of
XRPL. For projects that rely on Hooks for custom logic, it is
recommended that they keep a balance of XAH that can generate a
monthly balance adjustment to pay for fees.
</p>
<p>{t.act3_para1}</p>
<p>{t.act3_para2}</p>
<p>{t.act3_para3}</p>
</div>
<div class="xa-stmt-graphic">
<img
@@ -207,9 +153,11 @@ const videoId = '4pruN6sWJho'
</section>
<style>
/* ══════════════════════════════════════════════════════════════════════════
Design tokens — mirrors XahauFeatures exactly
══════════════════════════════════════════════════════════════════════════ */
/**
* ══════════════════════════════════════════════════════════════════════════
* Design tokens
* ══════════════════════════════════════════════════════════════════════════
*/
.xabout {
--ink: #0f2328;
--dim: #2d3e44;
@@ -234,9 +182,11 @@ const videoId = '4pruN6sWJho'
box-sizing: border-box;
}
/* ══════════════════════════════════════════════════════════════════════════
Page header
══════════════════════════════════════════════════════════════════════════ */
/**
* ══════════════════════════════════════════════════════════════════════════
* Page header
* ══════════════════════════════════════════════════════════════════════════
*/
.xa-head {
display: flex;
justify-content: space-between;
@@ -276,9 +226,11 @@ const videoId = '4pruN6sWJho'
letter-spacing: 0.03em;
}
/* ══════════════════════════════════════════════════════════════════════════
Acts
══════════════════════════════════════════════════════════════════════════ */
/**
* ══════════════════════════════════════════════════════════════════════════
* Acts
* ══════════════════════════════════════════════════════════════════════════
*/
.xa-act {
padding-top: 52px;
}
@@ -312,9 +264,11 @@ const videoId = '4pruN6sWJho'
background: var(--vlt2);
}
/* ══════════════════════════════════════════════════════════════════════════
Labels
══════════════════════════════════════════════════════════════════════════ */
/**
* ══════════════════════════════════════════════════════════════════════════
* Labels
* ══════════════════════════════════════════════════════════════════════════
*/
.xa-lbl {
display: inline-block;
font-family: ui-monospace, monospace;
@@ -339,9 +293,11 @@ const videoId = '4pruN6sWJho'
background: rgba(78, 24, 184, 0.1);
}
/* ══════════════════════════════════════════════════════════════════════════
Statement sections
══════════════════════════════════════════════════════════════════════════ */
/**
* ══════════════════════════════════════════════════════════════════════════
* Statement sections
* ══════════════════════════════════════════════════════════════════════════
*/
.xa-statement {
display: flex;
align-items: center;
@@ -405,9 +361,11 @@ const videoId = '4pruN6sWJho'
margin-bottom: 0;
}
/* ══════════════════════════════════════════════════════════════════════════
Video section
══════════════════════════════════════════════════════════════════════════ */
/**
* ══════════════════════════════════════════════════════════════════════════
* Video section
* ══════════════════════════════════════════════════════════════════════════
*/
.xa-video-section {
padding: 20px 28px 52px;
}
@@ -433,9 +391,12 @@ const videoId = '4pruN6sWJho'
display: block;
}
/* ══════════════════════════════════════════════════════════════════════════
Responsive
══════════════════════════════════════════════════════════════════════════ */
/**
* ══════════════════════════════════════════════════════════════════════════
* Responsive
* ══════════════════════════════════════════════════════════════════════════
*/
@media (max-width: 900px) {
.xa-statement {
flex-direction: column;

View File

@@ -1,457 +0,0 @@
---
/**
* XahauAboutEs.astro — Versión en español, layout editorial
*
* Sin JSON, sin bucles para la prosa. Tres actos temáticos.
* Misma filosofía que XahauFeaturesEs.astro
*/
import networkGraphic from '../assets/enterprise/about-network.svg'
import protocolGraphic from '../assets/enterprise/about-protocol.svg'
import xahGraphic from '../assets/enterprise/about-xah.svg'
const videoId = '4pruN6sWJho'
---
<section class="xabout" aria-label="Sobre Xahau">
<!-- ══ ENCABEZADO ═══════════════════════════════════════════════════════ -->
<header class="xa-head">
<div class="xa-head-title">
<h2>Sobre Xahau</h2>
<p class="xa-sub">
Blockchain L1 empresarial con programabilidad basada en cuentas
</p>
</div>
<div class="xa-chips">
<span class="xa-chip">Est. octubre 2023</span>
<span class="xa-chip">200k+ cuentas</span>
<span class="xa-chip">~4s de liquidación</span>
<span class="xa-chip">10k tx / ledger</span>
</div>
</header>
<!-- ══════════════════════════════════════════════════════════════════════
ACTO I — LA RED
══════════════════════════════════════════════════════════════════════════ -->
<div class="xa-act act-net">
<p class="xa-act-label"><span class="act-pip pip-grn"></span>La Red</p>
<div class="xa-statement stmt-net">
<div class="xa-stmt-body">
<span class="xa-lbl lbl-net">Descripción general</span>
<h3>
¿Qué es Xahau?
<br>
La explicación breve
</h3>
<p>
Xahau es una blockchain L1 construida para la programabilidad seria —
combinando tecnología de ledger contrastada con un enfoque poderoso y
distintivo hacia los contratos inteligentes, conocidos como Hooks.
</p>
<p>
La tecnología liquida transacciones en aproximadamente 4 segundos a
costes de apenas fracciones de un centavo de USD. Con capacidad para
procesar hasta 10.000 transacciones por ledger, la red es
inherentemente verde y eficiente energéticamente por diseño.
</p>
<p>
Xahau ofrece características nativas para emitir y negociar monedas en
el exchange descentralizado integrado, tokens no fungibles nativos,
transacciones atómicas multi-activo mediante el transactor Remit, y
oportunidades ilimitadas para DeFi a través de Hooks — el sistema de
contratos inteligentes basado en cuentas de Xahau.
</p>
<p>
Los Hooks residen directamente en las cuentas, respondiendo a eventos
de transacción como pagos recibidos, enviados o enrutados.
Desarrollados originalmente en C, los Hooks ahora soportan cualquier
lenguaje compilable con WebAssembly. El soporte para Hooks en
JavaScript (JSHooks) avanza a través de auditorías de seguridad,
acercando las finanzas programables a decenas de millones de
desarrolladores en todo el mundo.
</p>
</div>
<div class="xa-stmt-graphic">
<img
src={networkGraphic.src}
width="380"
height="380"
alt="Xahau network topology illustration"
>
</div>
</div>
<div class="xa-video-section">
<div class="xa-video-wrap">
<iframe
src={`https://www.youtube.com/embed/${videoId}?si=IlxKDlD2LFLwS6EK`}
title="Descripción general de Xahau"
frameborder="0"
allow="
accelerometer;
autoplay;
clipboard-write;
encrypted-media;
gyroscope;
picture-in-picture;
web-share;
"
referrerpolicy="strict-origin-when-cross-origin"
allowfullscreen
></iframe>
</div>
</div>
</div><!-- /act-net -->
<!-- ══════════════════════════════════════════════════════════════════════
ACTO II — EL PROTOCOLO
══════════════════════════════════════════════════════════════════════════ -->
<div class="xa-act act-proto">
<p class="xa-act-label">
<span class="act-pip pip-teal"></span>El Protocolo
</p>
<div class="xa-statement stmt-proto">
<div class="xa-stmt-body">
<span class="xa-lbl lbl-proto">Tecnología</span>
<h3>
¿Cuál es la tecnología
<br>
detrás de Xahau?
</h3>
<p>
Xahau es tecnología probada y lista para producción — una iteración
evolucionada del código del XRP Ledger, mejorada con programabilidad
de contratos inteligentes basada en cuentas (Hooks), soporte nativo
igualitario para monedas emitidas en características como garantías y
canales de pago, y una capa de transacciones atómicas que permite
ejecutar operaciones complejas y de múltiples pasos como una unidad
indivisible.
</p>
<p>
Xahau utiliza un mecanismo de Consenso Federado para validar
transacciones. Servidores independientes llamados validadores alcanzan
un acuerdo sobre el orden y resultado de cada transacción. Todos los
servidores procesan cada transacción según las mismas reglas, y
cualquier transacción válida se confirma en segundos. Toda la
actividad es pública y transparente, y cualquiera puede operar un
validador.
</p>
<p>
La gobernanza de la red está guiada por un juego de gobernanza
estructurado que garantiza una toma de decisiones impulsada por la
comunidad. Los participantes en un sistema de mesas de dos niveles
emiten votos sobre asientos de red, enmiendas de Hooks y parámetros de
recompensas — otorgando al ecosistema una influencia genuina y
continua sobre la dirección de la red.
</p>
</div>
<div class="xa-stmt-graphic">
<img
src={protocolGraphic.src}
width="380"
height="380"
alt="Xahau protocol architecture illustration"
>
</div>
</div>
</div><!-- /act-proto -->
<!-- ══════════════════════════════════════════════════════════════════════
ACTO III — LA MONEDA
══════════════════════════════════════════════════════════════════════════ -->
<div class="xa-act act-curr">
<p class="xa-act-label"><span class="act-pip pip-vlt"></span>La Moneda</p>
<div class="xa-statement stmt-curr">
<div class="xa-stmt-body">
<span class="xa-lbl lbl-curr">Economía</span>
<h3>
XAH, la moneda nativa
<br>
de Xahau
</h3>
<p>
La moneda nativa de Xahau es XAH — un activo inflacionario diseñado
para recompensar la participación activa. Cada cuenta puede reclamar
un ajuste de saldo mensual interactuando con un Hook en la cuenta
génesis, acumulando un 4% del saldo de la cuenta cada mes.
</p>
<p>
XAH actúa como mecanismo anti-spam de la red, añadiendo un coste a
cada transacción. Las transacciones estándar cuestan fracciones de un
solo XAH; las operaciones potenciadas por Hooks tienen comisiones
proporcionalmente más altas, reflejando su peso computacional en la
cadena. XAH también se requiere como reserva bloqueada para mantener
cuentas, poseer objetos y almacenar datos utilizados por contratos
inteligentes.
</p>
<p>
XAH está disponible en exchanges principales como Bitrue, BitMart y
CoinEx, y cuenta con soporte en carteras hardware Ledger — haciéndolo
cada vez más accesible para usuarios de todo el mundo. Los proyectos
que dependen de Hooks para lógica personalizada deben mantener un
saldo de XAH suficiente para generar ajustes mensuales que cubran las
comisiones continuas.
</p>
</div>
<div class="xa-stmt-graphic">
<img
src={xahGraphic.src}
width="380"
height="380"
alt="XAH currency illustration"
>
</div>
</div>
</div><!-- /act-curr -->
</section>
<style>
.xabout {
--ink: #0f2328;
--dim: #2d3e44;
--mute: #556068;
--grn2: #007a28;
--teal2: #006f87;
--vlt2: #4e18b8;
--grn-hi: #00c940;
--teal-hi: #00c4e8;
--vlt-hi: #a050ff;
background: #ffffff;
border-radius: 24px;
padding: 48px 56px 72px;
font-family: 'Onest', system-ui, sans-serif;
color: var(--ink);
box-shadow:
0 2px 4px rgba(0, 0, 0, 0.04),
0 20px 64px -24px rgba(15, 35, 40, 0.13);
}
.xabout * {
box-sizing: border-box;
}
.xa-head {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 24px;
flex-wrap: wrap;
padding-bottom: 40px;
}
.xabout h2 {
margin: 0;
font-size: 36px;
font-weight: 800;
letter-spacing: -0.03em;
line-height: 1.08;
color: var(--ink);
}
.xa-sub {
margin: 6px 0 0;
font-size: 15px;
color: var(--mute);
}
.xa-chips {
display: flex;
gap: 8px;
flex-wrap: wrap;
align-items: flex-start;
padding-top: 4px;
}
.xa-chip {
font-family: ui-monospace, monospace;
font-size: 11px;
padding: 5px 13px;
border: 1px solid #cdd7dc;
border-radius: 999px;
color: var(--mute);
white-space: nowrap;
letter-spacing: 0.03em;
}
.xa-act {
padding-top: 52px;
}
.xa-act-label {
display: flex;
align-items: center;
gap: 10px;
font-family: ui-monospace, monospace;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--mute);
margin: 0 0 44px;
}
.act-pip {
display: block;
width: 6px;
height: 6px;
border-radius: 50%;
flex-shrink: 0;
}
.pip-grn {
background: var(--grn2);
}
.pip-teal {
background: var(--teal2);
}
.pip-vlt {
background: var(--vlt2);
}
.xa-lbl {
display: inline-block;
font-family: ui-monospace, monospace;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.18em;
text-transform: uppercase;
padding: 3px 9px;
border-radius: 4px;
margin-bottom: 14px;
}
.lbl-net {
color: var(--grn2);
background: rgba(0, 122, 40, 0.1);
}
.lbl-proto {
color: var(--teal2);
background: rgba(0, 111, 135, 0.1);
}
.lbl-curr {
color: var(--vlt2);
background: rgba(78, 24, 184, 0.1);
}
.xa-statement {
display: flex;
align-items: center;
}
.xa-stmt-body {
flex: 0 0 57%;
max-width: 57%;
padding: 64px 0 64px 28px;
}
.xa-stmt-graphic {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 32px 8px 32px 16px;
opacity: 0.95;
}
.xa-stmt-graphic img {
width: 100%;
max-width: 340px;
height: auto;
display: block;
}
.xa-statement h3 {
margin: 0 0 22px;
font-size: 40px;
font-weight: 800;
line-height: 1.12;
letter-spacing: -0.03em;
color: var(--ink);
}
.stmt-net h3 {
background: linear-gradient(140deg, #004d1a 15%, var(--grn-hi) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.stmt-proto h3 {
background: linear-gradient(140deg, #003d50 15%, var(--teal-hi) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.stmt-curr h3 {
background: linear-gradient(140deg, #2a0875 15%, var(--vlt-hi) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.xa-statement p {
font-size: 15.5px;
line-height: 1.72;
color: var(--dim);
margin: 0 0 16px;
}
.xa-statement p:last-child {
margin-bottom: 0;
}
.xa-video-section {
padding: 20px 28px 52px;
}
.xa-video-wrap {
position: relative;
width: 100%;
max-width: 780px;
margin: 0 auto;
aspect-ratio: 16 / 9;
border-radius: 16px;
overflow: hidden;
background: #000;
box-shadow:
0 4px 12px rgba(0, 0, 0, 0.08),
0 24px 56px -16px rgba(0, 120, 40, 0.18);
}
.xa-video-wrap iframe {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
border: none;
display: block;
}
@media (max-width: 900px) {
.xa-statement {
flex-direction: column;
align-items: flex-start;
}
.xa-stmt-body {
flex: none;
max-width: 100%;
}
.xa-stmt-graphic {
width: 100%;
padding: 0 0 32px;
opacity: 0.85;
}
.xa-stmt-graphic img {
max-width: 240px;
margin: 0 auto;
}
}
@media (max-width: 640px) {
.xabout {
padding: 32px 24px 48px;
border-radius: 16px;
}
.xabout h2 {
font-size: 28px;
}
.xa-statement h3 {
font-size: 26px;
}
.xa-head {
flex-direction: column;
gap: 14px;
}
.xa-stmt-body {
padding: 44px 0 44px 22px;
}
.xa-video-section {
padding: 12px 22px 40px;
}
}
</style>

View File

@@ -1,411 +0,0 @@
---
/**
* XahauAboutJa.astro — 日本語版 手作りエディトリアルレイアウト
*
* JSONなし、ループなし。三つのテーマ別アクト。
* XahauFeaturesJa.astro と同じ哲学。
*/
import networkGraphic from '../assets/enterprise/about-network.svg'
import protocolGraphic from '../assets/enterprise/about-protocol.svg'
import xahGraphic from '../assets/enterprise/about-xah.svg'
const videoId = '4pruN6sWJho'
---
<section class="xabout" aria-label="Xahauについて">
<!-- ══ ページヘッダー ════════════════════════════════════════════════════ -->
<header class="xa-head">
<div class="xa-head-title">
<h2>Xahauについて</h2>
<p class="xa-sub">
アカウントベースプログラマビリティを持つエンタープライズL1ブロックチェーン
</p>
</div>
<div class="xa-chips">
<span class="xa-chip">2023年10月設立</span>
<span class="xa-chip">20万以上のアカウント</span>
<span class="xa-chip">~4秒で決済</span>
<span class="xa-chip">10k tx / レジャー</span>
</div>
</header>
<!-- ══════════════════════════════════════════════════════════════════════
アクト I — ネットワーク
══════════════════════════════════════════════════════════════════════════ -->
<div class="xa-act act-net">
<p class="xa-act-label">
<span class="act-pip pip-grn"></span>ネットワーク
</p>
<div class="xa-statement stmt-net">
<div class="xa-stmt-body">
<span class="xa-lbl lbl-net">概要</span>
<h3>
Xahauとは何ですか
<br>
簡単な説明
</h3>
<p>
Xahauは、本格的なプログラマビリティのために構築されたL1ブロックチェーンです。実績ある台帳技術と、Hooksと呼ばれるスマートコントラクトへの強力かつ独自のアプローチを組み合わせています。
</p>
<p>
この技術は約4秒でトランザクションを決済し、コストは1米ドルセントの端数程度の低水準です。1レジャーあたり最大10,000トランザクションを処理でき、設計上、本質的にグリーンでエネルギー効率の高いブロックチェーンです。
</p>
<p>
Xahauは、組み込みの分散型取引所での通貨の発行・取引、ネイティブな非代替トークン、Remitトランザクターによるアトミックなマルチアセットトランザクション、そしてXahauのアカウントベースのスマートコントラクトシステムであるHooksによる無限のDeFiの可能性といったネイティブ機能を提供します。
</p>
<p>
HooksはアカウントにHooksが直接存在し、支払いの受信・送信・ルーティングといったトランザクションイベントに応答します。当初はCで開発されていましたが、現在はWebAssemblyに対応するあらゆる言語をサポートしています。JavaScriptによるHooksサポートJSHooksはセキュリティ監査を通じて前進しており、世界中の数千万人の開発者がプログラマブルファイナンスに手が届くようになっています。
</p>
</div>
<div class="xa-stmt-graphic">
<img
src={networkGraphic.src}
width="380"
height="380"
alt="Xahau network topology illustration"
>
</div>
</div>
<div class="xa-video-section">
<div class="xa-video-wrap">
<iframe
src={`https://www.youtube.com/embed/${videoId}?si=IlxKDlD2LFLwS6EK`}
title="Xahau の概要"
frameborder="0"
allow="
accelerometer;
autoplay;
clipboard-write;
encrypted-media;
gyroscope;
picture-in-picture;
web-share;
"
referrerpolicy="strict-origin-when-cross-origin"
allowfullscreen
></iframe>
</div>
</div>
</div><!-- /act-net -->
<!-- ══════════════════════════════════════════════════════════════════════
アクト II — プロトコル
══════════════════════════════════════════════════════════════════════════ -->
<div class="xa-act act-proto">
<p class="xa-act-label"><span class="act-pip pip-teal"></span>プロトコル</p>
<div class="xa-statement stmt-proto">
<div class="xa-stmt-body">
<span class="xa-lbl lbl-proto">技術</span>
<h3>
Xahauの背後にある
<br>
技術は何ですか?
</h3>
<p>
Xahauは実証済みの本番環境対応技術です。アカウントベースのスマートコントラクトプログラマビリティHooks、エスクローや支払いチャンネルなどのネイティブ機能での発行通貨への平等なサポート、そして複雑な複数ステップの操作を単一の分割不可能なユニットとして実行できるアトミックトランザクション層を加えて強化された、XRPレジャーコードベースの進化した反復です。
</p>
<p>
Xahauは、トランザクションを検証する方法として連合コンセンサスメカニズムを使用します。バリデーターと呼ばれる独立したサーバーが、各トランザクションの順序と結果について合意に達します。すべてのサーバーは同じルールに従って各トランザクションを処理し、有効なトランザクションは数秒以内に確認されます。すべての活動は公開かつ透明であり、誰でもバリデーターを運営できます。
</p>
<p>
ネットワークのガバナンスは、コミュニティ主導の意思決定を確保する構造化されたガバナンスゲームによって導かれています。二層テーブルシステムの参加者が、ネットワークのシート、Hookの修正、報酬パラメータについて投票を行い、エコシステムがネットワークの方向性に対して真の継続的な影響力を持ちます。
</p>
</div>
<div class="xa-stmt-graphic">
<img
src={protocolGraphic.src}
width="380"
height="380"
alt="Xahau protocol architecture illustration"
>
</div>
</div>
</div><!-- /act-proto -->
<!-- ══════════════════════════════════════════════════════════════════════
アクト III — 通貨
══════════════════════════════════════════════════════════════════════════ -->
<div class="xa-act act-curr">
<p class="xa-act-label"><span class="act-pip pip-vlt"></span>通貨</p>
<div class="xa-statement stmt-curr">
<div class="xa-stmt-body">
<span class="xa-lbl lbl-curr">エコノミクス</span>
<h3>
XAHXahauの
<br>
ネイティブ通貨
</h3>
<p>
Xahauのネイティブ通貨はXAHです。積極的な参加を報酬として返すように設計されたインフレ資産です。すべてのアカウントは、ジェネシスアカウントのHookと対話することで月次残高調整を請求でき、毎月アカウント残高の4%を積み立てます。
</p>
<p>
XAHはネットワークのアンチスパムメカニズムとして機能し、すべてのトランザクションにコストを付加します。標準的なトランザクションは1XAHの端数程度のコストですが、Hooksを活用した操作はオンチェーンの計算負荷を反映してそれに比例した高い手数料が発生します。XAHはまた、アカウントの維持、オブジェクトの保有、スマートコントラクトが使用するデータの保存のために、ロックされた準備金としても必要です。
</p>
<p>
XAHはBitrue、BitMart、CoinExなどの主要取引所で利用可能で、Ledgerハードウェアウォレットもサポートされており、世界中のユーザーにとってますますアクセスしやすくなっています。カスタムロジックのためにHooksに依存するプロジェクトは、継続的な手数料をカバーするための月次調整を生成するのに十分なXAH残高を維持することをお勧めします。
</p>
</div>
<div class="xa-stmt-graphic">
<img
src={xahGraphic.src}
width="380"
height="380"
alt="XAH currency illustration"
>
</div>
</div>
</div><!-- /act-curr -->
</section>
<style>
.xabout {
--ink: #0f2328;
--dim: #2d3e44;
--mute: #556068;
--grn2: #007a28;
--teal2: #006f87;
--vlt2: #4e18b8;
--grn-hi: #00c940;
--teal-hi: #00c4e8;
--vlt-hi: #a050ff;
background: #ffffff;
border-radius: 24px;
padding: 48px 56px 72px;
font-family: 'Onest', system-ui, sans-serif;
color: var(--ink);
box-shadow:
0 2px 4px rgba(0, 0, 0, 0.04),
0 20px 64px -24px rgba(15, 35, 40, 0.13);
}
.xabout * {
box-sizing: border-box;
}
.xa-head {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 24px;
flex-wrap: wrap;
padding-bottom: 40px;
}
.xabout h2 {
margin: 0;
font-size: 36px;
font-weight: 800;
letter-spacing: -0.03em;
line-height: 1.08;
color: var(--ink);
}
.xa-sub {
margin: 6px 0 0;
font-size: 15px;
color: var(--mute);
}
.xa-chips {
display: flex;
gap: 8px;
flex-wrap: wrap;
align-items: flex-start;
padding-top: 4px;
}
.xa-chip {
font-family: ui-monospace, monospace;
font-size: 11px;
padding: 5px 13px;
border: 1px solid #cdd7dc;
border-radius: 999px;
color: var(--mute);
white-space: nowrap;
letter-spacing: 0.03em;
}
.xa-act {
padding-top: 52px;
}
.xa-act-label {
display: flex;
align-items: center;
gap: 10px;
font-family: ui-monospace, monospace;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--mute);
margin: 0 0 44px;
}
.act-pip {
display: block;
width: 6px;
height: 6px;
border-radius: 50%;
flex-shrink: 0;
}
.pip-grn {
background: var(--grn2);
}
.pip-teal {
background: var(--teal2);
}
.pip-vlt {
background: var(--vlt2);
}
.xa-lbl {
display: inline-block;
font-family: ui-monospace, monospace;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.18em;
text-transform: uppercase;
padding: 3px 9px;
border-radius: 4px;
margin-bottom: 14px;
}
.lbl-net {
color: var(--grn2);
background: rgba(0, 122, 40, 0.1);
}
.lbl-proto {
color: var(--teal2);
background: rgba(0, 111, 135, 0.1);
}
.lbl-curr {
color: var(--vlt2);
background: rgba(78, 24, 184, 0.1);
}
.xa-statement {
display: flex;
align-items: center;
}
.xa-stmt-body {
flex: 0 0 57%;
max-width: 57%;
padding: 64px 0 64px 28px;
}
.xa-stmt-graphic {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 32px 8px 32px 16px;
opacity: 0.95;
}
.xa-stmt-graphic img {
width: 100%;
max-width: 340px;
height: auto;
display: block;
}
.xa-statement h3 {
margin: 0 0 22px;
font-size: 40px;
font-weight: 800;
line-height: 1.18;
letter-spacing: -0.02em;
color: var(--ink);
}
.stmt-net h3 {
background: linear-gradient(140deg, #004d1a 15%, var(--grn-hi) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.stmt-proto h3 {
background: linear-gradient(140deg, #003d50 15%, var(--teal-hi) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.stmt-curr h3 {
background: linear-gradient(140deg, #2a0875 15%, var(--vlt-hi) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.xa-statement p {
font-size: 15.5px;
line-height: 1.72;
color: var(--dim);
margin: 0 0 16px;
}
.xa-statement p:last-child {
margin-bottom: 0;
}
.xa-video-section {
padding: 20px 28px 52px;
}
.xa-video-wrap {
position: relative;
width: 100%;
max-width: 780px;
margin: 0 auto;
aspect-ratio: 16 / 9;
border-radius: 16px;
overflow: hidden;
background: #000;
box-shadow:
0 4px 12px rgba(0, 0, 0, 0.08),
0 24px 56px -16px rgba(0, 120, 40, 0.18);
}
.xa-video-wrap iframe {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
border: none;
display: block;
}
@media (max-width: 900px) {
.xa-statement {
flex-direction: column;
align-items: flex-start;
}
.xa-stmt-body {
flex: none;
max-width: 100%;
}
.xa-stmt-graphic {
width: 100%;
padding: 0 0 32px;
opacity: 0.85;
}
.xa-stmt-graphic img {
max-width: 240px;
margin: 0 auto;
}
}
@media (max-width: 640px) {
.xabout {
padding: 32px 24px 48px;
border-radius: 16px;
}
.xabout h2 {
font-size: 28px;
}
.xa-statement h3 {
font-size: 26px;
}
.xa-head {
flex-direction: column;
gap: 14px;
}
.xa-stmt-body {
padding: 44px 0 44px 22px;
}
.xa-video-section {
padding: 12px 22px 40px;
}
}
</style>

View File

@@ -12,9 +12,9 @@
*/
import connectData from '../data/connect.json'
import { defaultLocale, type Locale } from '../i18n/locales'
type Locale = 'en' | 'es' | 'ja' | 'pt-BR'
const locale = (Astro.currentLocale ?? 'en') as Locale
const locale = (Astro.currentLocale ?? defaultLocale) as Locale
// ── Date-based split (build time) ────────────────────────────────────────────
const today = new Date()

View File

@@ -1,12 +1,9 @@
---
/**
* XahauContest.astro — Editorial layout for the Xahau Dev Contest page (English)
*
* Follows the same white-card editorial style as XahauAbout / XahauFeatures / XahauHome.
* Four acts: Introduction · Panel & Theme · Rules & Evaluation · Support & Legal
*
* For ES/JA: see XahauContestEs.astro / XahauContestJa.astro
*/
import { contestTranslations } from '../i18n/contestTranslations'
import { defaultLocale, type Locale } from '../i18n/locales'
const locale = (Astro.currentLocale ?? defaultLocale) as Locale
const t = contestTranslations[locale]
---
<section class="xcontest" aria-label="Xahau Dev Contest">
@@ -14,15 +11,13 @@
<header class="xc-head">
<div class="xc-head-title">
<h2>Xahau Dev Contest</h2>
<p class="xc-sub">
Ecosystem Rising — Build user-facing services powered by Xahau
</p>
<p class="xc-sub">{t.page_subtitle}</p>
</div>
<div class="xc-chips">
<span class="xc-chip">2nd Edition</span>
<span class="xc-chip">Xahau Mainnet</span>
<span class="xc-chip">3 Main Prizes</span>
<span class="xc-chip">XAH Rewards</span>
<span class="xc-chip">{t.chip1}</span>
<span class="xc-chip">{t.chip2}</span>
<span class="xc-chip">{t.chip3}</span>
<span class="xc-chip">{t.chip4}</span>
</div>
</header>
@@ -31,67 +26,58 @@
══════════════════════════════════════════════════════════════════════════ -->
<div class="xc-act act-intro">
<p class="xc-act-label">
<span class="act-pip pip-grn"></span>Introduction
<span class="act-pip pip-grn"></span>{t.act1_label}
</p>
<div class="xc-intro-grid">
<!-- Welcome blurb -->
<div class="xc-intro-body">
<span class="xc-lbl lbl-grn">About</span>
<h3>Welcome to Ecosystem Rising</h3>
<p>
This contest invites innovators to build
<strong>user-facing services powered by Xahau</strong>
and compete for prizes while strengthening the Xahau ecosystem.
</p>
<p>
Whether you're a solo developer or a team, you can submit as many
projects as you like — each eligible for different prizes.
</p>
<span class="xc-lbl lbl-grn">{t.act1_about_lbl}</span>
<h3>{t.act1_about_h3}</h3>
<p set:html={t.act1_about_p1} />
<p>{t.act1_about_p2}</p>
</div>
<!-- Prizes -->
<div class="xc-prizes">
<span class="xc-lbl lbl-grn">Prizes</span>
<h3>Main Prizes in XAH</h3>
<span class="xc-lbl lbl-grn">{t.act1_prizes_lbl}</span>
<h3>{t.act1_prizes_h3}</h3>
<div class="xc-prize-list">
<div class="xc-prize prize-gold">
<span class="prize-medal">🥇</span>
<div>
<span class="prize-place">1st Prize</span>
<span class="prize-value">4,000 USD value in XAH</span>
<span class="prize-place">{t.prize1_place}</span>
<span class="prize-value">{t.prize1_value}</span>
</div>
</div>
<div class="xc-prize prize-silver">
<span class="prize-medal">🥈</span>
<div>
<span class="prize-place">2nd Prize</span>
<span class="prize-value">2,000 USD value in XAH</span>
<span class="prize-place">{t.prize2_place}</span>
<span class="prize-value">{t.prize2_value}</span>
</div>
</div>
<div class="xc-prize prize-bronze">
<span class="prize-medal">🥉</span>
<div>
<span class="prize-place">3rd Prize</span>
<span class="prize-value">1,000 USD value in XAH</span>
<span class="prize-place">{t.prize3_place}</span>
<span class="prize-value">{t.prize3_value}</span>
</div>
</div>
</div>
<div class="xc-timeline">
<span class="xc-lbl lbl-grn">Timeline</span>
<span class="xc-lbl lbl-grn">{t.timeline_lbl}</span>
<div class="timeline-row">
<span class="timeline-dot"></span>
<span
><strong>Submission deadline:</strong>
February 1st, 2026</span
><strong>{t.timeline1_label}</strong> {t.timeline1_value}</span
>
</div>
<div class="timeline-row">
<span class="timeline-dot"></span>
<span
><strong>Judging panel:</strong>
5 members from the Xahau and XRPL community</span
><strong>{t.timeline2_label}</strong> {t.timeline2_value}</span
>
</div>
</div>
@@ -104,14 +90,14 @@
══════════════════════════════════════════════════════════════════════════ -->
<div class="xc-act act-panel">
<p class="xc-act-label">
<span class="act-pip pip-teal"></span>Panel &amp; Theme
<span class="act-pip pip-teal"></span>{t.act2_label}
</p>
<div class="xc-panel-grid">
<!-- Judges -->
<!-- Judges (hardcoded — same across all locales, only role label differs) -->
<div class="xc-judges">
<span class="xc-lbl lbl-teal">Judges Panel</span>
<h3>Five Community Members</h3>
<span class="xc-lbl lbl-teal">{t.act2_judges_lbl}</span>
<h3>{t.act2_judges_h3}</h3>
<div class="xc-judge-list">
<div class="xc-judge">
<span class="judge-handle">tequ</span>
@@ -175,34 +161,29 @@
<!-- Theme / Examples -->
<div class="xc-theme">
<span class="xc-lbl lbl-teal">Theme</span>
<h3>Services on Xahau</h3>
<p>
Participants must build
<strong>web-based services that interact with Xahau Mainnet</strong>
and are designed for the <strong>end user</strong> — whether casual
users, power users, public sector, or private sector audiences.
</p>
<span class="xc-lbl lbl-teal">{t.act2_theme_lbl}</span>
<h3>{t.act2_theme_h3}</h3>
<p set:html={t.act2_theme_p} />
<div class="xc-examples">
<div class="xc-example-group">
<span class="example-heading">Everyday user tools</span>
<span>Personal finance dashboards</span>
<span>Wallet managers</span>
<span>Community apps</span>
<span class="example-heading">{t.example1_heading}</span>
<span>{t.example1_item1}</span>
<span>{t.example1_item2}</span>
<span>{t.example1_item3}</span>
</div>
<div class="xc-example-group">
<span class="example-heading">Business services</span>
<span>Payment portals</span>
<span>Loyalty platforms</span>
<span>Client service tools</span>
<span class="example-heading">{t.example2_heading}</span>
<span>{t.example2_item1}</span>
<span>{t.example2_item2}</span>
<span>{t.example2_item3}</span>
</div>
<div class="xc-example-group">
<span class="example-heading">Public platforms</span>
<span>NFT marketplaces</span>
<span>Voting systems</span>
<span>Donation hubs</span>
<span>Cultural apps</span>
<span>Utilities for social good</span>
<span class="example-heading">{t.example3_heading}</span>
<span>{t.example3_item1}</span>
<span>{t.example3_item2}</span>
<span>{t.example3_item3}</span>
<span>{t.example3_item4}</span>
<span>{t.example3_item5}</span>
</div>
</div>
</div>
@@ -214,120 +195,62 @@
══════════════════════════════════════════════════════════════════════════ -->
<div class="xc-act act-rules">
<p class="xc-act-label">
<span class="act-pip pip-grn"></span>Rules &amp; Evaluation
<span class="act-pip pip-grn"></span>{t.act3_label}
</p>
<div class="xc-rules-grid">
<!-- Participation Rules -->
<div class="xc-rules-col">
<span class="xc-lbl lbl-grn">Participation Rules</span>
<h3>What You Need to Know</h3>
<span class="xc-lbl lbl-grn">{t.act3_rules_lbl}</span>
<h3>{t.act3_rules_h3}</h3>
<ul class="xc-rule-list">
<li>You can submit <strong>as many projects as you like</strong>.</li>
<li>Each project may be submitted by an individual or a group.</li>
<li>
Different projects from the same participant can be eligible for
different prizes.
</li>
<li>Projects <strong>must run on the Xahau Mainnet</strong>.</li>
<li>
Each project <strong>must be accessible online</strong> so that
judges and the public can use or view it.
</li>
<li>
Each submission must include <strong>basic documentation</strong>.
Multimedia material (videos, slides, demos) is welcome.
</li>
<li>
<strong>AI tools</strong>
may be used for both development and documentation.
</li>
<li>
If your project uses <strong>Hooks</strong>, the Hook code must be
open source. Attach C code and hook hash in your submission.
</li>
<li>
Projects offering regulated financial services or targeting illegal
activities are not eligible.
</li>
<li>
Post on X tagging
<a
href="https://x.com/XahauNetwork"
target="_blank"
rel="noopener noreferrer"
>@XahauNetwork</a
>
to announce your participation.
</li>
<li set:html={t.rule1} />
<li set:html={t.rule2} />
<li set:html={t.rule3} />
<li set:html={t.rule4} />
<li set:html={t.rule5} />
<li set:html={t.rule6} />
<li set:html={t.rule7} />
<li set:html={t.rule8} />
<li set:html={t.rule9} />
<li set:html={t.html_rule10} />
</ul>
</div>
<!-- Evaluation + Submission -->
<div class="xc-eval-col">
<div class="xc-eval">
<span class="xc-lbl lbl-grn">Evaluation Criteria</span>
<h3>What Judges Value</h3>
<span class="xc-lbl lbl-grn">{t.act3_eval_lbl}</span>
<h3>{t.act3_eval_h3}</h3>
<div class="xc-criteria">
<div class="criterion">
<span class="criterion-label">Originality &amp; Creativity</span>
<span class="criterion-desc"
>How novel and creative is the idea?</span
>
<span class="criterion-label">{t.crit1_label}</span>
<span class="criterion-desc">{t.crit1_desc}</span>
</div>
<div class="criterion">
<span class="criterion-label">No Existing Competitors</span>
<span class="criterion-desc"
>Absence of similar services on Xahau Mainnet before the
contest.</span
>
<span class="criterion-label">{t.crit2_label}</span>
<span class="criterion-desc">{t.crit2_desc}</span>
</div>
<div class="criterion">
<span class="criterion-label">Impact &amp; Usefulness</span>
<span class="criterion-desc"
>Value for end users — individuals, businesses, or public
sector.</span
>
<span class="criterion-label">{t.crit3_label}</span>
<span class="criterion-desc">{t.crit3_desc}</span>
</div>
<div class="criterion">
<span class="criterion-label">Quality of Execution</span>
<span class="criterion-desc"
>Stability, documentation, and user experience.</span
>
<span class="criterion-label">{t.crit4_label}</span>
<span class="criterion-desc">{t.crit4_desc}</span>
</div>
<div class="criterion">
<span class="criterion-label">Use of Hooks</span>
<span class="criterion-desc"
>Smart contract usage on Xahau receives special recognition.</span
>
<span class="criterion-label">{t.crit5_label}</span>
<span class="criterion-desc">{t.crit5_desc}</span>
</div>
</div>
</div>
<div class="xc-format">
<span class="xc-lbl lbl-grn">Submission Format</span>
<p>
Each project must include a folder and a
<strong>submission file</strong>
inside the submissions directory of
<a
href="https://github.com/xahau/xahau-2nd-dev-contest"
target="_blank"
rel="noopener noreferrer"
>this repository ↗</a
>.
</p>
<p class="format-example">
<code
>submissions/GitHubName_ProjectName/GitHubName_ProjectName.md</code
>
</p>
<p>
Required fields: Project Title · Brief Description · Participants ·
Social Media · Contact Email · Link to Online Project · Xahau
Address · Documentation Link · Hooks C code &amp; hash (if
applicable) · Repository Link (optional)
</p>
<span class="xc-lbl lbl-grn">{t.act3_format_lbl}</span>
<p set:html={t.html_format_p1} />
<p class="format-example"><code>{t.format_example}</code></p>
<p>{t.format_p2}</p>
</div>
</div>
</div>
@@ -338,71 +261,46 @@
══════════════════════════════════════════════════════════════════════════ -->
<div class="xc-act act-support">
<p class="xc-act-label">
<span class="act-pip pip-teal"></span>Support &amp; Resources
<span class="act-pip pip-teal"></span>{t.act4_label}
</p>
<div class="xc-support-grid">
<!-- Support + FAQ -->
<div class="xc-support-col">
<span class="xc-lbl lbl-teal">Support</span>
<h3>Questions &amp; Community</h3>
<p>
Join the
<a
href="https://discord.gg/ds7nb93mYj"
target="_blank"
rel="noopener noreferrer"
>Xahau Builders Discord ↗</a
>
or email <a href="mailto:contests@xahau.org">contests@xahau.org</a>.
Your questions may also be added to the FAQ so others can benefit.
</p>
<p class="ownership-note">
All submitted projects remain the
<strong>property of their original creators</strong>.
</p>
<span class="xc-lbl lbl-teal">{t.act4_support_lbl}</span>
<h3>{t.act4_support_h3}</h3>
<p set:html={t.html_support_p1} />
<p class="ownership-note" set:html={t.ownership_note} />
<div class="xc-faq">
<span class="xc-lbl lbl-teal">FAQ</span>
<span class="xc-lbl lbl-teal">{t.act4_faq_lbl}</span>
<div class="faq-item">
<span class="faq-q">Can I submit more than one project?</span>
<span class="faq-a"
>Yes — as many as you want, individually or as part of a group.</span
>
<span class="faq-q">{t.faq1_q}</span>
<span class="faq-a">{t.faq1_a}</span>
</div>
<div class="faq-item">
<span class="faq-q">Do projects have to be open source?</span>
<span class="faq-a"
>No, but they must include basic documentation. Hook code must be
open source if used.</span
>
<span class="faq-q">{t.faq2_q}</span>
<span class="faq-a">{t.faq2_a}</span>
</div>
<div class="faq-item">
<span class="faq-q"
>Can I use AI to build or document my project?</span
>
<span class="faq-a">Yes, AI usage is fully allowed.</span>
<span class="faq-q">{t.faq3_q}</span>
<span class="faq-a">{t.faq3_a}</span>
</div>
<div class="faq-item">
<span class="faq-q">Is there an advantage to using Hooks?</span>
<span class="faq-a"
>Yes — projects that creatively implement Hooks will receive
special recognition.</span
>
<span class="faq-q">{t.faq4_q}</span>
<span class="faq-a">{t.faq4_a}</span>
</div>
<div class="faq-item">
<span class="faq-q"
>What happens to my project after the contest?</span
>
<span class="faq-a">You keep full ownership.</span>
<span class="faq-q">{t.faq5_q}</span>
<span class="faq-a">{t.faq5_a}</span>
</div>
</div>
</div>
<!-- Useful Links + Legal -->
<div class="xc-links-col">
<span class="xc-lbl lbl-teal">Useful Links</span>
<h3>Resources for Xahau Developers</h3>
<span class="xc-lbl lbl-teal">{t.act4_links_lbl}</span>
<h3>{t.act4_links_h3}</h3>
<div class="xc-link-list">
<a
href="https://docs.xahau.network"
@@ -469,36 +367,20 @@
</a>
</div>
<div class="xc-legal">
<span class="xc-lbl lbl-teal">Final Disclaimer</span>
<p>By participating, you agree that:</p>
<ul class="legal-list">
<li>
Participants must meet eligibility criteria and adhere to all
rules. Previously published projects are not eligible.
</li>
<li>
Projects remain the property of their creators; organizers reserve
the right to showcase submissions with appropriate credit.
</li>
<li>
Organizers may disqualify submissions that violate rules. All jury
decisions are final.
</li>
<li>
Organizers are not liable for damages or losses during
participation and may modify contest requirements at any time.
</li>
<li>
Sanctions and jurisdictional restrictions may apply. KYC
verification may be required to receive rewards.
</li>
<li>
All taxes and financial obligations related to rewards are the
sole responsibility of the participant.
</li>
</ul>
</div>
{t.act4_legal_lbl && (
<div class="xc-legal">
<span class="xc-lbl lbl-teal">{t.act4_legal_lbl}</span>
<p>{t.legal_intro}</p>
<ul class="legal-list">
<li>{t.legal1}</li>
<li>{t.legal2}</li>
<li>{t.legal3}</li>
<li>{t.legal4}</li>
<li>{t.legal5}</li>
<li>{t.legal6}</li>
</ul>
</div>
)}
</div>
</div>
</div><!-- /act-support -->

View File

@@ -1,995 +0,0 @@
---
/**
* XahauContestEs.astro — Editorial layout for the Xahau Dev Contest page (Spanish)
*
* Follows the same white-card editorial style as XahauAbout / XahauFeatures / XahauHome.
* For EN: see XahauContest.astro · For JA: see XahauContestJa.astro
*/
---
<section class="xcontest" aria-label="Xahau Dev Contest">
<!-- ══ PAGE HEADER ══════════════════════════════════════════════════════ -->
<header class="xc-head">
<div class="xc-head-title">
<h2>Xahau Dev Contest</h2>
<p class="xc-sub">
Ecosystem Rising — Construye servicios de usuario powered by Xahau
</p>
</div>
<div class="xc-chips">
<span class="xc-chip">2ª Edición</span>
<span class="xc-chip">Xahau Mainnet</span>
<span class="xc-chip">3 Premios Principales</span>
<span class="xc-chip">Recompensas en XAH</span>
</div>
</header>
<!-- ══ ACT I — INTRODUCCIÓN ═════════════════════════════════════════════ -->
<div class="xc-act act-intro">
<p class="xc-act-label">
<span class="act-pip pip-grn"></span>Introducción
</p>
<div class="xc-intro-grid">
<div class="xc-intro-body">
<span class="xc-lbl lbl-grn">Acerca de</span>
<h3>Bienvenido a Ecosystem Rising</h3>
<p>
Este concurso invita a innovadores a construir
<strong>servicios de usuario powered by Xahau</strong>
y competir por premios mientras fortalecen el ecosistema Xahau.
</p>
<p>
Tanto si eres un desarrollador individual como un equipo, puedes
enviar tantos proyectos como quieras, cada uno elegible para
diferentes premios.
</p>
</div>
<div class="xc-prizes">
<span class="xc-lbl lbl-grn">Premios</span>
<h3>Premios Principales en XAH</h3>
<div class="xc-prize-list">
<div class="xc-prize prize-gold">
<span class="prize-medal">🥇</span>
<div>
<span class="prize-place">1er Premio</span>
<span class="prize-value">Valor de 4.000 USD en XAH</span>
</div>
</div>
<div class="xc-prize prize-silver">
<span class="prize-medal">🥈</span>
<div>
<span class="prize-place">2º Premio</span>
<span class="prize-value">Valor de 2.000 USD en XAH</span>
</div>
</div>
<div class="xc-prize prize-bronze">
<span class="prize-medal">🥉</span>
<div>
<span class="prize-place">3er Premio</span>
<span class="prize-value">Valor de 1.000 USD en XAH</span>
</div>
</div>
</div>
<div class="xc-timeline">
<span class="xc-lbl lbl-grn">Cronograma</span>
<div class="timeline-row">
<span class="timeline-dot"></span>
<span
><strong>Fecha límite de envío:</strong>
1 de febrero de 2026</span
>
</div>
<div class="timeline-row">
<span class="timeline-dot"></span>
<span
><strong>Panel de jueces:</strong>
5 miembros de la comunidad Xahau y XRPL</span
>
</div>
</div>
</div>
</div>
</div>
<!-- ══ ACT II — PANEL Y TEMA ════════════════════════════════════════════ -->
<div class="xc-act act-panel">
<p class="xc-act-label">
<span class="act-pip pip-teal"></span>Panel y Tema
</p>
<div class="xc-panel-grid">
<div class="xc-judges">
<span class="xc-lbl lbl-teal">Panel de Jueces</span>
<h3>Cinco Miembros de la Comunidad</h3>
<div class="xc-judge-list">
<div class="xc-judge">
<span class="judge-handle">tequ</span>
<span class="judge-role">Desarrollador Blockchain de Xahau</span>
<a
href="https://x.com/_tequ_"
target="_blank"
rel="noopener noreferrer"
class="judge-link"
>@_tequ_ ↗</a
>
</div>
<div class="xc-judge">
<span class="judge-handle">Robert Kiuru</span>
<span class="judge-role">COO, XRPL Labs</span>
<a
href="https://x.com/robertkiuru"
target="_blank"
rel="noopener noreferrer"
class="judge-link"
>@robertkiuru ↗</a
>
</div>
<div class="xc-judge">
<span class="judge-handle">gadget78</span>
<span class="judge-role">Desarrollador de Evernode</span>
<a
href="https://x.com/gadget78"
target="_blank"
rel="noopener noreferrer"
class="judge-link"
>@gadget78 ↗</a
>
</div>
<div class="xc-judge">
<span class="judge-handle">Andrei Rosseti</span>
<span class="judge-role"
>Arquitecto de Xahau DocProof · CTO, EleveCRM</span
>
<a
href="https://x.com/andreirosseti"
target="_blank"
rel="noopener noreferrer"
class="judge-link"
>@andreirosseti ↗</a
>
</div>
<div class="xc-judge">
<span class="judge-handle">Vet</span>
<span class="judge-role">Contribuidor de la comunidad XRPL</span>
<a
href="https://x.com/Vet_X0"
target="_blank"
rel="noopener noreferrer"
class="judge-link"
>@Vet_X0 ↗</a
>
</div>
</div>
</div>
<div class="xc-theme">
<span class="xc-lbl lbl-teal">Tema</span>
<h3>Servicios en Xahau</h3>
<p>
Los participantes deben construir
<strong>servicios web que interactúen con Xahau Mainnet</strong>
y estén diseñados para el <strong>usuario final</strong> — usuarios
casuales, avanzados, sector público o privado.
</p>
<div class="xc-examples">
<div class="xc-example-group">
<span class="example-heading">Herramientas cotidianas</span>
<span>Paneles de finanzas personales</span>
<span>Gestores de wallets</span>
<span>Apps comunitarias</span>
</div>
<div class="xc-example-group">
<span class="example-heading">Servicios empresariales</span>
<span>Portales de pago</span>
<span>Plataformas de fidelización</span>
<span>Herramientas de atención al cliente</span>
</div>
<div class="xc-example-group">
<span class="example-heading">Plataformas públicas</span>
<span>Marketplaces de NFT</span>
<span>Sistemas de votación</span>
<span>Hubs de donaciones</span>
<span>Apps culturales</span>
<span>Utilidades para el bien social</span>
</div>
</div>
</div>
</div>
</div>
<!-- ══ ACT III — REGLAS Y EVALUACIÓN ════════════════════════════════════ -->
<div class="xc-act act-rules">
<p class="xc-act-label">
<span class="act-pip pip-grn"></span>Reglas y Evaluación
</p>
<div class="xc-rules-grid">
<div class="xc-rules-col">
<span class="xc-lbl lbl-grn">Reglas de Participación</span>
<h3>Lo Que Necesitas Saber</h3>
<ul class="xc-rule-list">
<li>Puedes enviar <strong>tantos proyectos como quieras</strong>.</li>
<li>Cada proyecto puede ser enviado por un individuo o un grupo.</li>
<li>
Distintos proyectos del mismo participante pueden optar a diferentes
premios.
</li>
<li>
Los proyectos
<strong>deben ejecutarse en la Mainnet de Xahau</strong>.
</li>
<li>
Cada proyecto <strong>debe ser accesible online</strong> para que
jueces y el público puedan usarlo o verlo.
</li>
<li>
Cada envío debe incluir <strong>documentación básica</strong>. Se
acepta material multimedia.
</li>
<li>
Se pueden usar <strong>herramientas de IA</strong> para desarrollo y
documentación.
</li>
<li>
Si usas <strong>Hooks</strong>, el código debe ser de código
abierto. Adjunta código C y hash del hook.
</li>
<li>
Los proyectos que ofrezcan servicios financieros regulados o
actividades ilegales no son elegibles.
</li>
<li>
Publica un tweet etiquetando
<a
href="https://x.com/XahauNetwork"
target="_blank"
rel="noopener noreferrer"
>@XahauNetwork</a
>
para anunciar tu participación.
</li>
</ul>
</div>
<div class="xc-eval-col">
<div class="xc-eval">
<span class="xc-lbl lbl-grn">Criterios de Evaluación</span>
<h3>Lo Que Valoran los Jueces</h3>
<div class="xc-criteria">
<div class="criterion">
<span class="criterion-label">Originalidad y Creatividad</span>
<span class="criterion-desc"
>¿Cuán novedosa e innovadora es la idea?</span
>
</div>
<div class="criterion">
<span class="criterion-label">Sin Competidores Existentes</span>
<span class="criterion-desc"
>Ausencia de servicios similares en Xahau Mainnet antes del
concurso.</span
>
</div>
<div class="criterion">
<span class="criterion-label">Impacto y Utilidad</span>
<span class="criterion-desc"
>Valor para usuarios finales — individuos, empresas o sector
público.</span
>
</div>
<div class="criterion">
<span class="criterion-label">Calidad de Ejecución</span>
<span class="criterion-desc"
>Estabilidad, documentación y experiencia de usuario.</span
>
</div>
<div class="criterion">
<span class="criterion-label">Uso de Hooks</span>
<span class="criterion-desc"
>El uso de smart contracts en Xahau recibe reconocimiento
especial.</span
>
</div>
</div>
</div>
<div class="xc-format">
<span class="xc-lbl lbl-grn">Formato de Envío</span>
<p>
Cada proyecto debe incluir una carpeta y un
<strong>archivo de envío</strong>
en el directorio submissions de
<a
href="https://github.com/xahau/xahau-2nd-dev-contest"
target="_blank"
rel="noopener noreferrer"
>este repositorio ↗</a
>.
</p>
<p class="format-example">
<code
>submissions/NombreGitHub_NombreProyecto/NombreGitHub_NombreProyecto.md</code
>
</p>
<p>
Campos requeridos: Título · Descripción · Participantes · Redes
Sociales · Email · Enlace al Proyecto · Dirección Xahau ·
Documentación · Código Hooks en C y hash (si aplica) · Repositorio
(opcional)
</p>
</div>
</div>
</div>
</div>
<!-- ══ ACT IV — SOPORTE Y RECURSOS ══════════════════════════════════════ -->
<div class="xc-act act-support">
<p class="xc-act-label">
<span class="act-pip pip-teal"></span>Soporte y Recursos
</p>
<div class="xc-support-grid">
<div class="xc-support-col">
<span class="xc-lbl lbl-teal">Soporte</span>
<h3>Preguntas y Comunidad</h3>
<p>
Únete al
<a
href="https://discord.gg/ds7nb93mYj"
target="_blank"
rel="noopener noreferrer"
>Discord de Xahau Builders ↗</a
>
o envía un email a
<a href="mailto:contests@xahau.org">contests@xahau.org</a>. Tus
preguntas pueden añadirse a las FAQ para que otros se beneficien.
</p>
<p class="ownership-note">
Todos los proyectos enviados siguen siendo
<strong>propiedad de sus creadores originales</strong>.
</p>
<div class="xc-faq">
<span class="xc-lbl lbl-teal">FAQ</span>
<div class="faq-item">
<span class="faq-q">¿Puedo enviar más de un proyecto?</span>
<span class="faq-a"
>Sí — tantos como quieras, individualmente o en grupo.</span
>
</div>
<div class="faq-item">
<span class="faq-q"
>¿Los proyectos deben ser de código abierto?</span
>
<span class="faq-a"
>No, pero deben incluir documentación básica. El código de Hooks
sí debe ser abierto.</span
>
</div>
<div class="faq-item">
<span class="faq-q"
>¿Puedo usar IA para construir o documentar mi proyecto?</span
>
<span class="faq-a"
>Sí, el uso de IA está completamente permitido.</span
>
</div>
<div class="faq-item">
<span class="faq-q">¿Hay ventaja en usar Hooks?</span>
<span class="faq-a"
>Sí — los proyectos que usen Hooks creativamente recibirán
reconocimiento especial.</span
>
</div>
<div class="faq-item">
<span class="faq-q"
>¿Qué pasa con mi proyecto tras el concurso?</span
>
<span class="faq-a">Conservas la propiedad total.</span>
</div>
</div>
</div>
<div class="xc-links-col">
<span class="xc-lbl lbl-teal">Enlaces Útiles</span>
<h3>Recursos para Desarrolladores Xahau</h3>
<div class="xc-link-list">
<a
href="https://docs.xahau.network"
target="_blank"
rel="noopener noreferrer"
class="xc-resource-link"
>
<span class="resource-name">Documentación de Xahau</span>
<span class="resource-arrow">↗</span>
</a>
<a
href="https://xahau.network/docs/hooks/"
target="_blank"
rel="noopener noreferrer"
class="xc-resource-link"
>
<span class="resource-name">Documentación de Xahau Hooks</span>
<span class="resource-arrow">↗</span>
</a>
<a
href="https://github.com/Xahau"
target="_blank"
rel="noopener noreferrer"
class="xc-resource-link"
>
<span class="resource-name">Repositorios GitHub de Xahau</span>
<span class="resource-arrow">↗</span>
</a>
<a
href="https://xaman.app"
target="_blank"
rel="noopener noreferrer"
class="xc-resource-link"
>
<span class="resource-name">Sitio web de Xaman</span>
<span class="resource-arrow">↗</span>
</a>
<a
href="https://xahau-test.net/"
target="_blank"
rel="noopener noreferrer"
class="xc-resource-link"
>
<span class="resource-name">Faucet de Xahau Testnet</span>
<span class="resource-arrow">↗</span>
</a>
<a
href="https://discord.gg/ds7nb93mYj"
target="_blank"
rel="noopener noreferrer"
class="xc-resource-link"
>
<span class="resource-name">Discord de Xahau</span>
<span class="resource-arrow">↗</span>
</a>
<a
href="https://github.com/xahau/xahau-2nd-dev-contest"
target="_blank"
rel="noopener noreferrer"
class="xc-resource-link"
>
<span class="resource-name">Repositorio del Concurso</span>
<span class="resource-arrow">↗</span>
</a>
</div>
<div class="xc-legal">
<span class="xc-lbl lbl-teal">Aviso Legal Final</span>
<p>Al participar, aceptas que:</p>
<ul class="legal-list">
<li>
Los participantes deben cumplir los criterios de elegibilidad y
todas las reglas. No se permiten proyectos publicados antes del
concurso.
</li>
<li>
Los proyectos siguen siendo propiedad de sus creadores; los
organizadores se reservan el derecho de mostrarlos con el crédito
apropiado.
</li>
<li>
Los organizadores pueden descalificar envíos que violen las
reglas. Todas las decisiones del jurado son definitivas.
</li>
<li>
Los organizadores no son responsables de daños o pérdidas durante
la participación y pueden modificar los requisitos en cualquier
momento.
</li>
<li>
Pueden aplicarse sanciones y restricciones jurisdiccionales. Puede
requerirse verificación KYC para recibir premios.
</li>
<li>
Todos los impuestos y obligaciones financieras relacionadas con
los premios son responsabilidad exclusiva del participante.
</li>
</ul>
</div>
</div>
</div>
</div>
</section>
<style>
.xcontest {
--ink: #0f2328;
--dim: #2d3e44;
--mute: #556068;
--grn2: #007a28;
--teal2: #006f87;
--border: #e4edef;
--hover-bg: #f4f6f7;
background: #ffffff;
border-radius: 24px;
padding: 48px 56px 72px;
font-family: 'Onest', system-ui, sans-serif;
color: var(--ink);
box-shadow:
0 2px 4px rgba(0, 0, 0, 0.04),
0 20px 64px -24px rgba(15, 35, 40, 0.13);
}
.xcontest * {
box-sizing: border-box;
}
.xc-head {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 24px;
flex-wrap: wrap;
padding-bottom: 40px;
}
.xcontest h2 {
margin: 0;
font-size: 36px;
font-weight: 800;
letter-spacing: -0.03em;
line-height: 1.08;
color: var(--ink);
}
.xc-sub {
margin: 6px 0 0;
font-size: 15px;
color: var(--mute);
}
.xc-chips {
display: flex;
gap: 8px;
flex-wrap: wrap;
align-items: flex-start;
padding-top: 4px;
}
.xc-chip {
font-family: ui-monospace, monospace;
font-size: 11px;
padding: 5px 13px;
border: 1px solid #cdd7dc;
border-radius: 999px;
color: var(--mute);
white-space: nowrap;
letter-spacing: 0.03em;
}
.xc-act {
padding-top: 52px;
}
.xc-act-label {
display: flex;
align-items: center;
gap: 10px;
font-family: ui-monospace, monospace;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--mute);
margin: 0 0 36px;
}
.act-pip {
display: block;
width: 6px;
height: 6px;
border-radius: 50%;
flex-shrink: 0;
}
.pip-grn {
background: var(--grn2);
}
.pip-teal {
background: var(--teal2);
}
.xc-lbl {
display: inline-block;
font-family: ui-monospace, monospace;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.18em;
text-transform: uppercase;
padding: 3px 9px;
border-radius: 4px;
margin-bottom: 14px;
}
.lbl-grn {
color: var(--grn2);
background: rgba(0, 122, 40, 0.09);
}
.lbl-teal {
color: var(--teal2);
background: rgba(0, 111, 135, 0.1);
}
.xcontest h3 {
margin: 0 0 16px;
font-size: 24px;
font-weight: 800;
letter-spacing: -0.02em;
line-height: 1.2;
color: var(--ink);
}
.xcontest p {
margin: 0 0 14px;
font-size: 14.5px;
line-height: 1.7;
color: var(--dim);
}
.xcontest a {
color: var(--grn2);
text-decoration: none;
font-weight: 600;
}
.xcontest a:hover {
text-decoration: underline;
}
.xc-intro-grid,
.xc-panel-grid,
.xc-rules-grid,
.xc-support-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
align-items: start;
}
.xc-prize-list {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 28px;
}
.xc-prize {
display: flex;
align-items: center;
gap: 14px;
padding: 14px 18px;
border-radius: 10px;
border: 1.5px solid var(--border);
}
.prize-medal {
font-size: 22px;
flex-shrink: 0;
}
.prize-place {
display: block;
font-size: 13px;
font-weight: 700;
color: var(--ink);
letter-spacing: 0.01em;
}
.prize-value {
display: block;
font-size: 12px;
color: var(--mute);
margin-top: 2px;
}
.prize-gold {
background: linear-gradient(120deg, #fffbf0 0%, #fff 100%);
border-color: #e8d88a;
}
.prize-silver {
background: linear-gradient(120deg, #f7f9fa 0%, #fff 100%);
border-color: #c8d5da;
}
.prize-bronze {
background: #ffffff;
}
.xc-timeline {
border-top: 1.5px solid var(--border);
padding-top: 20px;
}
.xc-timeline .xc-lbl {
display: block;
margin-bottom: 10px;
}
.timeline-row {
display: flex;
align-items: baseline;
gap: 10px;
font-size: 14px;
color: var(--dim);
margin-bottom: 8px;
line-height: 1.5;
}
.timeline-dot {
display: inline-block;
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--grn2);
flex-shrink: 0;
margin-top: 5px;
}
.xc-judge-list {
display: flex;
flex-direction: column;
gap: 0;
border: 1.5px solid var(--border);
border-radius: 12px;
overflow: hidden;
}
.xc-judge {
display: grid;
grid-template-columns: 1fr 1fr auto;
align-items: center;
gap: 8px;
padding: 13px 16px;
border-bottom: 1px solid var(--border);
}
.xc-judge:last-child {
border-bottom: none;
}
.judge-handle {
font-size: 14px;
font-weight: 700;
color: var(--ink);
}
.judge-role {
font-size: 12px;
color: var(--mute);
line-height: 1.4;
}
.judge-link {
font-family: ui-monospace, monospace;
font-size: 11px;
color: var(--teal2);
text-decoration: none;
white-space: nowrap;
font-weight: 600;
}
.judge-link:hover {
text-decoration: underline;
}
.xc-examples {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
margin-top: 16px;
}
.xc-example-group {
display: flex;
flex-direction: column;
gap: 4px;
padding: 14px 16px;
background: var(--hover-bg);
border-radius: 10px;
border: 1px solid var(--border);
}
.example-heading {
font-size: 12px;
font-weight: 700;
color: var(--ink);
margin-bottom: 6px;
letter-spacing: 0.01em;
}
.xc-example-group span:not(.example-heading) {
font-size: 12.5px;
color: var(--mute);
line-height: 1.5;
}
.xc-rule-list {
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex-direction: column;
gap: 0;
border: 1.5px solid var(--border);
border-radius: 12px;
overflow: hidden;
}
.xc-rule-list li {
padding: 11px 16px;
font-size: 13.5px;
color: var(--dim);
line-height: 1.55;
border-bottom: 1px solid var(--border);
}
.xc-rule-list li:last-child {
border-bottom: none;
}
.xc-rule-list li strong {
color: var(--ink);
}
.xc-rule-list li a {
color: var(--grn2);
}
.xc-criteria {
display: flex;
flex-direction: column;
gap: 0;
border: 1.5px solid var(--border);
border-radius: 12px;
overflow: hidden;
margin-bottom: 28px;
}
.criterion {
padding: 12px 16px;
border-bottom: 1px solid var(--border);
}
.criterion:last-child {
border-bottom: none;
}
.criterion-label {
display: block;
font-size: 13px;
font-weight: 700;
color: var(--ink);
margin-bottom: 3px;
}
.criterion-desc {
display: block;
font-size: 12.5px;
color: var(--mute);
line-height: 1.45;
}
.xc-format {
border-top: 1.5px solid var(--border);
padding-top: 22px;
margin-top: 4px;
}
.xc-format .xc-lbl {
display: block;
}
.format-example {
background: var(--hover-bg);
border: 1px solid var(--border);
border-radius: 6px;
padding: 10px 14px;
margin: 10px 0 12px;
}
.format-example code {
font-family: ui-monospace, monospace;
font-size: 12px;
color: var(--ink);
word-break: break-all;
}
.xc-support-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
align-items: start;
}
.xc-faq {
margin-top: 28px;
border-top: 1.5px solid var(--border);
padding-top: 20px;
}
.xc-faq .xc-lbl {
display: block;
}
.faq-item {
padding: 12px 0;
border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
border-bottom: none;
}
.faq-q {
display: block;
font-size: 13.5px;
font-weight: 700;
color: var(--ink);
margin-bottom: 4px;
}
.faq-a {
display: block;
font-size: 13px;
color: var(--mute);
line-height: 1.5;
}
.ownership-note {
font-size: 13px;
color: var(--mute);
margin-top: -6px;
}
.xc-link-list {
display: flex;
flex-direction: column;
gap: 0;
border: 1.5px solid var(--border);
border-radius: 12px;
overflow: hidden;
margin-bottom: 28px;
}
.xc-resource-link {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
border-bottom: 1px solid var(--border);
text-decoration: none;
transition: background 0.15s;
color: inherit;
}
.xc-resource-link:last-child {
border-bottom: none;
}
.xc-resource-link:hover {
background: var(--hover-bg);
text-decoration: none;
}
.resource-name {
font-size: 14px;
font-weight: 500;
color: var(--dim);
}
.resource-arrow {
font-size: 13px;
color: var(--teal2);
font-weight: 700;
}
.xc-legal {
border-top: 1.5px solid var(--border);
padding-top: 20px;
}
.xc-legal .xc-lbl {
display: block;
}
.legal-list {
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex-direction: column;
gap: 0;
border: 1.5px solid var(--border);
border-radius: 12px;
overflow: hidden;
}
.legal-list li {
padding: 10px 14px;
font-size: 12.5px;
color: var(--mute);
line-height: 1.55;
border-bottom: 1px solid var(--border);
}
.legal-list li:last-child {
border-bottom: none;
}
@media (max-width: 900px) {
.xc-intro-grid,
.xc-panel-grid,
.xc-rules-grid,
.xc-support-grid {
grid-template-columns: 1fr;
}
.xc-examples {
grid-template-columns: 1fr 1fr;
}
.xc-judge {
grid-template-columns: 1fr 1fr;
}
.judge-link {
grid-column: span 2;
}
}
@media (max-width: 640px) {
.xcontest {
padding: 32px 20px 48px;
border-radius: 16px;
}
.xcontest h2 {
font-size: 28px;
}
.xc-head {
flex-direction: column;
gap: 14px;
}
.xc-examples {
grid-template-columns: 1fr;
}
.xc-judge {
grid-template-columns: 1fr;
}
.judge-link {
grid-column: span 1;
}
}
</style>

View File

@@ -1,917 +0,0 @@
---
/**
* XahauContestJa.astro — Editorial layout for the Xahau Dev Contest page (Japanese)
*
* Follows the same white-card editorial style as XahauAbout / XahauFeatures / XahauHome.
* For EN: see XahauContest.astro · For ES: see XahauContestEs.astro
*/
---
<section class="xcontest" aria-label="Xahau Dev Contest">
<!-- ══ PAGE HEADER ══════════════════════════════════════════════════════ -->
<header class="xc-head">
<div class="xc-head-title">
<h2>Xahau Dev Contest</h2>
<p class="xc-sub">
Ecosystem Rising — Xahauを活用したユーザー向けサービスを構築
</p>
</div>
<div class="xc-chips">
<span class="xc-chip">第2回</span>
<span class="xc-chip">Xahau Mainnet</span>
<span class="xc-chip">主要賞3つ</span>
<span class="xc-chip">XAH報酬</span>
</div>
</header>
<!-- ══ ACT I — はじめに ══════════════════════════════════════════════════ -->
<div class="xc-act act-intro">
<p class="xc-act-label"><span class="act-pip pip-grn"></span>はじめに</p>
<div class="xc-intro-grid">
<div class="xc-intro-body">
<span class="xc-lbl lbl-grn">概要</span>
<h3>Ecosystem Risingへようこそ</h3>
<p>
このコンテストは、<strong
>Xahauを活用したユーザー向けサービス</strong
>を構築するイノベーターを招待し、
賞品を競いながらXahauエコシステムを強化するものです。
</p>
<p>
個人でもチームでも、好きなだけプロジェクトを提出でき、それぞれ異なる賞の対象となります。
</p>
</div>
<div class="xc-prizes">
<span class="xc-lbl lbl-grn">賞品</span>
<h3>XAHの主要賞</h3>
<div class="xc-prize-list">
<div class="xc-prize prize-gold">
<span class="prize-medal">🥇</span>
<div>
<span class="prize-place">1位</span>
<span class="prize-value">XAH建て4,000 USD相当</span>
</div>
</div>
<div class="xc-prize prize-silver">
<span class="prize-medal">🥈</span>
<div>
<span class="prize-place">2位</span>
<span class="prize-value">XAH建て2,000 USD相当</span>
</div>
</div>
<div class="xc-prize prize-bronze">
<span class="prize-medal">🥉</span>
<div>
<span class="prize-place">3位</span>
<span class="prize-value">XAH建て1,000 USD相当</span>
</div>
</div>
</div>
<div class="xc-timeline">
<span class="xc-lbl lbl-grn">スケジュール</span>
<div class="timeline-row">
<span class="timeline-dot"></span>
<span><strong>提出締切:</strong>2026年2月1日</span>
</div>
<div class="timeline-row">
<span class="timeline-dot"></span>
<span
><strong
>審査パネル:</strong
>XahauおよびXRPLコミュニティの5名</span
>
</div>
</div>
</div>
</div>
</div>
<!-- ══ ACT II — 審査パネルとテーマ ══════════════════════════════════════ -->
<div class="xc-act act-panel">
<p class="xc-act-label">
<span class="act-pip pip-teal"></span>審査パネルとテーマ
</p>
<div class="xc-panel-grid">
<div class="xc-judges">
<span class="xc-lbl lbl-teal">審査パネル</span>
<h3>5名のコミュニティメンバー</h3>
<div class="xc-judge-list">
<div class="xc-judge">
<span class="judge-handle">tequ</span>
<span class="judge-role">Xahauブロックチェーン開発者</span>
<a
href="https://x.com/_tequ_"
target="_blank"
rel="noopener noreferrer"
class="judge-link"
>@_tequ_ ↗</a
>
</div>
<div class="xc-judge">
<span class="judge-handle">Robert Kiuru</span>
<span class="judge-role">COO、XRPL Labs</span>
<a
href="https://x.com/robertkiuru"
target="_blank"
rel="noopener noreferrer"
class="judge-link"
>@robertkiuru ↗</a
>
</div>
<div class="xc-judge">
<span class="judge-handle">gadget78</span>
<span class="judge-role">Evrenodeデベロッパー</span>
<a
href="https://x.com/gadget78"
target="_blank"
rel="noopener noreferrer"
class="judge-link"
>@gadget78 ↗</a
>
</div>
<div class="xc-judge">
<span class="judge-handle">Andrei Rosseti</span>
<span class="judge-role"
>Xahau DocProofアーキテクト · CTO、EleveCRM</span
>
<a
href="https://x.com/andreirosseti"
target="_blank"
rel="noopener noreferrer"
class="judge-link"
>@andreirosseti ↗</a
>
</div>
<div class="xc-judge">
<span class="judge-handle">Vet</span>
<span class="judge-role">XRPLコミュニティコントリビューター</span>
<a
href="https://x.com/Vet_X0"
target="_blank"
rel="noopener noreferrer"
class="judge-link"
>@Vet_X0 ↗</a
>
</div>
</div>
</div>
<div class="xc-theme">
<span class="xc-lbl lbl-teal">テーマ</span>
<h3>Xahau上のサービス</h3>
<p>
参加者は<strong
>Xahauメインネットと対話するWebベースのサービス</strong
>を構築し、
<strong
>エンドユーザー</strong
>(一般ユーザー、パワーユーザー、公共部門、民間部門)向けに設計する必要があります。
</p>
<div class="xc-examples">
<div class="xc-example-group">
<span class="example-heading">日常ユーザーツール</span>
<span>個人財務ダッシュボード</span>
<span>ウォレットマネージャー</span>
<span>コミュニティアプリ</span>
</div>
<div class="xc-example-group">
<span class="example-heading">ビジネスサービス</span>
<span>決済ポータル</span>
<span>ロイヤルティプラットフォーム</span>
<span>顧客サービスツール</span>
</div>
<div class="xc-example-group">
<span class="example-heading">公共プラットフォーム</span>
<span>NFTマーケットプレイス</span>
<span>投票システム</span>
<span>寄付ハブ</span>
<span>文化アプリ</span>
<span>社会的善のためのユーティリティ</span>
</div>
</div>
</div>
</div>
</div>
<!-- ══ ACT III — ルールと評価 ════════════════════════════════════════════ -->
<div class="xc-act act-rules">
<p class="xc-act-label">
<span class="act-pip pip-grn"></span>ルールと評価
</p>
<div class="xc-rules-grid">
<div class="xc-rules-col">
<span class="xc-lbl lbl-grn">参加ルール</span>
<h3>知っておくべきこと</h3>
<ul class="xc-rule-list">
<li><strong>好きなだけ多くのプロジェクト</strong>を提出できます。</li>
<li>各プロジェクトは個人またはグループが提出できます。</li>
<li>
同じ参加者の異なるプロジェクトがそれぞれ別の賞を受けることができます。
</li>
<li>
プロジェクトは<strong
>Xahauメインネットで動作</strong
>する必要があります。
</li>
<li>
各プロジェクトは<strong
>オンラインでアクセス可能</strong
>である必要があります。
</li>
<li>
各提出には<strong
>基本的なドキュメント</strong
>を含める必要があります。マルチメディア素材も歓迎。
</li>
<li>
<strong>AIツール</strong>は開発とドキュメントの両方に使用できます。
</li>
<li>
<strong
>Hooks</strong
>を使用する場合、Hookコードはオープンソースである必要があります。CコードとHookハッシュを添付してください。
</li>
<li>
規制された金融サービスや違法活動を対象とするプロジェクトは対象外です。
</li>
<li>
<a
href="https://x.com/XahauNetwork"
target="_blank"
rel="noopener noreferrer"
>@XahauNetwork</a
>をタグ付けしてXに投稿し、参加を発表してください。
</li>
</ul>
</div>
<div class="xc-eval-col">
<div class="xc-eval">
<span class="xc-lbl lbl-grn">評価基準</span>
<h3>審査員が重視すること</h3>
<div class="xc-criteria">
<div class="criterion">
<span class="criterion-label">独自性と創造性</span>
<span class="criterion-desc"
>アイデアはどれほど新しく革新的ですか?</span
>
</div>
<div class="criterion">
<span class="criterion-label">既存の競合他社の不在</span>
<span class="criterion-desc"
>コンテスト前にXahauメインネットで同じサービスを提供するものがないか。</span
>
</div>
<div class="criterion">
<span class="criterion-label">影響と有用性</span>
<span class="criterion-desc"
>エンドユーザー(個人、企業、公共部門)への価値。</span
>
</div>
<div class="criterion">
<span class="criterion-label">実行の品質</span>
<span class="criterion-desc"
>安定性、ドキュメント、ユーザーエクスペリエンス。</span
>
</div>
<div class="criterion">
<span class="criterion-label">Hooksの使用</span>
<span class="criterion-desc"
>XahauのスマートコントラクトであるHooksの使用は特別な評価を受けます。</span
>
</div>
</div>
</div>
<div class="xc-format">
<span class="xc-lbl lbl-grn">提出フォーマット</span>
<p>
各プロジェクトは<a
href="https://github.com/xahau/xahau-2nd-dev-contest"
target="_blank"
rel="noopener noreferrer"
>このリポジトリ ↗</a
>の submissionsディレクトリ内にフォルダと<strong
>提出ファイル</strong
>を含める必要があります。
</p>
<p class="format-example">
<code
>submissions/GitHubName_ProjectName/GitHubName_ProjectName.md</code
>
</p>
<p>
必須フィールド:プロジェクトタイトル · 簡単な説明 · 参加者 ·
ソーシャルメディア · 連絡先メール · プロジェクトリンク ·
XahauアドレスHooksのCコードとハッシュ使用する場合·
リポジトリリンク(任意)
</p>
</div>
</div>
</div>
</div>
<!-- ══ ACT IV — サポートとリソース ══════════════════════════════════════ -->
<div class="xc-act act-support">
<p class="xc-act-label">
<span class="act-pip pip-teal"></span>サポートとリソース
</p>
<div class="xc-support-grid">
<div class="xc-support-col">
<span class="xc-lbl lbl-teal">サポート</span>
<h3>質問とコミュニティ</h3>
<p>
<a
href="https://discord.gg/ds7nb93mYj"
target="_blank"
rel="noopener noreferrer"
>Xahau Builders Discord ↗</a
>に参加するか、
<a href="mailto:contests@xahau.org"
>contests@xahau.org</a
>にメールしてください。
質問はFAQに追加され、他の参加者も参照できます。
</p>
<p class="ownership-note">
提出されたすべてのプロジェクトは<strong
>元の作成者の財産</strong
>のままです。
</p>
<div class="xc-faq">
<span class="xc-lbl lbl-teal">FAQ</span>
<div class="faq-item">
<span class="faq-q">複数のプロジェクトを提出できますか?</span>
<span class="faq-a"
>はい — 個人でもグループとしても、好きなだけ提出できます。</span
>
</div>
<div class="faq-item">
<span class="faq-q"
>プロジェクトはオープンソースである必要がありますか?</span
>
<span class="faq-a"
>いいえ、ただし基本的なドキュメントが必要です。Hookコードはオープンソースである必要があります。</span
>
</div>
<div class="faq-item">
<span class="faq-q"
>AIを使用してプロジェクトを構築や文書化できますか</span
>
<span class="faq-a">はい、AIの使用は完全に許可されています。</span>
</div>
<div class="faq-item">
<span class="faq-q">Hooksを使用することに利点はありますか</span>
<span class="faq-a"
>はい —
Hooksを創造的に実装したプロジェクトは特別な評価を受けます。</span
>
</div>
<div class="faq-item">
<span class="faq-q"
>コンテスト後、プロジェクトはどうなりますか?</span
>
<span class="faq-a">完全な所有権を保持します。</span>
</div>
</div>
</div>
<div class="xc-links-col">
<span class="xc-lbl lbl-teal">便利なリンク</span>
<h3>Xahau開発者向けリソース</h3>
<div class="xc-link-list">
<a
href="https://docs.xahau.network"
target="_blank"
rel="noopener noreferrer"
class="xc-resource-link"
>
<span class="resource-name">Xahauドキュメント</span>
<span class="resource-arrow">↗</span>
</a>
<a
href="https://xahau.network/docs/hooks/"
target="_blank"
rel="noopener noreferrer"
class="xc-resource-link"
>
<span class="resource-name">Xahau Hooksドキュメント</span>
<span class="resource-arrow">↗</span>
</a>
<a
href="https://github.com/Xahau"
target="_blank"
rel="noopener noreferrer"
class="xc-resource-link"
>
<span class="resource-name">XahauのGitHubリポジトリ</span>
<span class="resource-arrow">↗</span>
</a>
<a
href="https://xaman.app"
target="_blank"
rel="noopener noreferrer"
class="xc-resource-link"
>
<span class="resource-name">Xaman Webサイト</span>
<span class="resource-arrow">↗</span>
</a>
<a
href="https://xahau-test.net/"
target="_blank"
rel="noopener noreferrer"
class="xc-resource-link"
>
<span class="resource-name">Xahau Testnetフォーセット</span>
<span class="resource-arrow">↗</span>
</a>
<a
href="https://discord.gg/ds7nb93mYj"
target="_blank"
rel="noopener noreferrer"
class="xc-resource-link"
>
<span class="resource-name">Xahau Discord</span>
<span class="resource-arrow">↗</span>
</a>
<a
href="https://github.com/xahau/xahau-2nd-dev-contest"
target="_blank"
rel="noopener noreferrer"
class="xc-resource-link"
>
<span class="resource-name">コンテストリポジトリ</span>
<span class="resource-arrow">↗</span>
</a>
</div>
</div>
</div>
</div>
</section>
<style>
.xcontest {
--ink: #0f2328;
--dim: #2d3e44;
--mute: #556068;
--grn2: #007a28;
--teal2: #006f87;
--border: #e4edef;
--hover-bg: #f4f6f7;
background: #ffffff;
border-radius: 24px;
padding: 48px 56px 72px;
font-family: 'Onest', system-ui, sans-serif;
color: var(--ink);
box-shadow:
0 2px 4px rgba(0, 0, 0, 0.04),
0 20px 64px -24px rgba(15, 35, 40, 0.13);
}
.xcontest * {
box-sizing: border-box;
}
.xc-head {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 24px;
flex-wrap: wrap;
padding-bottom: 40px;
}
.xcontest h2 {
margin: 0;
font-size: 36px;
font-weight: 800;
letter-spacing: -0.03em;
line-height: 1.08;
color: var(--ink);
}
.xc-sub {
margin: 6px 0 0;
font-size: 15px;
color: var(--mute);
}
.xc-chips {
display: flex;
gap: 8px;
flex-wrap: wrap;
align-items: flex-start;
padding-top: 4px;
}
.xc-chip {
font-family: ui-monospace, monospace;
font-size: 11px;
padding: 5px 13px;
border: 1px solid #cdd7dc;
border-radius: 999px;
color: var(--mute);
white-space: nowrap;
letter-spacing: 0.03em;
}
.xc-act {
padding-top: 52px;
}
.xc-act-label {
display: flex;
align-items: center;
gap: 10px;
font-family: ui-monospace, monospace;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--mute);
margin: 0 0 36px;
}
.act-pip {
display: block;
width: 6px;
height: 6px;
border-radius: 50%;
flex-shrink: 0;
}
.pip-grn {
background: var(--grn2);
}
.pip-teal {
background: var(--teal2);
}
.xc-lbl {
display: inline-block;
font-family: ui-monospace, monospace;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.18em;
text-transform: uppercase;
padding: 3px 9px;
border-radius: 4px;
margin-bottom: 14px;
}
.lbl-grn {
color: var(--grn2);
background: rgba(0, 122, 40, 0.09);
}
.lbl-teal {
color: var(--teal2);
background: rgba(0, 111, 135, 0.1);
}
.xcontest h3 {
margin: 0 0 16px;
font-size: 24px;
font-weight: 800;
letter-spacing: -0.02em;
line-height: 1.2;
color: var(--ink);
}
.xcontest p {
margin: 0 0 14px;
font-size: 14.5px;
line-height: 1.7;
color: var(--dim);
}
.xcontest a {
color: var(--grn2);
text-decoration: none;
font-weight: 600;
}
.xcontest a:hover {
text-decoration: underline;
}
.xc-intro-grid,
.xc-panel-grid,
.xc-rules-grid,
.xc-support-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
align-items: start;
}
.xc-prize-list {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 28px;
}
.xc-prize {
display: flex;
align-items: center;
gap: 14px;
padding: 14px 18px;
border-radius: 10px;
border: 1.5px solid var(--border);
}
.prize-medal {
font-size: 22px;
flex-shrink: 0;
}
.prize-place {
display: block;
font-size: 13px;
font-weight: 700;
color: var(--ink);
letter-spacing: 0.01em;
}
.prize-value {
display: block;
font-size: 12px;
color: var(--mute);
margin-top: 2px;
}
.prize-gold {
background: linear-gradient(120deg, #fffbf0 0%, #fff 100%);
border-color: #e8d88a;
}
.prize-silver {
background: linear-gradient(120deg, #f7f9fa 0%, #fff 100%);
border-color: #c8d5da;
}
.prize-bronze {
background: #ffffff;
}
.xc-timeline {
border-top: 1.5px solid var(--border);
padding-top: 20px;
}
.xc-timeline .xc-lbl {
display: block;
margin-bottom: 10px;
}
.timeline-row {
display: flex;
align-items: baseline;
gap: 10px;
font-size: 14px;
color: var(--dim);
margin-bottom: 8px;
line-height: 1.5;
}
.timeline-dot {
display: inline-block;
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--grn2);
flex-shrink: 0;
margin-top: 5px;
}
.xc-judge-list {
display: flex;
flex-direction: column;
gap: 0;
border: 1.5px solid var(--border);
border-radius: 12px;
overflow: hidden;
}
.xc-judge {
display: grid;
grid-template-columns: 1fr 1fr auto;
align-items: center;
gap: 8px;
padding: 13px 16px;
border-bottom: 1px solid var(--border);
}
.xc-judge:last-child {
border-bottom: none;
}
.judge-handle {
font-size: 14px;
font-weight: 700;
color: var(--ink);
}
.judge-role {
font-size: 12px;
color: var(--mute);
line-height: 1.4;
}
.judge-link {
font-family: ui-monospace, monospace;
font-size: 11px;
color: var(--teal2);
text-decoration: none;
white-space: nowrap;
font-weight: 600;
}
.judge-link:hover {
text-decoration: underline;
}
.xc-examples {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 12px;
margin-top: 16px;
}
.xc-example-group {
display: flex;
flex-direction: column;
gap: 4px;
padding: 14px 16px;
background: var(--hover-bg);
border-radius: 10px;
border: 1px solid var(--border);
}
.example-heading {
font-size: 12px;
font-weight: 700;
color: var(--ink);
margin-bottom: 6px;
letter-spacing: 0.01em;
}
.xc-example-group span:not(.example-heading) {
font-size: 12.5px;
color: var(--mute);
line-height: 1.5;
}
.xc-rule-list {
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex-direction: column;
gap: 0;
border: 1.5px solid var(--border);
border-radius: 12px;
overflow: hidden;
}
.xc-rule-list li {
padding: 11px 16px;
font-size: 13.5px;
color: var(--dim);
line-height: 1.55;
border-bottom: 1px solid var(--border);
}
.xc-rule-list li:last-child {
border-bottom: none;
}
.xc-rule-list li strong {
color: var(--ink);
}
.xc-rule-list li a {
color: var(--grn2);
}
.xc-criteria {
display: flex;
flex-direction: column;
gap: 0;
border: 1.5px solid var(--border);
border-radius: 12px;
overflow: hidden;
margin-bottom: 28px;
}
.criterion {
padding: 12px 16px;
border-bottom: 1px solid var(--border);
}
.criterion:last-child {
border-bottom: none;
}
.criterion-label {
display: block;
font-size: 13px;
font-weight: 700;
color: var(--ink);
margin-bottom: 3px;
}
.criterion-desc {
display: block;
font-size: 12.5px;
color: var(--mute);
line-height: 1.45;
}
.xc-format {
border-top: 1.5px solid var(--border);
padding-top: 22px;
margin-top: 4px;
}
.xc-format .xc-lbl {
display: block;
}
.format-example {
background: var(--hover-bg);
border: 1px solid var(--border);
border-radius: 6px;
padding: 10px 14px;
margin: 10px 0 12px;
}
.format-example code {
font-family: ui-monospace, monospace;
font-size: 12px;
color: var(--ink);
word-break: break-all;
}
.xc-faq {
margin-top: 28px;
border-top: 1.5px solid var(--border);
padding-top: 20px;
}
.xc-faq .xc-lbl {
display: block;
}
.faq-item {
padding: 12px 0;
border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
border-bottom: none;
}
.faq-q {
display: block;
font-size: 13.5px;
font-weight: 700;
color: var(--ink);
margin-bottom: 4px;
}
.faq-a {
display: block;
font-size: 13px;
color: var(--mute);
line-height: 1.5;
}
.ownership-note {
font-size: 13px;
color: var(--mute);
margin-top: -6px;
}
.xc-link-list {
display: flex;
flex-direction: column;
gap: 0;
border: 1.5px solid var(--border);
border-radius: 12px;
overflow: hidden;
margin-bottom: 28px;
}
.xc-resource-link {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
border-bottom: 1px solid var(--border);
text-decoration: none;
transition: background 0.15s;
color: inherit;
}
.xc-resource-link:last-child {
border-bottom: none;
}
.xc-resource-link:hover {
background: var(--hover-bg);
text-decoration: none;
}
.resource-name {
font-size: 14px;
font-weight: 500;
color: var(--dim);
}
.resource-arrow {
font-size: 13px;
color: var(--teal2);
font-weight: 700;
}
@media (max-width: 900px) {
.xc-intro-grid,
.xc-panel-grid,
.xc-rules-grid,
.xc-support-grid {
grid-template-columns: 1fr;
}
.xc-examples {
grid-template-columns: 1fr 1fr;
}
.xc-judge {
grid-template-columns: 1fr 1fr;
}
.judge-link {
grid-column: span 2;
}
}
@media (max-width: 640px) {
.xcontest {
padding: 32px 20px 48px;
border-radius: 16px;
}
.xcontest h2 {
font-size: 28px;
}
.xc-head {
flex-direction: column;
gap: 14px;
}
.xc-examples {
grid-template-columns: 1fr;
}
.xc-judge {
grid-template-columns: 1fr;
}
.judge-link {
grid-column: span 1;
}
}
</style>

View File

@@ -28,6 +28,7 @@ import logoXahscan from '../assets/ecosystem-logos/xahscan.png'
import logoXaman from '../assets/ecosystem-logos/xaman.png'
import logoXrplwin from '../assets/ecosystem-logos/xrplwin.png'
import ecosystemData from '../data/ecosystem.json'
import { defaultLocale, type Locale } from '../i18n/locales'
const logoMap: Record<string, ImageMetadata> = {
xaman: logoXaman,
@@ -45,8 +46,7 @@ const logoMap: Record<string, ImageMetadata> = {
quantoz: logoQuantoz,
}
type Locale = 'en' | 'es' | 'ja' | 'pt-BR'
const locale = (Astro.currentLocale ?? 'en') as Locale
const locale = (Astro.currentLocale ?? defaultLocale) as Locale
const meta = ecosystemData.meta
const L = (rec: Record<string, string>) => rec[locale] ?? rec['en'] ?? Object.values(rec)[0]
@@ -66,15 +66,15 @@ const sections = ecosystemData.sections.map((section) =>
<!-- ══ PAGE HEADER ══════════════════════════════════════════════════════ -->
<header class="xe-head">
<div class="xe-head-title">
<h2>{L(meta.title)}</h2>
<h2>{ecosystemData.title[locale]}</h2>
<p class="xe-sub">
{sections.map(s => L(s.label)).join(', ')}
{L(meta.subtitle_suffix)}
{sections.map(s => s.label[locale]).join(', ')}
{ecosystemData.buildonxahau[locale]}
</p>
</div>
<div class="xe-chips">
{sections.map(s => (
<span class="xe-chip">{s.items.length} {L(s.label)}</span>
<span class="xe-chip">{s.items.length} {s.label[locale]}</span>
))}
</div>
</header>
@@ -161,7 +161,7 @@ const sections = ecosystemData.sections.map((section) =>
)
})}
<p class="xe-tm">{L(meta.trademark)}</p>
<p class="xe-tm">{ecosystemData.trademark[locale]}</p>
</section>
<style>

View File

@@ -1,37 +1,34 @@
---
/**
* XahauFeatures.astro — Hand-crafted editorial layout
* XahauFeatures.astro — Hand-crafted editorial layout (i18n unified)
*
* No JSON, no loops. Each feature section is individually composed.
* Three thematic acts: Protocol · Finance · Governance.
* Statement openers + varied pair/trio detail sections.
*
* Edit content directly in this file.
* For ES/JA: duplicate this file and translate in-place.
* Translations live in src/i18n/featuresTranslations.ts
*/
import consensusGraphic from '../assets/enterprise/consensus.svg'
import globalGraphic from '../assets/enterprise/global.svg'
import hooksGraphic from '../assets/enterprise/hooks.svg'
import { featuresTranslations } from '../i18n/featuresTranslations'
import { defaultLocale, type Locale } from '../i18n/locales'
interface Props {
lang?: string
}
const { lang = 'en' } = Astro.props
const locale = (Astro.currentLocale ?? defaultLocale) as Locale
const t = featuresTranslations[locale] ?? featuresTranslations.en
---
<section class="xfeat" aria-label="Xahau Features">
<!-- ══ PAGE HEADER ══════════════════════════════════════════════════════ -->
<header class="xf-head">
<div class="xf-head-title">
<h2>Features</h2>
<p class="xf-sub">Proven technology with a fresh approach</p>
<h2>{t.page_title}</h2>
<p class="xf-sub">{t.page_subtitle}</p>
</div>
<div class="xf-chips">
<span class="xf-chip">10+ Protocol Features</span>
<span class="xf-chip">Native DEX</span>
<span class="xf-chip">NFTs Built-In</span>
<span class="xf-chip">No Runtime Overhead</span>
<span class="xf-chip">{t.chip1}</span>
<span class="xf-chip">{t.chip2}</span>
<span class="xf-chip">{t.chip3}</span>
<span class="xf-chip">{t.chip4}</span>
</div>
</header>
@@ -40,36 +37,16 @@ const { lang = 'en' } = Astro.props
══════════════════════════════════════════════════════════════════════════ -->
<div class="xf-act act-proto">
<p class="xf-act-label">
<span class="act-pip pip-grn"></span>Protocol Layer
<span class="act-pip pip-grn"></span>{t.act1_label}
</p>
<!-- HOOKS ─ statement opener ────────────────────────────────────────── -->
<div class="xf-statement stmt-proto">
<div class="xf-stmt-body">
<span class="xf-lbl lbl-proto">Programmability</span>
<h3>
Hooks: Account-Level
<br>
Smart Contract Logic
</h3>
<p>
Xahau introduces Hooks—a unique form of on-ledger smart contract logic
that runs directly at the account level. Unlike smart contracts on
most blockchains that require interacting with external contract
addresses, Hooks are lightweight programs embedded inside user
accounts themselves. These Hooks can automatically inspect, modify, or
reject any transaction involving that account, without the need for
explicit function calls.
</p>
<p>
Because Hooks are executed inline and within consensus, they offer
real-time programmability with minimal overhead. This allows for
powerful use cases such as rejecting unauthorized token transfers,
triggering actions on deposits, or implementing compliance logic—all
without slowing down the network. Hooks represent a new security and
programmability paradigm, making accounts active participants in
transaction logic.
</p>
<span class="xf-lbl lbl-proto">{t.proto_section_label}</span>
<h3>{t.proto_h3_line1}<br>{t.proto_h3_line2}</h3>
<p>{t.proto_para1}</p>
<p>{t.proto_para2}</p>
</div>
<div class="xf-stmt-graphic">
<img
@@ -84,60 +61,27 @@ const { lang = 'en' } = Astro.props
<!-- DEX + FEES ─ asymmetric pair ────────────────────────────────────── -->
<div class="xf-pair pair-6040">
<div class="xf-detail">
<span class="xf-lbl lbl-proto">Exchange</span>
<h4>Offers: Built-In Decentralized Exchange (DEX)</h4>
<p>
Xahau includes a native Offers system, powering a built-in
decentralized exchange on the ledger. Users can create Offer entries
to buy or sell assets (such as tokens or issued currencies) directly
on the network, and these offers are automatically matched by the
protocol's order book.
</p>
<p>
Unlike many blockchains that require smart contracts or external
platforms for trading, Xahau's DEX is a first-class feature of the
ledger. This on-ledger exchange offers fast settlement and low fees,
making asset trading seamless for users and applications.
</p>
<span class="xf-lbl lbl-proto">{t.dex_label}</span>
<h4>{t.dex_h4}</h4>
<p>{t.dex_para1}</p>
<p>{t.dex_para2}</p>
</div>
<div class="xf-detail">
<span class="xf-lbl lbl-proto">Economics</span>
<h4>Low Fees with Fee Burning</h4>
<p>
Xahau maintains consistently low transaction fees, with a built-in
fee-burning model that reduces spam and rewards long-term network
health. Every transaction pays a minimal fee in XAH, and a portion of
that fee is permanently destroyed—creating a deflationary effect over
time.
</p>
<p>
This approach discourages network abuse while preserving
accessibility, particularly for high-throughput or cost-sensitive
applications. Unlike inflationary models or auction-style fees, Xahau
provides predictability and economic alignment for all users.
</p>
<span class="xf-lbl lbl-proto">{t.fees_label}</span>
<h4>{t.fees_h4}</h4>
<p>{t.fees_para1}</p>
<p>{t.fees_para2}</p>
</div>
</div>
<!-- PERFORMANCE ─ solo wide ─────────────────────────────────────────── -->
<div class="xf-solo">
<span class="xf-lbl lbl-proto">Infrastructure</span>
<h4>Fast, Green, and Scalable</h4>
<span class="xf-lbl lbl-proto">{t.perf_label}</span>
<h4>{t.perf_h4}</h4>
<div class="xf-solo-cols">
<p>
Built on a refined version of XRPL's consensus protocol, Xahau offers
fast finality, low energy usage, and reliable scalability.
Transactions confirm in seconds, with no mining and minimal hardware
requirements. The result is a network that can serve real-world
financial and enterprise use cases without compromising the
environment or user experience.
</p>
<p>
Xahau's architecture is ideal for global payment systems, tokenized
asset platforms, or high-volume applications where performance and
sustainability are non-negotiable.
</p>
<p>{t.perf_para1}</p>
<p>{t.perf_para2}</p>
</div>
</div>
</div><!-- /act-proto -->
@@ -147,44 +91,20 @@ const { lang = 'en' } = Astro.props
══════════════════════════════════════════════════════════════════════════ -->
<div class="xf-act act-fin">
<p class="xf-act-label">
<span class="act-pip pip-teal"></span>Financial Primitives
<span class="act-pip pip-teal"></span>{t.act2_label}
</p>
<!-- PAYMENTS ─ statement opener ─────────────────────────────────────── -->
<div class="xf-statement stmt-fin">
<div class="xf-stmt-body">
<span class="xf-lbl lbl-fin">Payments</span>
<span class="xf-lbl lbl-fin">{t.pay_section_label}</span>
<h3>
Payments:
<br>
Multi-Asset Transfers
<br>
&amp; Channels
{t.pay_h3_line1}<br>{t.pay_h3_line2}
{t.pay_h3_line3 ? <><br />{t.pay_h3_line3}</> : null}
</h3>
<p>
The Payments functionality in Xahau is designed to facilitate fast,
flexible transfer of value across the network. Uniquely, Xahau (like
XRPL) supports multi-asset payments through a system of trust lines
and issued currencies. Using a TrustSet transaction, two parties can
establish a trust line to transact in a custom asset or IOU, enabling
built-in support for multiple currencies or tokens without requiring
smart contracts.
</p>
<p>
This means businesses can issue stablecoins or tokens on Xahau and
users can send or exchange them natively. The Payments suite also
includes advanced features like Deposit Preauthorization, which lets
an account whitelist who can send it funds, adding security against
unwanted transactions.
</p>
<p>
In addition, Xahau supports payment channels for scalability. Payment
channels allow two parties to conduct rapid, high-volume transactions
off-ledger and then settle the net result on the blockchain. With
transactions like PaymentChannelCreate, Fund, and Claim, Xahau enables
micropayments or streaming payments that are secured by the ledger but
don't congest it.
</p>
<p>{t.pay_para1}</p>
<p>{t.pay_para2}</p>
<p>{t.pay_para3}</p>
</div>
<div class="xf-stmt-graphic">
<img
@@ -199,98 +119,41 @@ const { lang = 'en' } = Astro.props
<!-- TOKENS + REWARDS ─ pair ─────────────────────────────────────────── -->
<div class="xf-pair pair-5545">
<div class="xf-detail">
<span class="xf-lbl lbl-fin">Asset Control</span>
<h4>Token and Asset Control by Design</h4>
<p>
Xahau gives issuers and users granular control over tokens and
trustlines. Features like TrustSet, Clawback, Freeze, and Deposit
Authorization allow full customization of how tokens can be used or
received. Assets can be whitelisted, blocked, or burned, all enforced
at the protocol level.
</p>
<p>
This makes Xahau uniquely suited for regulated financial instruments,
stablecoins, loyalty programs, or enterprise supply chains—any
scenario where compliance, safety, and precision are critical.
</p>
<span class="xf-lbl lbl-fin">{t.tokens_label}</span>
<h4>{t.tokens_h4}</h4>
<p>{t.tokens_para1}</p>
<p>{t.tokens_para2}</p>
</div>
<div class="xf-detail">
<span class="xf-lbl lbl-fin">Economics</span>
<h4>Balance Rewards: Passive Yield Without Staking</h4>
<p>
Xahau offers a Balance Reward system that lets accounts passively
accumulate value simply by holding assets. These rewards are
calculated based on account balance and distributed through a
consensus-enforced mechanism, without requiring staking, delegation,
or third-party contracts.
</p>
<p>
The mechanism is powered by protocol-level logic and on-chain Hooks,
ensuring rewards are automatic, fair, and sustainable. Unlike yield
farming or staking systems on other blockchains, Xahau's reward model
doesn't require users to lock assets or chase complex DeFi
strategies—it works natively, with transparency and simplicity.
</p>
<span class="xf-lbl lbl-fin">{t.rewards_label}</span>
<h4>{t.rewards_h4}</h4>
<p>{t.rewards_para1}</p>
<p>{t.rewards_para2}</p>
</div>
</div>
<!-- ESCROW + REMIT + CHECKS ─ trio ──────────────────────────────────── -->
<div class="xf-trio">
<div class="xf-detail">
<span class="xf-lbl lbl-fin">Primitives</span>
<h4>Escrow: Conditional Transfers for Any Asset</h4>
<p>
Xahau supports on-ledger escrow of both native and issued tokens,
enabling secure conditional transfers for a broad range of business
and financial use cases. Funds or tokens can be locked with time-based
or condition-based release logic, enforced by the network itself.
</p>
<p>
Whether you're building a milestone-based payment system, marketplace
settlement, or trusted token distribution, Xahau's escrows offer a
simple yet powerful tool—without the need for external smart
contracts. Native support for both fungible and non-fungible assets in
escrow makes this a uniquely versatile feature.
</p>
<span class="xf-lbl lbl-fin">{t.escrow_label}</span>
<h4>{t.escrow_h4}</h4>
<p>{t.escrow_para1}</p>
<p>{t.escrow_para2}</p>
</div>
<div class="xf-detail">
<span class="xf-lbl lbl-fin">Payments</span>
<h4>Remit: Native Cross-Account Transfers</h4>
<p>
The Remit feature allows streamlined, multi-operation transactions
between accounts—ideal for complex or high-volume payment flows.
Instead of sending multiple separate instructions, a single Remit
transaction can distribute value to multiple recipients or trigger
multiple balance changes atomically.
</p>
<p>
This improves efficiency and reliability, especially for payment
processors, marketplaces, or applications that need to perform bundled
operations. Because it's built into the protocol, Remit ensures
predictable performance, low latency, and strong auditability.
</p>
<span class="xf-lbl lbl-fin">{t.remit_label}</span>
<h4>{t.remit_h4}</h4>
<p>{t.remit_para1}</p>
<p>{t.remit_para2}</p>
</div>
<div class="xf-detail">
<span class="xf-lbl lbl-fin">Payments</span>
<h4>Checks: Deferred Payment System</h4>
<p>
Xahau supports Checks, a deferred payment system akin to writing
digital checks on the blockchain. One party can issue a Check (promise
of payment) that the intended recipient may cash at a later time or
cancel if needed. This feature allows secure, flexible
transactions—for example, a business can issue payment that the
receiver will claim when certain conditions are met.
</p>
<p>
The ledger has dedicated transactions for creating a check, cashing
it, or canceling it. Few other platforms have this kind of native
deferred payment instrument; Xahau's check system provides an extra
layer of payment control, all enforced by the network's rules without
requiring custom smart contracts.
</p>
<span class="xf-lbl lbl-fin">{t.checks_label}</span>
<h4>{t.checks_h4}</h4>
<p>{t.checks_para1}</p>
<p>{t.checks_para2}</p>
</div>
</div>
</div><!-- /act-fin -->
@@ -300,35 +163,16 @@ const { lang = 'en' } = Astro.props
══════════════════════════════════════════════════════════════════════════ -->
<div class="xf-act act-gov">
<p class="xf-act-label">
<span class="act-pip pip-vlt"></span>Governance &amp; Identity
<span class="act-pip pip-vlt"></span>{t.act3_label}
</p>
<!-- GOVERNANCE ─ statement opener ──────────────────────────────────── -->
<div class="xf-statement stmt-gov">
<div class="xf-stmt-body">
<span class="xf-lbl lbl-gov">Governance</span>
<h3>
Governance Game:
<br>
Decentralized Coordination
<br>
with Purpose
</h3>
<p>
Xahau features a novel governance system backed by the Governance
Game, a transparent, on-ledger mechanism for proposing, reviewing, and
voting on amendments. Validator operators (Governors) participate
directly in shaping the protocol, while also competing in a structured
reward system based on accountability and engagement.
</p>
<p>
This system ensures that protocol upgrades and policy decisions are
open and participatory, not dictated by a centralized entity. It
combines the benefits of structured enterprise coordination with the
transparency and resilience of decentralized consensus. By gamifying
governance in a secure and incentive-aligned way, Xahau sets a new
standard for on-chain coordination.
</p>
<span class="xf-lbl lbl-gov">{t.gov_section_label}</span>
<h3>{t.gov_h3_line1}<br>{t.gov_h3_line2}<br>{t.gov_h3_line3}</h3>
<p>{t.gov_para1}</p>
<p>{t.gov_para2}</p>
</div>
<div class="xf-stmt-graphic">
<img
@@ -343,35 +187,21 @@ const { lang = 'en' } = Astro.props
<!-- URITOKENS ─ closing section ─────────────────────────────────────── -->
<div class="xf-closing">
<div class="xf-closing-inner">
<span class="xf-lbl lbl-gov">NFTs</span>
<h4>URITokens: Native NFTs on Xahau</h4>
<p>
URITokens represent Xahau's approach to non-fungible tokens (NFTs),
implemented as a native part of the ledger rather than via separate
smart contracts. A URIToken is a first-class on-ledger object uniquely
identified by the issuing account and a Uniform Resource Identifier
(URI) that typically points to the token's metadata or content. Only
one URIToken with a given URI can exist per account, ensuring true
uniqueness for each digital asset.
</p>
<p>
This built-in NFT standard means creators can mint, trade, or burn
NFTs with simple transactions (e.g. URITokenMint, URITokenBuy,
URITokenBurn) without deploying custom code. The issuer of a URIToken
can even allow it to be destroyed (burned) by setting a flag, giving
flexibility in how NFTs are managed. By integrating NFTs at the
protocol level, Xahau makes issuing and managing digital collectibles
or credentials more efficient and secure.
</p>
<span class="xf-lbl lbl-gov">{t.uri_label}</span>
<h4>{t.uri_h4}</h4>
<p>{t.uri_para1}</p>
<p>{t.uri_para2}</p>
</div>
</div>
</div><!-- /act-gov -->
</section>
<style>
/* ══════════════════════════════════════════════════════════════════════════
Design tokens
══════════════════════════════════════════════════════════════════════════ */
/**
* ══════════════════════════════════════════════════════════════════════════
* Design tokens
* ══════════════════════════════════════════════════════════════════════════
*/
.xfeat {
--ink: #0f2328;
--dim: #2d3e44;
@@ -396,9 +226,10 @@ const { lang = 'en' } = Astro.props
box-sizing: border-box;
}
/* ══════════════════════════════════════════════════════════════════════════
Page header
══════════════════════════════════════════════════════════════════════════ */
/**
* Page header
* ══════════════════════════════════════════════════════════════════════════
*/
.xf-head {
display: flex;
justify-content: space-between;
@@ -438,9 +269,11 @@ const { lang = 'en' } = Astro.props
letter-spacing: 0.03em;
}
/* ══════════════════════════════════════════════════════════════════════════
Acts
══════════════════════════════════════════════════════════════════════════ */
/**
* ══════════════════════════════════════════════════════════════════════════
* Acts
* ══════════════════════════════════════════════════════════════════════════
*/
.xf-act {
padding-top: 52px;
}
@@ -474,9 +307,11 @@ const { lang = 'en' } = Astro.props
background: var(--vlt2);
}
/* ══════════════════════════════════════════════════════════════════════════
Labels
══════════════════════════════════════════════════════════════════════════ */
/**
* ══════════════════════════════════════════════════════════════════════════
* Labels
* ══════════════════════════════════════════════════════════════════════════
*/
.xf-lbl {
display: inline-block;
font-family: ui-monospace, monospace;
@@ -501,9 +336,11 @@ const { lang = 'en' } = Astro.props
background: rgba(91, 30, 200, 0.1);
}
/* ══════════════════════════════════════════════════════════════════════════
Statement sections
══════════════════════════════════════════════════════════════════════════ */
/**
* ══════════════════════════════════════════════════════════════════════════
* Statement sections
* ══════════════════════════════════════════════════════════════════════════
*/
.xf-statement {
display: flex;
align-items: center;
@@ -566,9 +403,11 @@ const { lang = 'en' } = Astro.props
margin-bottom: 0;
}
/* ══════════════════════════════════════════════════════════════════════════
Detail sections — pairs and trios
══════════════════════════════════════════════════════════════════════════ */
/**
* ══════════════════════════════════════════════════════════════════════════
* Detail sections — pairs and trios
* ══════════════════════════════════════════════════════════════════════════
*/
.xf-pair,
.xf-trio {
display: grid;
@@ -617,9 +456,11 @@ const { lang = 'en' } = Astro.props
margin-bottom: 0;
}
/* ══════════════════════════════════════════════════════════════════════════
Solo wide section
══════════════════════════════════════════════════════════════════════════ */
/**
* ══════════════════════════════════════════════════════════════════════════
* Solo wide section
* ══════════════════════════════════════════════════════════════════════════
*/
.xf-solo {
padding: 52px 0 52px 28px;
}
@@ -643,9 +484,11 @@ const { lang = 'en' } = Astro.props
margin: 0;
}
/* ══════════════════════════════════════════════════════════════════════════
Closing section
══════════════════════════════════════════════════════════════════════════ */
/**
* ══════════════════════════════════════════════════════════════════════════
* Closing section
* ══════════════════════════════════════════════════════════════════════════
*/
.xf-closing {
padding: 52px 0 52px 28px;
}
@@ -669,9 +512,11 @@ const { lang = 'en' } = Astro.props
margin-bottom: 0;
}
/* ══════════════════════════════════════════════════════════════════════════
Responsive
══════════════════════════════════════════════════════════════════════════ */
/**
* ══════════════════════════════════════════════════════════════════════════
* Responsive
* ══════════════════════════════════════════════════════════════════════════
*/
@media (max-width: 900px) {
.xf-statement {
flex-direction: column;

View File

@@ -1,665 +0,0 @@
---
/**
* XahauFeaturesEs.astro — Versión en español del layout editorial
*
* Sin JSON, sin bucles. Cada sección está compuesta individualmente.
* Tres actos temáticos: Protocolo · Finanzas · Gobernanza.
*
* Edita el contenido directamente en este archivo.
*/
import consensusGraphic from '../assets/enterprise/consensus.svg'
import globalGraphic from '../assets/enterprise/global.svg'
import hooksGraphic from '../assets/enterprise/hooks.svg'
---
<section class="xfeat" aria-label="Características de Xahau">
<!-- ══ ENCABEZADO ═══════════════════════════════════════════════════════ -->
<header class="xf-head">
<div class="xf-head-title">
<h2>Características</h2>
<p class="xf-sub">Tecnología probada con un enfoque innovador</p>
</div>
<div class="xf-chips">
<span class="xf-chip">10+ Funciones de Protocolo</span>
<span class="xf-chip">DEX Nativo</span>
<span class="xf-chip">NFTs Integrados</span>
<span class="xf-chip">Sin Sobrecarga de Ejecución</span>
</div>
</header>
<!-- ══════════════════════════════════════════════════════════════════════
ACTO I — CAPA DE PROTOCOLO
══════════════════════════════════════════════════════════════════════════ -->
<div class="xf-act act-proto">
<p class="xf-act-label">
<span class="act-pip pip-grn"></span>Capa de Protocolo
</p>
<!-- HOOKS ─ sección principal ───────────────────────────────────────── -->
<div class="xf-statement stmt-proto">
<div class="xf-stmt-body">
<span class="xf-lbl lbl-proto">Programabilidad</span>
<h3>
Hooks: Lógica de Contrato
<br>
Inteligente a Nivel de Cuenta
</h3>
<p>
Xahau introduce los Hooks, una forma única de lógica de contrato
inteligente on-ledger que se ejecuta directamente a nivel de cuenta. A
diferencia de los contratos inteligentes en la mayoría de blockchains,
que requieren interactuar con direcciones de contratos externas, los
Hooks son programas ligeros incrustados dentro de las propias cuentas
de usuario. Estos Hooks pueden inspeccionar, modificar o rechazar
automáticamente cualquier transacción que involucre esa cuenta, sin
necesidad de llamadas a funciones explícitas.
</p>
<p>
Dado que los Hooks se ejecutan inline y dentro del consenso, ofrecen
programabilidad en tiempo real con una sobrecarga mínima. Rechaza
transferencias de tokens no autorizadas, desencadena acciones en
depósitos, implementa lógica de cumplimiento normativo — todo sin
ralentizar la red. Los Hooks representan un nuevo paradigma de
seguridad y programabilidad.
</p>
</div>
<div class="xf-stmt-graphic">
<img
src={hooksGraphic.src}
width="380"
height="380"
alt="Hooks smart contract logic illustration"
>
</div>
</div>
<!-- DEX + COMISIONES ─ par asimétrico ───────────────────────────────── -->
<div class="xf-pair pair-6040">
<div class="xf-detail">
<span class="xf-lbl lbl-proto">Exchange</span>
<h4>Ofertas: Exchange Descentralizado (DEX) Integrado</h4>
<p>
Xahau incluye un sistema de Ofertas nativo, que impulsa un exchange
descentralizado integrado en el ledger. Los usuarios pueden crear
entradas de Oferta para comprar o vender activos directamente en la
red; el libro de órdenes del protocolo las empareja automáticamente.
Intercambio entre pares sin intermediarios ni plataformas externas.
</p>
<p>
A diferencia de la mayoría de blockchains que necesitan contratos
inteligentes para el trading, el DEX de Xahau es una característica de
primera clase del ledger — liquidación rápida, bajas comisiones,
integración perfecta.
</p>
</div>
<div class="xf-detail">
<span class="xf-lbl lbl-proto">Economía</span>
<h4>Bajas Comisiones con Quema de Fees</h4>
<p>
Comisiones de transacción consistentemente bajas, respaldadas por un
modelo integrado de quema de fees que reduce el spam y premia la salud
a largo plazo de la red. Cada transacción paga una comisión mínima en
XAH; una parte se destruye permanentemente — un silencioso efecto
deflacionario.
</p>
<p>
A diferencia de los modelos inflacionarios o las comisiones de tipo
subasta, Xahau proporciona previsibilidad y alineación económica para
todos los usuarios.
</p>
</div>
</div>
<!-- RENDIMIENTO ─ sección amplia ────────────────────────────────────── -->
<div class="xf-solo">
<span class="xf-lbl lbl-proto">Infraestructura</span>
<h4>Rápido, Verde y Escalable</h4>
<div class="xf-solo-cols">
<p>
Construido sobre una versión refinada del protocolo de consenso del
XRPL, Xahau ofrece finalidad rápida, bajo consumo de energía y
escalabilidad fiable. Las transacciones se confirman en segundos — sin
minería, requisitos mínimos de hardware.
</p>
<p>
El resultado es una red que puede servir casos de uso financieros y
empresariales del mundo real sin comprometer el medio ambiente ni la
experiencia del usuario. Ideal para sistemas de pago globales, activos
tokenizados o aplicaciones de alto volumen donde el rendimiento y la
sostenibilidad son innegociables.
</p>
</div>
</div>
</div><!-- /act-proto -->
<!-- ══════════════════════════════════════════════════════════════════════
ACTO II — PRIMITIVAS FINANCIERAS
══════════════════════════════════════════════════════════════════════════ -->
<div class="xf-act act-fin">
<p class="xf-act-label">
<span class="act-pip pip-teal"></span>Primitivas Financieras
</p>
<!-- PAGOS ─ sección principal ───────────────────────────────────────── -->
<div class="xf-statement stmt-fin">
<div class="xf-stmt-body">
<span class="xf-lbl lbl-fin">Pagos</span>
<h3>
Transferencias Multi-Activo
<br>y Canales de Pago
</h3>
<p>
Xahau soporta pagos multi-activo a través de un sistema de líneas de
confianza y monedas emitidas. Usando una transacción TrustSet, dos
partes pueden establecer una línea de confianza para transaccionar en
cualquier activo personalizado o IOU — soporte integrado para
múltiples monedas y tokens, sin contratos inteligentes.
</p>
<p>
Las empresas pueden emitir stablecoins o tokens en Xahau; los usuarios
los envían e intercambian de forma nativa. La suite de Pagos también
incluye Preautorización de Depósito, que permite a las cuentas incluir
en una lista blanca quién puede enviarles fondos — seguridad contra
transacciones no deseadas.
</p>
<p>
Y para escala: Xahau soporta canales de pago que permiten
transacciones rápidas y de alto volumen fuera del ledger con
liquidación on-chain. Micropagos, pagos en streaming — asegurados por
el ledger sin congestionarlo.
</p>
</div>
<div class="xf-stmt-graphic">
<img
src={globalGraphic.src}
width="380"
height="380"
alt="Global network infrastructure illustration"
>
</div>
</div>
<!-- TOKENS + RECOMPENSAS ─ par ──────────────────────────────────────── -->
<div class="xf-pair pair-5545">
<div class="xf-detail">
<span class="xf-lbl lbl-fin">Control de Activos</span>
<h4>Control de Tokens y Activos por Diseño</h4>
<p>
Control granular sobre tokens y líneas de confianza. TrustSet,
Clawback, Freeze y Deposit Authorization permiten una personalización
completa de cómo se pueden usar o recibir los tokens. Los activos
pueden ser incluidos en listas blancas, bloqueados o quemados — todo
aplicado a nivel de protocolo.
</p>
<p>
Especialmente adecuado para instrumentos financieros regulados,
stablecoins, programas de fidelización o cadenas de suministro
empresariales donde el cumplimiento normativo, la seguridad y la
precisión son críticos.
</p>
</div>
<div class="xf-detail">
<span class="xf-lbl lbl-fin">Economía</span>
<h4>Recompensas de Saldo: Rendimiento Pasivo Sin Staking</h4>
<p>
Las cuentas acumulan valor pasivamente simplemente manteniendo
activos. Las recompensas se calculan en función del saldo de la cuenta
y se distribuyen mediante un mecanismo aplicado por consenso — sin
staking, sin delegación, sin contratos de terceros.
</p>
<p>
A diferencia del yield farming en otros lugares, el modelo de
recompensas de Xahau funciona de forma nativa, transparente y
automática.
</p>
</div>
</div>
<!-- ESCROW + REMIT + CHEQUES ─ trío ─────────────────────────────────── -->
<div class="xf-trio">
<div class="xf-detail">
<span class="xf-lbl lbl-fin">Primitivas</span>
<h4>Escrow</h4>
<p>
Escrow on-ledger para tokens nativos y emitidos. Los fondos se
bloquean con lógica de liberación basada en tiempo o condiciones,
aplicada por la propia red — sin contratos inteligentes externos.
</p>
<p>
Pagos por hitos, liquidación de marketplace, distribución de confianza
— soporte nativo para activos fungibles y no fungibles en escrow.
</p>
</div>
<div class="xf-detail">
<span class="xf-lbl lbl-fin">Pagos</span>
<h4>Remit</h4>
<p>
Transacciones multi-operación simplificadas entre cuentas. Un solo
Remit puede distribuir valor a múltiples destinatarios o desencadenar
múltiples cambios de saldo de forma atómica — sin pila de
instrucciones separadas.
</p>
<p>
Rendimiento predecible, baja latencia, sólida trazabilidad para
procesadores de pago y marketplaces. Integrado en el protocolo.
</p>
</div>
<div class="xf-detail">
<span class="xf-lbl lbl-fin">Pagos</span>
<h4>Cheques</h4>
<p>
Un sistema de pago diferido — como escribir cheques digitales
on-chain. Emite un Cheque que el destinatario cobra más tarde, o
cancela si es necesario. Control de pago adicional, aplicado puramente
por las reglas de la red.
</p>
<p>
Pocas plataformas tienen un instrumento de pago diferido nativo. Sin
contratos inteligentes personalizados. Solo una primitiva limpia y
simple.
</p>
</div>
</div>
</div><!-- /act-fin -->
<!-- ══════════════════════════════════════════════════════════════════════
ACTO III — GOBERNANZA E IDENTIDAD
══════════════════════════════════════════════════════════════════════════ -->
<div class="xf-act act-gov">
<p class="xf-act-label">
<span class="act-pip pip-vlt"></span>Gobernanza e Identidad
</p>
<!-- GOBERNANZA ─ sección principal ──────────────────────────────────── -->
<div class="xf-statement stmt-gov">
<div class="xf-stmt-body">
<span class="xf-lbl lbl-gov">Gobernanza</span>
<h3>
El Juego de Gobernanza:
<br>
Coordinación Descentralizada
<br>
con Propósito
</h3>
<p>
Xahau cuenta con un novedoso sistema de gobernanza respaldado por el
Juego de Gobernanza — un mecanismo transparente y on-ledger para
proponer, revisar y votar enmiendas. Los operadores de validadores
(Gobernadores) participan directamente en la configuración del
protocolo, compitiendo en un sistema de recompensas estructurado
basado en la responsabilidad y el compromiso.
</p>
<p>
Las actualizaciones del protocolo y las decisiones de política son
abiertas y participativas, no dictadas por una entidad centralizada.
La coordinación empresarial estructurada se une a la transparencia y
resiliencia del consenso descentralizado — estableciendo un nuevo
estándar para la coordinación on-chain.
</p>
</div>
<div class="xf-stmt-graphic">
<img
src={consensusGraphic.src}
width="380"
height="380"
alt="Consensus mechanism illustration"
>
</div>
</div>
<!-- URITOKENS ─ sección de cierre ───────────────────────────────────── -->
<div class="xf-closing">
<div class="xf-closing-inner">
<span class="xf-lbl lbl-gov">NFTs</span>
<h4>URITokens: NFTs Nativos en Xahau</h4>
<p>
Los URITokens representan el enfoque de Xahau hacia los tokens no
fungibles — implementados como una parte nativa del ledger, no
mediante contratos inteligentes separados. Un URIToken es un objeto
on-ledger de primera clase, identificado de forma única por la cuenta
emisora y el URI. Solo puede existir un URIToken con un URI dado por
cuenta, garantizando la verdadera unicidad de cada activo digital.
</p>
<p>
Los creadores acuñan, intercambian o queman NFTs con transacciones
simples — URITokenMint, URITokenBuy, URITokenBurn — sin desplegar
código personalizado. El emisor puede incluso permitir la quema
estableciendo un flag. NFTs a nivel de protocolo: más eficientes, más
seguros, menos fricción.
</p>
</div>
</div>
</div><!-- /act-gov -->
</section>
<style>
/* Design tokens */
.xfeat {
--ink: #0f2328;
--dim: #2d3e44;
--mute: #556068;
--grn2: #007a28;
--teal2: #006f87;
--vlt2: #4e18b8;
--grn-hi: #00c940;
--teal-hi: #00c4e8;
--vlt-hi: #a050ff;
background: #ffffff;
border-radius: 24px;
padding: 48px 56px 72px;
font-family: 'Onest', system-ui, sans-serif;
color: var(--ink);
box-shadow:
0 2px 4px rgba(0, 0, 0, 0.04),
0 20px 64px -24px rgba(15, 35, 40, 0.13);
}
.xfeat * {
box-sizing: border-box;
}
.xf-head {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 24px;
flex-wrap: wrap;
padding-bottom: 40px;
}
.xfeat h2 {
margin: 0;
font-size: 36px;
font-weight: 800;
letter-spacing: -0.03em;
line-height: 1.08;
color: var(--ink);
}
.xf-sub {
margin: 6px 0 0;
font-size: 15px;
color: var(--mute);
}
.xf-chips {
display: flex;
gap: 8px;
flex-wrap: wrap;
align-items: flex-start;
padding-top: 4px;
}
.xf-chip {
font-family: ui-monospace, monospace;
font-size: 11px;
padding: 5px 13px;
border: 1px solid #cdd7dc;
border-radius: 999px;
color: var(--mute);
white-space: nowrap;
letter-spacing: 0.03em;
}
.xf-act {
padding-top: 52px;
}
.xf-act-label {
display: flex;
align-items: center;
gap: 10px;
font-family: ui-monospace, monospace;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--mute);
margin: 0 0 44px;
}
.act-pip {
display: block;
width: 6px;
height: 6px;
border-radius: 50%;
flex-shrink: 0;
}
.pip-grn {
background: var(--grn2);
}
.pip-teal {
background: var(--teal2);
}
.pip-vlt {
background: var(--vlt2);
}
.xf-lbl {
display: inline-block;
font-family: ui-monospace, monospace;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.18em;
text-transform: uppercase;
padding: 3px 9px;
border-radius: 4px;
margin-bottom: 14px;
}
.lbl-proto {
color: var(--grn2);
background: rgba(0, 140, 43, 0.1);
}
.lbl-fin {
color: var(--teal2);
background: rgba(0, 144, 171, 0.1);
}
.lbl-gov {
color: var(--vlt2);
background: rgba(91, 30, 200, 0.1);
}
.xf-statement {
display: flex;
align-items: center;
}
.xf-stmt-body {
flex: 0 0 57%;
max-width: 57%;
padding: 64px 0 64px 28px;
}
.xf-stmt-graphic {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 32px 8px 32px 16px;
opacity: 0.95;
}
.xf-stmt-graphic img {
width: 100%;
max-width: 340px;
height: auto;
display: block;
}
.xf-statement h3 {
margin: 0 0 22px;
font-size: 40px;
font-weight: 800;
line-height: 1.12;
letter-spacing: -0.03em;
color: var(--ink);
}
.stmt-proto h3 {
background: linear-gradient(140deg, #004d1a 15%, var(--grn-hi) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.stmt-fin h3 {
background: linear-gradient(140deg, #003d50 15%, var(--teal-hi) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.stmt-gov h3 {
background: linear-gradient(140deg, #2a0875 15%, var(--vlt-hi) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.xf-statement p {
font-size: 15.5px;
line-height: 1.72;
color: var(--dim);
margin: 0 0 16px;
}
.xf-statement p:last-child {
margin-bottom: 0;
}
.xf-pair,
.xf-trio {
display: grid;
}
.pair-6040 {
grid-template-columns: 3fr 2fr;
}
.pair-5545 {
grid-template-columns: 11fr 9fr;
}
.xf-trio {
grid-template-columns: repeat(3, 1fr);
}
.xf-detail {
padding: 48px 40px 48px 28px;
}
.xf-detail h4 {
margin: 0 0 14px;
font-size: 19px;
font-weight: 700;
line-height: 1.28;
letter-spacing: -0.014em;
color: var(--ink);
}
.act-proto .xf-detail h4,
.act-proto .xf-solo h4 {
color: var(--grn2);
}
.act-fin .xf-detail h4 {
color: var(--teal2);
}
.act-gov .xf-detail h4,
.act-gov .xf-closing h4 {
color: var(--vlt2);
}
.xf-detail p {
font-size: 14px;
line-height: 1.72;
color: var(--dim);
margin: 0 0 12px;
}
.xf-detail p:last-of-type {
margin-bottom: 0;
}
.xf-solo {
padding: 52px 0 52px 28px;
}
.xf-solo h4 {
margin: 0 0 18px;
font-size: 22px;
font-weight: 700;
letter-spacing: -0.016em;
color: var(--ink);
}
.xf-solo-cols {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
max-width: 900px;
}
.xf-solo-cols p {
font-size: 14.5px;
line-height: 1.72;
color: var(--dim);
margin: 0;
}
.xf-closing {
padding: 52px 0 52px 28px;
}
.xf-closing-inner {
max-width: 640px;
}
.xf-closing h4 {
margin: 0 0 16px;
font-size: 22px;
font-weight: 700;
letter-spacing: -0.016em;
color: var(--ink);
}
.xf-closing p {
font-size: 14.5px;
line-height: 1.72;
color: var(--dim);
margin: 0 0 14px;
}
.xf-closing p:last-child {
margin-bottom: 0;
}
@media (max-width: 900px) {
.xf-statement {
flex-direction: column;
align-items: flex-start;
}
.xf-stmt-body {
flex: none;
max-width: 100%;
}
.xf-stmt-graphic {
width: 100%;
padding: 0 0 32px;
opacity: 0.6;
}
.xf-stmt-graphic img {
max-width: 240px;
margin: 0 auto;
}
.xf-pair,
.xf-trio {
grid-template-columns: 1fr;
}
.xf-solo-cols {
grid-template-columns: 1fr;
gap: 0;
}
.xf-solo-cols p {
margin-bottom: 14px;
}
}
@media (max-width: 640px) {
.xfeat {
padding: 32px 24px 48px;
border-radius: 16px;
}
.xfeat h2 {
font-size: 28px;
}
.xf-statement h3 {
font-size: 26px;
}
.xf-head {
flex-direction: column;
gap: 14px;
}
.xf-stmt-body {
padding: 44px 0 44px 22px;
}
.xf-detail {
padding: 36px 20px 36px 22px;
}
}
</style>

View File

@@ -1,618 +0,0 @@
---
/**
* XahauFeaturesJa.astro — 日本語版 手作りエディトリアルレイアウト
*
* JSONなし、ループなし。各セクションを個別に構成。
* 三つのテーマ別アクト:プロトコル層・金融プリミティブ・ガバナンスとアイデンティティ
*
* コンテンツはこのファイルで直接編集してください。
*/
import consensusGraphic from '../assets/enterprise/consensus.svg'
import globalGraphic from '../assets/enterprise/global.svg'
import hooksGraphic from '../assets/enterprise/hooks.svg'
---
<section class="xfeat" aria-label="Xahau の機能">
<!-- ══ ページヘッダー ════════════════════════════════════════════════════ -->
<header class="xf-head">
<div class="xf-head-title">
<h2>機能</h2>
<p class="xf-sub">実証された技術と革新的なアプローチ</p>
</div>
<div class="xf-chips">
<span class="xf-chip">10以上のプロトコル機能</span>
<span class="xf-chip">ネイティブDEX</span>
<span class="xf-chip">NFT組み込み済み</span>
<span class="xf-chip">実行オーバーヘッドなし</span>
</div>
</header>
<!-- ══════════════════════════════════════════════════════════════════════
アクト I — プロトコル層
══════════════════════════════════════════════════════════════════════════ -->
<div class="xf-act act-proto">
<p class="xf-act-label">
<span class="act-pip pip-grn"></span>プロトコル層
</p>
<!-- HOOKS ─ ステートメントオープナー ──────────────────────────────────── -->
<div class="xf-statement stmt-proto">
<div class="xf-stmt-body">
<span class="xf-lbl lbl-proto">プログラマビリティ</span>
<h3>
Hooksアカウントレベルの
<br>
スマートコントラクトロジック
</h3>
<p>
Xahauはアカウントレベルで直接動作するユニークな形式のオンレジャースマートコントラクトロジックであるHooksを導入しています。外部のコントラクトアドレスとの対話を必要とする他のブロックチェーンのスマートコントラクトとは異なり、Hooksはユーザーアカウント自体に組み込まれた軽量なプログラムです。これらのHooksは、明示的な関数呼び出しなしに、そのアカウントに関わるあらゆる取引を自動的に検査、変更、または拒否することができます。
</p>
<p>
Hooksはインラインかつコンセンサス内で実行されるため、最小限のオーバーヘッドでリアルタイムのプログラマビリティを提供します。これにより、不正なトークン転送の拒否、入金時のアクションのトリガー、コンプライアンスロジックの実装などの強力なユースケースが可能になります。Hooksは新しいセキュリティとプログラマビリティのパラダイムを表し、アカウントをトランザクションロジックのアクティブな参加者にします。
</p>
</div>
<div class="xf-stmt-graphic">
<img
src={hooksGraphic.src}
width="380"
height="380"
alt="Hooks smart contract logic illustration"
>
</div>
</div>
<!-- DEX + 手数料 ─ 非対称ペア ───────────────────────────────────────── -->
<div class="xf-pair pair-6040">
<div class="xf-detail">
<span class="xf-lbl lbl-proto">取引所</span>
<h4>オファー内蔵の分散型取引所DEX</h4>
<p>
Xahauはネイティブのオファーシステムを含み、レジャー上の内蔵分散型取引所を動かしています。ユーザーはネットワーク上で直接資産トークンや発行通貨などを売買するためのオファーエントリを作成でき、これらのオファーはプロトコルのオーダーブックによって自動的にマッチングされます。
</p>
<p>
取引のためにスマートコントラクトや外部プラットフォームを必要とする多くのブロックチェーンとは異なり、XahauのDEXはレジャーのファーストクラスの機能です。このオンレジャー取引所は高速決済と低手数料を提供し、ユーザーやアプリケーションにとってシームレスな資産取引を実現します。
</p>
</div>
<div class="xf-detail">
<span class="xf-lbl lbl-proto">エコノミクス</span>
<h4>手数料燃焼による低手数料</h4>
<p>
Xahauは一貫して低い取引手数料を維持し、スパムを減らしてネットワークの長期的な健全性を報酬する組み込みの手数料燃焼モデルを持っています。各取引はXAHで最小限の手数料を支払い、その手数料の一部は永久に破壊され、時間とともにデフレ効果をもたらします。
</p>
<p>
このアプローチはネットワークの乱用を抑止しながらアクセシビリティを維持します。インフレモデルやオークション形式の手数料とは異なり、Xahauはすべてのユーザーに予測可能性と経済的整合性を提供します。
</p>
</div>
</div>
<!-- パフォーマンス ─ ソロワイド ────────────────────────────────────────── -->
<div class="xf-solo">
<span class="xf-lbl lbl-proto">インフラストラクチャ</span>
<h4>高速、グリーン、スケーラブル</h4>
<div class="xf-solo-cols">
<p>
XRPLのコンセンサスプロトコルの洗練されたバージョンの上に構築されたXahauは、高速なファイナリティ、低エネルギー使用量、信頼性の高いスケーラビリティを提供します。取引は数秒で確認され、マイニングなし、最小限のハードウェア要件で行われます。その結果、環境やユーザーエクスペリエンスを損なうことなく、実世界の金融およびエンタープライズのユースケースに対応できるネットワークが実現します。
</p>
<p>
Xahauのアーキテクチャは、パフォーマンスと持続可能性が交渉の余地のないグローバル決済システム、トークン化資産プラットフォーム、または高ボリュームアプリケーションに最適です。
</p>
</div>
</div>
</div><!-- /act-proto -->
<!-- ══════════════════════════════════════════════════════════════════════
アクト II — 金融プリミティブ
══════════════════════════════════════════════════════════════════════════ -->
<div class="xf-act act-fin">
<p class="xf-act-label">
<span class="act-pip pip-teal"></span>金融プリミティブ
</p>
<!-- 支払い ─ ステートメントオープナー ──────────────────────────────────── -->
<div class="xf-statement stmt-fin">
<div class="xf-stmt-body">
<span class="xf-lbl lbl-fin">決済</span>
<h3>
支払い:マルチアセット
<br>
転送とチャンネル
</h3>
<p>
Xahauの支払い機能は、ネットワーク全体での価値の高速かつ柔軟な転送を容易にするように設計されています。Xahauはトラストラインと発行通貨のシステムを通じてマルチアセット支払いをサポートし、スマートコントラクトを必要とせずに複数の通貨やトークンの組み込みサポートを可能にします。
</p>
<p>
これは、企業がXahau上でステーブルコインやトークンを発行し、ユーザーがそれらをネイティブに送受信または交換できることを意味します。支払いスイートには、口座に資金を送れる人をホワイトリスト化できる入金事前承認など、不要な取引に対するセキュリティを追加する高度な機能も含まれています。
</p>
<p>
さらに、Xahauはスケーラビリティのためのペイメントチャンネルをサポートしています。ペイメントチャンネルにより、2者がオフレジャーで高速・大量の取引を行い、その後正味の結果をブロックチェーン上で決済することができます。PaymentChannelCreate、Fund、Claimなどのトランザクションにより、Xahauはレジャーによって保護されるがそれを混雑させないマイクロペイメントやストリーミングペイメントを可能にします。
</p>
</div>
<div class="xf-stmt-graphic">
<img
src={globalGraphic.src}
width="380"
height="380"
alt="Global network infrastructure illustration"
>
</div>
</div>
<!-- トークン + 報酬 ─ ペア ──────────────────────────────────────────── -->
<div class="xf-pair pair-5545">
<div class="xf-detail">
<span class="xf-lbl lbl-fin">資産管理</span>
<h4>設計によるトークンと資産の制御</h4>
<p>
Xahauは発行者とユーザーにトークンとトラストラインに対する詳細な制御を与えます。TrustSet、Clawback、Freeze、Deposit
Authorizationなどの機能により、トークンの使用方法や受け取り方を完全にカスタマイズできます。資産はホワイトリスト化、ブロック、または燃焼させることができ、すべてプロトコルレベルで適用されます。
</p>
<p>
これにより、Xahauは規制された金融商品、ステーブルコイン、ロイヤルティプログラム、エンタープライズサプライチェーンなど、コンプライアンス、安全性、精度が重要なシナリオに特に適しています。
</p>
</div>
<div class="xf-detail">
<span class="xf-lbl lbl-fin">エコノミクス</span>
<h4>残高報酬:ステーキングなしのパッシブ収益</h4>
<p>
Xahauは残高報酬システムを提供しており、アカウントが資産を保有するだけで価値を受動的に積み立てることができます。これらの報酬はアカウント残高に基づいて計算され、ステーキング、委任、サードパーティのコントラクトを必要とせず、コンセンサスによって適用されるメカニズムを通じて分配されます。
</p>
<p>
このメカニズムはプロトコルレベルのロジックとオンチェーンHooksによって支えられており、報酬が自動的、公正、持続可能であることを保証します。他のブロックチェーンのイールドファーミングやステーキングシステムとは異なり、Xahauの報酬モデルはユーザーが資産をロックしたり複雑なDeFi戦略を追いかけたりする必要がありません。
</p>
</div>
</div>
<!-- エスクロー + Remit + チェック ─ トリオ ──────────────────────────────── -->
<div class="xf-trio">
<div class="xf-detail">
<span class="xf-lbl lbl-fin">プリミティブ</span>
<h4>エスクロー:あらゆる資産の条件付き転送</h4>
<p>
Xahauはネイティブおよび発行済みトークンのオンレジャーエスクローをサポートし、幅広いビジネスおよび金融ユースケースのための安全な条件付き転送を可能にします。資金またはトークンは、ネットワーク自体によって適用される時間ベースまたは条件ベースのリリースロジックでロックできます。
</p>
<p>
Xahauのエスクローは外部のスマートコントラクトを必要とせず、シンプルながら強力なツールを提供します。エスクローにおける代替可能および代替不可能な資産の両方に対するネイティブサポートにより、この機能は特に多用途です。
</p>
</div>
<div class="xf-detail">
<span class="xf-lbl lbl-fin">決済</span>
<h4>Remitネイティブのクロスアカウント転送</h4>
<p>
Remit機能により、アカウント間での合理化されたマルチオペレーション取引が可能になり、複雑または大量の支払いフローに最適です。複数の個別の命令を送信する代わりに、単一のRemit取引が複数の受取人に価値を配布したり、複数の残高変更をアトミックにトリガーしたりできます。
</p>
<p>
これにより、特に支払い処理業者、マーケットプレイス、またはバンドル操作を実行する必要があるアプリケーションの効率性と信頼性が向上します。プロトコルに組み込まれているため、Remitは予測可能なパフォーマンス、低レイテンシ、および強力な監査可能性を保証します。
</p>
</div>
<div class="xf-detail">
<span class="xf-lbl lbl-fin">決済</span>
<h4>チェック:繰延決済システム</h4>
<p>
Xahauはブロックチェーン上でデジタル小切手を書くような繰延決済システムであるチェックをサポートしています。一方が後で現金化するか、必要に応じてキャンセルできるチェック支払いの約束を発行できます。この機能により、安全で柔軟な取引が可能になります。
</p>
<p>
レジャーにはチェックの作成、現金化、またはキャンセルのための専用トランザクションがあります。Xahauのチェックシステムは、カスタムスマートコントラクトを必要とせず、ネットワークのルールによってすべて適用される追加の支払い制御層を提供します。
</p>
</div>
</div>
</div><!-- /act-fin -->
<!-- ══════════════════════════════════════════════════════════════════════
アクト III — ガバナンスとアイデンティティ
══════════════════════════════════════════════════════════════════════════ -->
<div class="xf-act act-gov">
<p class="xf-act-label">
<span class="act-pip pip-vlt"></span>ガバナンスとアイデンティティ
</p>
<!-- ガバナンス ─ ステートメントオープナー ──────────────────────────────── -->
<div class="xf-statement stmt-gov">
<div class="xf-stmt-body">
<span class="xf-lbl lbl-gov">ガバナンス</span>
<h3>
ガバナンスゲーム:
<br>
目的を持った
<br>
分散型調整
</h3>
<p>
Xahauはガバナンスゲームに裏付けられた新しいガバナンスシステムを特徴としています。これは、修正案を提案、審査、投票するための透明でオンレジャーのメカニズムです。バリデーターオペレーターガバナーは、説明責任とエンゲージメントに基づく構造化された報酬システムで競いながら、プロトコルの形成に直接参加します。
</p>
<p>
このシステムにより、プロトコルのアップグレードとポリシー決定が、中央集権的なエンティティによって指示されるのではなく、オープンで参加型になることが保証されます。構造化されたエンタープライズ調整の利点と、分散型コンセンサスの透明性と回復力を組み合わせています。安全でインセンティブに沿った方法でガバナンスをゲーム化することで、Xahauはオンチェーン調整の新しい基準を設定します。
</p>
</div>
<div class="xf-stmt-graphic">
<img
src={consensusGraphic.src}
width="380"
height="380"
alt="Consensus mechanism illustration"
>
</div>
</div>
<!-- URITokens ─ クロージングセクション ─────────────────────────────────── -->
<div class="xf-closing">
<div class="xf-closing-inner">
<span class="xf-lbl lbl-gov">NFT</span>
<h4>URITokensXahauのネイティブNFT</h4>
<p>
URITokensは、別のスマートコントラクトを介してではなく、レジャーのネイティブな部分として実装されたXahauの非代替トークンNFTへのアプローチを表しています。URITokenは、発行アカウントとトークンのメタデータやコンテンツを通常指すUniform
Resource
IdentifierURIによって一意に識別される、ファーストクラスのオンレジャーオブジェクトです。アカウントごとに特定のURIを持つURITokenは1つしか存在できず、各デジタル資産の真の独自性を確保します。
</p>
<p>
この組み込みNFT標準により、クリエイターはカスタムコードをデプロイすることなく、シンプルな取引URITokenMint、URITokenBuy、URITokenBurnでNFTをミント、取引、または燃焼させることができます。URITokenの発行者はフラグを設定することで破壊燃焼を許可することもでき、NFTの管理方法に柔軟性を与えます。プロトコルレベルでNFTを統合することで、Xahauはデジタルコレクティブルや資格情報の発行・管理をより効率的かつ安全にします。
</p>
</div>
</div>
</div><!-- /act-gov -->
</section>
<style>
/* ══════════════════════════════════════════════════════════════════════════
Design tokens
══════════════════════════════════════════════════════════════════════════ */
.xfeat {
--ink: #0f2328;
--dim: #2d3e44;
--mute: #556068;
--grn2: #007a28;
--teal2: #006f87;
--vlt2: #4e18b8;
--grn-hi: #00c940;
--teal-hi: #00c4e8;
--vlt-hi: #a050ff;
background: #ffffff;
border-radius: 24px;
padding: 48px 56px 72px;
font-family: 'Onest', system-ui, sans-serif;
color: var(--ink);
box-shadow:
0 2px 4px rgba(0, 0, 0, 0.04),
0 20px 64px -24px rgba(15, 35, 40, 0.13);
}
.xfeat * {
box-sizing: border-box;
}
/* ══════════════════════════════════════════════════════════════════════════
Page header
══════════════════════════════════════════════════════════════════════════ */
.xf-head {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 24px;
flex-wrap: wrap;
padding-bottom: 40px;
}
.xfeat h2 {
margin: 0;
font-size: 36px;
font-weight: 800;
letter-spacing: -0.03em;
line-height: 1.08;
color: var(--ink);
}
.xf-sub {
margin: 6px 0 0;
font-size: 15px;
color: var(--mute);
}
.xf-chips {
display: flex;
gap: 8px;
flex-wrap: wrap;
align-items: flex-start;
padding-top: 4px;
}
.xf-chip {
font-family: ui-monospace, monospace;
font-size: 11px;
padding: 5px 13px;
border: 1px solid #cdd7dc;
border-radius: 999px;
color: var(--mute);
white-space: nowrap;
letter-spacing: 0.03em;
}
/* ══════════════════════════════════════════════════════════════════════════
Acts
══════════════════════════════════════════════════════════════════════════ */
.xf-act {
padding-top: 52px;
}
.xf-act-label {
display: flex;
align-items: center;
gap: 10px;
font-family: ui-monospace, monospace;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--mute);
margin: 0 0 44px;
}
.act-pip {
display: block;
width: 6px;
height: 6px;
border-radius: 50%;
flex-shrink: 0;
}
.pip-grn {
background: var(--grn2);
}
.pip-teal {
background: var(--teal2);
}
.pip-vlt {
background: var(--vlt2);
}
/* ══════════════════════════════════════════════════════════════════════════
Labels
══════════════════════════════════════════════════════════════════════════ */
.xf-lbl {
display: inline-block;
font-family: ui-monospace, monospace;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.18em;
text-transform: uppercase;
padding: 3px 9px;
border-radius: 4px;
margin-bottom: 14px;
}
.lbl-proto {
color: var(--grn2);
background: rgba(0, 122, 40, 0.1);
}
.lbl-fin {
color: var(--teal2);
background: rgba(0, 111, 135, 0.1);
}
.lbl-gov {
color: var(--vlt2);
background: rgba(78, 24, 184, 0.1);
}
/* ══════════════════════════════════════════════════════════════════════════
Statement sections
══════════════════════════════════════════════════════════════════════════ */
.xf-statement {
display: flex;
align-items: center;
}
.xf-stmt-body {
flex: 0 0 57%;
max-width: 57%;
padding: 64px 0 64px 28px;
}
.xf-stmt-graphic {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 32px 8px 32px 16px;
opacity: 0.95;
}
.xf-stmt-graphic img {
width: 100%;
max-width: 340px;
height: auto;
display: block;
}
.xf-statement h3 {
margin: 0 0 22px;
font-size: 40px;
font-weight: 800;
line-height: 1.18;
letter-spacing: -0.02em;
color: var(--ink);
}
/* Gradient text on statement h3 per act */
.stmt-proto h3 {
background: linear-gradient(140deg, #004d1a 15%, var(--grn-hi) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.stmt-fin h3 {
background: linear-gradient(140deg, #003d50 15%, var(--teal-hi) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.stmt-gov h3 {
background: linear-gradient(140deg, #2a0875 15%, var(--vlt-hi) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.xf-statement p {
font-size: 15.5px;
line-height: 1.72;
color: var(--dim);
margin: 0 0 16px;
}
.xf-statement p:last-child {
margin-bottom: 0;
}
/* ══════════════════════════════════════════════════════════════════════════
Detail sections — pairs and trios
══════════════════════════════════════════════════════════════════════════ */
.xf-pair,
.xf-trio {
display: grid;
}
.pair-6040 {
grid-template-columns: 3fr 2fr;
}
.pair-5545 {
grid-template-columns: 11fr 9fr;
}
.xf-trio {
grid-template-columns: repeat(3, 1fr);
}
.xf-detail {
padding: 48px 40px 48px 28px;
}
.xf-detail h4 {
margin: 0 0 14px;
font-size: 19px;
font-weight: 700;
line-height: 1.32;
letter-spacing: -0.01em;
color: var(--ink);
}
/* Solid colour on detail/solo/closing h4 per act */
.act-proto .xf-detail h4,
.act-proto .xf-solo h4 {
color: var(--grn2);
}
.act-fin .xf-detail h4 {
color: var(--teal2);
}
.act-gov .xf-detail h4,
.act-gov .xf-closing h4 {
color: var(--vlt2);
}
.xf-detail p {
font-size: 14px;
line-height: 1.72;
color: var(--dim);
margin: 0 0 12px;
}
.xf-detail p:last-of-type {
margin-bottom: 0;
}
/* ══════════════════════════════════════════════════════════════════════════
Solo wide section
══════════════════════════════════════════════════════════════════════════ */
.xf-solo {
padding: 52px 0 52px 28px;
}
.xf-solo h4 {
margin: 0 0 18px;
font-size: 22px;
font-weight: 700;
letter-spacing: -0.01em;
color: var(--ink);
}
.xf-solo-cols {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
max-width: 900px;
}
.xf-solo-cols p {
font-size: 14.5px;
line-height: 1.72;
color: var(--dim);
margin: 0;
}
/* ══════════════════════════════════════════════════════════════════════════
Closing section
══════════════════════════════════════════════════════════════════════════ */
.xf-closing {
padding: 52px 0 52px 28px;
}
.xf-closing-inner {
max-width: 640px;
}
.xf-closing h4 {
margin: 0 0 16px;
font-size: 22px;
font-weight: 700;
letter-spacing: -0.01em;
color: var(--ink);
}
.xf-closing p {
font-size: 14.5px;
line-height: 1.72;
color: var(--dim);
margin: 0 0 14px;
}
.xf-closing p:last-child {
margin-bottom: 0;
}
/* ══════════════════════════════════════════════════════════════════════════
Responsive
══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
.xf-statement {
flex-direction: column;
align-items: flex-start;
}
.xf-stmt-body {
flex: none;
max-width: 100%;
}
.xf-stmt-graphic {
width: 100%;
padding: 0 0 32px;
opacity: 0.85;
}
.xf-stmt-graphic img {
max-width: 240px;
margin: 0 auto;
}
.xf-pair,
.xf-trio {
grid-template-columns: 1fr;
}
.xf-solo-cols {
grid-template-columns: 1fr;
gap: 0;
}
.xf-solo-cols p {
margin-bottom: 14px;
}
}
@media (max-width: 640px) {
.xfeat {
padding: 32px 24px 48px;
border-radius: 16px;
}
.xfeat h2 {
font-size: 28px;
}
.xf-statement h3 {
font-size: 26px;
}
.xf-head {
flex-direction: column;
gap: 14px;
}
.xf-stmt-body {
padding: 44px 0 44px 22px;
}
.xf-detail {
padding: 36px 20px 36px 22px;
}
}
</style>

View File

@@ -11,10 +11,10 @@
import { getRelativeLocaleUrl } from 'astro:i18n'
import homeData from '../data/home.json'
import type { IndexLocale } from '../i18n/indexTranslations'
import { indexTranslations } from '../i18n/indexTranslations'
import { defaultLocale, type Locale } from '../i18n/locales'
const locale = (Astro.currentLocale ?? 'en') as IndexLocale
const locale = (Astro.currentLocale ?? defaultLocale) as Locale
const i = indexTranslations[locale]
const stats = homeData.stats

View File

@@ -6,7 +6,7 @@
// Usage in a .astro page frontmatter:
// import XahauRoadmap from '@/components/XahauRoadmap.astro'
// Then in the template:
// <XahauRoadmap lang={Astro.currentLocale ?? 'en'} />
// <XahauRoadmap lang={Astro.currentLocale ?? defaultLocale} />
//
// To add/edit/delete an item: edit src/data/roadmap.json and commit.
@@ -291,12 +291,13 @@ const fmtItemPeriod = (item: RoadmapItem): string => {
<style>
.xroadmap {
/* Xahau palette (aligned with site tokens):
xahau-gray #0f2328 — dark panel background
xahau-green #5de48c — bright accent
xahau-green-dark #007b3d — darker accent
xahau-secondary #fad7aewarm secondary
*/
/**
* Xahau palette (aligned with site tokens):
* xahau-gray: #0f2328 — dark panel background
* xahau-green: #5de48c — bright accent
* xahau-green-dark: #007b3ddarker accent
* xahau-secondary: #fad7ae — warm secondary
*/
--bg: #0a1619;
--panel: #0f2328;
--ink: #e9edf1;
@@ -322,10 +323,13 @@ const fmtItemPeriod = (item: RoadmapItem): string => {
box-shadow: var(--section-shadow);
}
/* === Light theme override ==================================================
Activate by rendering <XahauRoadmap theme="light" />. Rollback is a one-word
prop change in src/pages/roadmap.astro (or remove the prop for the default
"dark"). */
/**
* Light theme override
* ══════════════════════════════════════════════════════════════════════════
* Activate by rendering <XahauRoadmap theme="light" />. Rollback is a one-word
* prop change in src/pages/roadmap.astro (or remove the prop for the default
* "dark").
*/
.xroadmap.theme-light {
/* Panel is a warm off-white so cards don't dissolve into the page bg. */
--bg: #eef2f1;
@@ -338,8 +342,10 @@ const fmtItemPeriod = (item: RoadmapItem): string => {
--section-bg: linear-gradient(180deg, #fbfbf9, #f3f6f4);
--section-shadow: 0 22px 56px -28px rgba(15, 35, 40, 0.28);
}
/* Feature cards: near-white surface + chunky left accent, matching rollouts.
Keeps green as an accent colour instead of a pastel wash. */
/**
* Feature cards: near-white surface + chunky left accent, matching rollouts.
* Keeps green as an accent colour instead of a pastel wash.
*/
.xroadmap.theme-light .xr-feat {
background: #ffffff;
border: 1px solid var(--line);
@@ -349,8 +355,10 @@ const fmtItemPeriod = (item: RoadmapItem): string => {
.xroadmap.theme-light .xr-feat.is-span {
background: #ffffff;
}
/* Bump tags up a touch — 9px text was fragile on white. Colour stays
per-card-type so status colours (live/pilot/partnership/launch) still apply. */
/**
* Bump tags up a touch — 9px text was fragile on white. Colour stays
* per-card-type so status colours (live/pilot/partnership/launch) still apply.
*/
.xroadmap.theme-light .xr-feat .k,
.xroadmap.theme-light .xr-roll .k {
font-size: 10px;
@@ -395,8 +403,10 @@ const fmtItemPeriod = (item: RoadmapItem): string => {
.xroadmap.theme-light .xr-roll.status-launch {
border-left-color: var(--teal);
}
/* Deepen the status accent colours so tag text and pegs read cleanly on white.
The bright dark-theme palette (teal/violet/rose/green) washes out at small sizes. */
/**
* Deepen the status accent colours so tag text and pegs read cleanly on white.
* The bright dark-theme palette (teal/violet/rose/green) washes out at small sizes.
*/
.xroadmap.theme-light .xr-roll.status-live .k {
color: #2fa84f;
}
@@ -986,8 +996,10 @@ const fmtItemPeriod = (item: RoadmapItem): string => {
color: var(--ink-mute);
}
/* Per-card quarter badge — hidden on desktop (timeline carries this info)
and shown on mobile where the horizontal arrow is collapsed. */
/**
* Per-card quarter badge — hidden on desktop (timeline carries this info)
* and shown on mobile where the horizontal arrow is collapsed.
*/
.xr-q-badge {
display: none;
}
@@ -1023,11 +1035,13 @@ const fmtItemPeriod = (item: RoadmapItem): string => {
}
}
/* === Mobile (≤640px) ======================================================
The horizontal timeline metaphor does not survive narrow viewports, so at
phone widths we flip to a linear, stacked card list. The quarter header
row, arrow and column dividers are hidden; every card instead shows its
own period via the .xr-q-badge (populated at build time). */
/**
* === Mobile (≤640px) ======================================================
* The horizontal timeline metaphor does not survive narrow viewports, so at
* phone widths we flip to a linear, stacked card list. The quarter header
* row, arrow and column dividers are hidden; every card instead shows its
* own period via the .xr-q-badge (populated at build time).
*/
@media (max-width: 640px) {
.xroadmap {
padding: 20px 16px 18px;
@@ -1088,8 +1102,10 @@ const fmtItemPeriod = (item: RoadmapItem): string => {
display: none !important;
}
/* Lanes collapse to a simple block list with a section heading derived
from the existing aria-label (so no extra markup is needed). */
/**
* Lanes collapse to a simple block list with a section heading derived
* from the existing aria-label (so no extra markup is needed).
*/
.xr-lane {
display: block;
padding: 0 !important;
@@ -1112,8 +1128,10 @@ const fmtItemPeriod = (item: RoadmapItem): string => {
margin-bottom: 10px;
}
/* Cards become full-width blocks; drop peg/open-ended/clip glyphs that
only make sense against a horizontal timeline. */
/**
* Cards become full-width blocks; drop peg/open-ended/clip glyphs that
* only make sense against a horizontal timeline.
*/
.xr-feat,
.xr-roll {
display: block !important;

View File

@@ -1,23 +1,15 @@
{
"meta": {
"title": {
"en": "Ecosystem",
"es": "Ecosistema",
"ja": "エコシステム",
"pt-BR": "Ecossistema"
},
"subtitle_suffix": {
"en": "built on or around Xahau",
"es": "construido en o alrededor de Xahau",
"ja": "Xahauで、またはXahauを中心に構築",
"pt-BR": "construído sobre ou ao redor do Xahau"
},
"trademark": {
"en": "All trademarks and logos are the property of their respective owners.",
"es": "Todas las marcas y logotipos son propiedad de sus respectivos dueños.",
"ja": "すべての商標およびロゴは、各所有者の財産です。",
"pt-BR": "Todas as marcas e logotipos são propriedade de seus respectivos donos."
}
"title": {
"en": "Ecosystem",
"es": "Ecosistema",
"ja": "エコシステム",
"pt-BR": "Ecossistema"
},
"buildonxahau": {
"en": "built on or around Xahau",
"es": "creados en Xahau o en torno a ella",
"ja": "がXahauを利用して構築しています",
"pt-BR": "construído em ou ao redor do Xahau"
},
"sections": [
{
@@ -320,5 +312,10 @@
}
]
}
]
],
"trademark": {
"en": "All trademarks and logos are the property of their respective owners.",
"es": "Todas las marcas y logotipos son propiedad de sus respectivos dueños.",
"ja": "すべての商標およびロゴは、各所有者の財産です。"
}
}

View File

@@ -0,0 +1,134 @@
export const aboutTranslations = {
en: {
page_title: 'About Xahau',
page_subtitle:
'Enterprise L1 blockchain with account-based programmability',
chip1: 'Est. October 2023',
chip2: '200k+ Accounts',
chip3: '~4s Settlement',
chip4: '10k tx / ledger',
act1_label: 'The Network',
act1_section_label: 'Overview',
act1_h3_line1: 'What is Xahau?',
act1_h3_line2: 'The short explainer',
act1_para1:
'Xahau is a L1 blockchain with a unique composition of features and a fresh approach to blockchain programmability, also known as smart contracts.',
act1_para2:
'The long-term proven technology settles transactions in ~4 seconds at very low costs down to fractions of a USD cent. It is scalable, currently with up to 10,000 transactions per ledger, and is an inherently green and energy friendly blockchain.',
act1_para3:
'Xahau offers native features for issuing and trading currencies on the built-in decentralised exchange, native non-fungible tokens, and endless opportunities for DeFi with custom logic through Xahau smart contracts, known as Hooks.',
act1_para4:
'Hooks lives on accounts, making it a fresh take on how custom logic can be used to act on account-based events, such as receiving transactions. Hooks are currently developed in C, but JavaScript support is already developed and in testing, with other programming languages in the scope as well. This makes the world of smart contracts available, without a steep learning curve, to millions of developers.',
act2_label: 'The Protocol',
act2_section_label: 'Technology',
act2_h3_line1: 'What is the technology',
act2_h3_line2: 'behind Xahau?',
act2_para1:
'Xahau is proven technology, as it is an evolved iteration of the XRP Ledger code, enhanced with smart contract, account-based programmability (Hooks), and equal support for issued currencies in native features such as escrows and payment channels.',
act2_para2:
'Xahau, like the XRPL, uses a Federated Consensus mechanism as its method of validating transactions. Transactions are confirmed through a consensus protocol, in which designated independent servers called validators come to an agreement on the order and outcome of transactions. All servers in the network process each transaction according to the same rules, and any transaction that follows the protocol is confirmed right away. All transactions are public and transparent, and anyone can operate a validator.',
act2_para3:
'Xahau introduces a governance game to ensure a community-centric approach towards decision-making of the network. To play the game, the members of the tables cast votes. The topics discussed on this 2 layers table system include seats, hooks and rewards topics.',
act3_label: 'The Currency',
act3_section_label: 'Economics',
act3_h3_line1: 'XAH, the native',
act3_h3_line2: 'currency of Xahau',
act3_para1:
'The native currency on Xahau is called XAH and is an inflationary currency. Every account can participate in balance adjustment by interacting with a Hook on the genesis account, monthly accruing 4% of the account balance.',
act3_para2:
'XAH is used to prevent network spam, by adding a cost of transacting. Normal transactions cost fractions of a XAH, while the price of transacting increases if interacting with Hooks. XAH is also required as a locked balance, or reserve, to own an account, own objects, or storing data for smart contract consumption.',
act3_para3:
'Because of Hooks, the burn-rate of XAH is higher compared to that of XRPL. For projects that rely on Hooks for custom logic, it is recommended that they keep a balance of XAH that can generate a monthly balance adjustment to pay for fees.',
},
es: {
page_title: 'Sobre Xahau',
page_subtitle:
'Blockchain L1 empresarial con programabilidad basada en cuentas',
chip1: 'Est. octubre 2023',
chip2: '200k+ cuentas',
chip3: '~4s de liquidación',
chip4: '10k tx / ledger',
act1_label: 'La Red',
act1_section_label: 'Descripción general',
act1_h3_line1: '¿Qué es Xahau?',
act1_h3_line2: 'La explicación breve',
act1_para1:
'Xahau es una blockchain L1 construida para la programabilidad seria — combinando tecnología de ledger contrastada con un enfoque poderoso y distintivo hacia los contratos inteligentes, conocidos como Hooks.',
act1_para2:
'La tecnología liquida transacciones en aproximadamente 4 segundos a costes de apenas fracciones de un centavo de USD. Con capacidad para procesar hasta 10.000 transacciones por ledger, la red es inherentemente verde y eficiente energéticamente por diseño.',
act1_para3:
'Xahau ofrece características nativas para emitir y negociar monedas en el exchange descentralizado integrado, tokens no fungibles nativos, transacciones atómicas multi-activo mediante el transactor Remit, y oportunidades ilimitadas para DeFi a través de Hooks — el sistema de contratos inteligentes basado en cuentas de Xahau.',
act1_para4:
'Los Hooks residen directamente en las cuentas, respondiendo a eventos de transacción como pagos recibidos, enviados o enrutados. Desarrollados originalmente en C, los Hooks ahora soportan cualquier lenguaje compilable con WebAssembly. El soporte para Hooks en JavaScript (JSHooks) avanza a través de auditorías de seguridad, acercando las finanzas programables a decenas de millones de desarrolladores en todo el mundo.',
act2_label: 'El Protocolo',
act2_section_label: 'Tecnología',
act2_h3_line1: '¿Cuál es la tecnología',
act2_h3_line2: 'detrás de Xahau?',
act2_para1:
'Xahau es tecnología probada y lista para producción — una iteración evolucionada del código del XRP Ledger, mejorada con programabilidad de contratos inteligentes basada en cuentas (Hooks), soporte nativo igualitario para monedas emitidas en características como garantías y canales de pago, y una capa de transacciones atómicas que permite ejecutar operaciones complejas y de múltiples pasos como una unidad indivisible.',
act2_para2:
'Xahau utiliza un mecanismo de Consenso Federado para validar transacciones. Servidores independientes llamados validadores alcanzan un acuerdo sobre el orden y resultado de cada transacción. Todos los servidores procesan cada transacción según las mismas reglas, y cualquier transacción válida se confirma en segundos. Toda la actividad es pública y transparente, y cualquiera puede operar un validador.',
act2_para3:
'La gobernanza de la red está guiada por un juego de gobernanza estructurado que garantiza una toma de decisiones impulsada por la comunidad. Los participantes en un sistema de mesas de dos niveles emiten votos sobre asientos de red, enmiendas de Hooks y parámetros de recompensas — otorgando al ecosistema una influencia genuina y continua sobre la dirección de la red.',
act3_label: 'La Moneda',
act3_section_label: 'Economía',
act3_h3_line1: 'XAH, la moneda nativa',
act3_h3_line2: 'de Xahau',
act3_para1:
'La moneda nativa de Xahau es XAH — un activo inflacionario diseñado para recompensar la participación activa. Cada cuenta puede reclamar un ajuste de saldo mensual interactuando con un Hook en la cuenta génesis, acumulando un 4% del saldo de la cuenta cada mes.',
act3_para2:
'XAH actúa como mecanismo anti-spam de la red, añadiendo un coste a cada transacción. Las transacciones estándar cuestan fracciones de un solo XAH; las operaciones potenciadas por Hooks tienen comisiones proporcionalmente más altas, reflejando su peso computacional en la cadena. XAH también se requiere como reserva bloqueada para mantener cuentas, poseer objetos y almacenar datos utilizados por contratos inteligentes.',
act3_para3:
'XAH está disponible en exchanges principales como Bitrue, BitMart y CoinEx, y cuenta con soporte en carteras hardware Ledger — haciéndolo cada vez más accesible para usuarios de todo el mundo. Los proyectos que dependen de Hooks para lógica personalizada deben mantener un saldo de XAH suficiente para generar ajustes mensuales que cubran las comisiones continuas.',
},
ja: {
page_title: 'Xahauについて',
page_subtitle:
'アカウントベースプログラマビリティを持つエンタープライズL1ブロックチェーン',
chip1: '2023年10月設立',
chip2: '20万以上のアカウント',
chip3: '~4秒で決済',
chip4: '10k tx / レジャー',
act1_label: 'ネットワーク',
act1_section_label: '概要',
act1_h3_line1: 'Xahauとは何ですか',
act1_h3_line2: '簡単な説明',
act1_para1:
'Xahauは、本格的なプログラマビリティのために構築されたL1ブロックチェーンです。実績ある台帳技術と、Hooksと呼ばれるスマートコントラクトへの強力かつ独自のアプローチを組み合わせています。',
act1_para2:
'この技術は約4秒でトランザクションを決済し、コストは1米ドルセントの端数程度の低水準です。1レジャーあたり最大10,000トランザクションを処理でき、設計上、本質的にグリーンでエネルギー効率の高いブロックチェーンです。',
act1_para3:
'Xahauは、組み込みの分散型取引所での通貨の発行・取引、ネイティブな非代替トークン、Remitトランザクターによるアトミックなマルチアセットトランザクション、そしてXahauのアカウントベースのスマートコントラクトシステムであるHooksによる無限のDeFiの可能性といったネイティブ機能を提供します。',
act1_para4:
'HooksはアカウントにHooksが直接存在し、支払いの受信・送信・ルーティングといったトランザクションイベントに応答します。当初はCで開発されていましたが、現在はWebAssemblyに対応するあらゆる言語をサポートしています。JavaScriptによるHooksサポートJSHooksはセキュリティ監査を通じて前進しており、世界中の数千万人の開発者がプログラマブルファイナンスに手が届くようになっています。',
act2_label: 'プロトコル',
act2_section_label: '技術',
act2_h3_line1: 'Xahauの背後にある',
act2_h3_line2: '技術は何ですか?',
act2_para1:
'Xahauは実証済みの本番環境対応技術です。アカウントベースのスマートコントラクトプログラマビリティHooks、エスクローや支払いチャンネルなどのネイティブ機能での発行通貨への平等なサポート、そして複雑な複数ステップの操作を単一の分割不可能なユニットとして実行できるアトミックトランザクション層を加えて強化された、XRPレジャーコードベースの進化した反復です。',
act2_para2:
'Xahauは、トランザクションを検証する方法として連合コンセンサスメカニズムを使用します。バリデーターと呼ばれる独立したサーバーが、各トランザクションの順序と結果について合意に達します。すべてのサーバーは同じルールに従って各トランザクションを処理し、有効なトランザクションは数秒以内に確認されます。すべての活動は公開かつ透明であり、誰でもバリデーターを運営できます。',
act2_para3:
'ネットワークのガバナンスは、コミュニティ主導の意思決定を確保する構造化されたガバナンスゲームによって導かれています。二層テーブルシステムの参加者が、ネットワークのシート、Hookの修正、報酬パラメータについて投票を行い、エコシステムがネットワークの方向性に対して真の継続的な影響力を持ちます。',
act3_label: '通貨',
act3_section_label: 'エコノミクス',
act3_h3_line1: 'XAHXahauの',
act3_h3_line2: 'ネイティブ通貨',
act3_para1:
'Xahauのネイティブ通貨はXAHです。積極的な参加を報酬として返すように設計されたインフレ資産です。すべてのアカウントは、ジェネシスアカウントのHookと対話することで月次残高調整を請求でき、毎月アカウント残高の4%を積み立てます。',
act3_para2:
'XAHはネットワークのアンチスパムメカニズムとして機能し、すべてのトランザクションにコストを付加します。標準的なトランザクションは1XAHの端数程度のコストですが、Hooksを活用した操作はオンチェーンの計算負荷を反映してそれに比例した高い手数料が発生します。XAHはまた、アカウントの維持、オブジェクトの保有、スマートコントラクトが使用するデータの保存のために、ロックされた準備金としても必要です。',
act3_para3:
'XAHはBitrue、BitMart、CoinExなどの主要取引所で利用可能で、Ledgerハードウェアウォレットもサポートされており、世界中のユーザーにとってますますアクセスしやすくなっています。カスタムロジックのためにHooksに依存するプロジェクトは、継続的な手数料をカバーするための月次調整を生成するのに十分なXAH残高を維持することをお勧めします。',
},
}

View File

@@ -0,0 +1,404 @@
export const contestTranslations = {
en: {
page_subtitle:
'Ecosystem Rising — Build user-facing services powered by Xahau',
chip1: '2nd Edition',
chip2: 'Xahau Mainnet',
chip3: '3 Main Prizes',
chip4: 'XAH Rewards',
// Act I
act1_label: 'Introduction',
act1_about_lbl: 'About',
act1_about_h3: 'Welcome to Ecosystem Rising',
act1_about_p1:
'This contest invites innovators to build <strong>user-facing services powered by Xahau</strong> and compete for prizes while strengthening the Xahau ecosystem.',
act1_about_p2:
"Whether you're a solo developer or a team, you can submit as many projects as you like — each eligible for different prizes.",
act1_prizes_lbl: 'Prizes',
act1_prizes_h3: 'Main Prizes in XAH',
prize1_place: '1st Prize',
prize1_value: '4,000 USD value in XAH',
prize2_place: '2nd Prize',
prize2_value: '2,000 USD value in XAH',
prize3_place: '3rd Prize',
prize3_value: '1,000 USD value in XAH',
timeline_lbl: 'Timeline',
timeline1_label: 'Submission deadline:',
timeline1_value: 'February 1st, 2026',
timeline2_label: 'Judging panel:',
timeline2_value: '5 members from the Xahau and XRPL community',
// Act II
act2_label: 'Panel & Theme',
act2_judges_lbl: 'Judges Panel',
act2_judges_h3: 'Five Community Members',
act2_theme_lbl: 'Theme',
act2_theme_h3: 'Services on Xahau',
act2_theme_p:
'Participants must build <strong>web-based services that interact with Xahau Mainnet</strong> and are designed for the <strong>end user</strong> — whether casual users, power users, public sector, or private sector audiences.',
example1_heading: 'Everyday user tools',
example1_item1: 'Personal finance dashboards',
example1_item2: 'Wallet managers',
example1_item3: 'Community apps',
example2_heading: 'Business services',
example2_item1: 'Payment portals',
example2_item2: 'Loyalty platforms',
example2_item3: 'Client service tools',
example3_heading: 'Public platforms',
example3_item1: 'NFT marketplaces',
example3_item2: 'Voting systems',
example3_item3: 'Donation hubs',
example3_item4: 'Cultural apps',
example3_item5: 'Utilities for social good',
// Act III
act3_label: 'Rules & Evaluation',
act3_rules_lbl: 'Participation Rules',
act3_rules_h3: 'What You Need to Know',
rule1: 'You can submit <strong>as many projects as you like</strong>.',
rule2: 'Each project may be submitted by an individual or a group.',
rule3:
'Different projects from the same participant can be eligible for different prizes.',
rule4: 'Projects <strong>must run on the Xahau Mainnet</strong>.',
rule5:
'Each project <strong>must be accessible online</strong> so that judges and the public can use or view it.',
rule6:
'Each submission must include <strong>basic documentation</strong>. Multimedia material (videos, slides, demos) is welcome.',
rule7:
'<strong>AI tools</strong> may be used for both development and documentation.',
rule8:
'If your project uses <strong>Hooks</strong>, the Hook code must be open source. Attach C code and hook hash in your submission.',
rule9:
'Projects offering regulated financial services or targeting illegal activities are not eligible.',
html_rule10:
'Post on X tagging <a href="https://x.com/XahauNetwork" target="_blank" rel="noopener noreferrer">@XahauNetwork</a> to announce your participation.',
act3_eval_lbl: 'Evaluation Criteria',
act3_eval_h3: 'What Judges Value',
crit1_label: 'Originality & Creativity',
crit1_desc: 'How novel and creative is the idea?',
crit2_label: 'No Existing Competitors',
crit2_desc:
'Absence of similar services on Xahau Mainnet before the contest.',
crit3_label: 'Impact & Usefulness',
crit3_desc:
'Value for end users — individuals, businesses, or public sector.',
crit4_label: 'Quality of Execution',
crit4_desc: 'Stability, documentation, and user experience.',
crit5_label: 'Use of Hooks',
crit5_desc: 'Smart contract usage on Xahau receives special recognition.',
act3_format_lbl: 'Submission Format',
html_format_p1:
'Each project must include a folder and a <strong>submission file</strong> inside the submissions directory of <a href="https://github.com/xahau/xahau-2nd-dev-contest" target="_blank" rel="noopener noreferrer">this repository ↗</a>.',
format_example:
'submissions/GitHubName_ProjectName/GitHubName_ProjectName.md',
format_p2:
'Required fields: Project Title · Brief Description · Participants · Social Media · Contact Email · Link to Online Project · Xahau Address · Documentation Link · Hooks C code & hash (if applicable) · Repository Link (optional)',
// Act IV
act4_label: 'Support & Resources',
act4_support_lbl: 'Support',
act4_support_h3: 'Questions & Community',
html_support_p1:
'Join the <a href="https://discord.gg/ds7nb93mYj" target="_blank" rel="noopener noreferrer">Xahau Builders Discord ↗</a> or email <a href="mailto:contests@xahau.org">contests@xahau.org</a>. Your questions may also be added to the FAQ so others can benefit.',
ownership_note:
'All submitted projects remain the <strong>property of their original creators</strong>.',
act4_faq_lbl: 'FAQ',
faq1_q: 'Can I submit more than one project?',
faq1_a: 'Yes — as many as you want, individually or as part of a group.',
faq2_q: 'Do projects have to be open source?',
faq2_a:
'No, but they must include basic documentation. Hook code must be open source if used.',
faq3_q: 'Can I use AI to build or document my project?',
faq3_a: 'Yes, AI usage is fully allowed.',
faq4_q: 'Is there an advantage to using Hooks?',
faq4_a:
'Yes — projects that creatively implement Hooks will receive special recognition.',
faq5_q: 'What happens to my project after the contest?',
faq5_a: 'You keep full ownership.',
act4_links_lbl: 'Useful Links',
act4_links_h3: 'Resources for Xahau Developers',
act4_legal_lbl: 'Final Disclaimer',
legal_intro: 'By participating, you agree that:',
legal1:
'Participants must meet eligibility criteria and adhere to all rules. Previously published projects are not eligible.',
legal2:
'Projects remain the property of their creators; organizers reserve the right to showcase submissions with appropriate credit.',
legal3:
'Organizers may disqualify submissions that violate rules. All jury decisions are final.',
legal4:
'Organizers are not liable for damages or losses during participation and may modify contest requirements at any time.',
legal5:
'Sanctions and jurisdictional restrictions may apply. KYC verification may be required to receive rewards.',
legal6:
'All taxes and financial obligations related to rewards are the sole responsibility of the participant.',
},
es: {
page_subtitle:
'Ecosystem Rising — Construye servicios de usuario powered by Xahau',
chip1: '2ª Edición',
chip2: 'Xahau Mainnet',
chip3: '3 Premios Principales',
chip4: 'Recompensas en XAH',
// Act I
act1_label: 'Introducción',
act1_about_lbl: 'Acerca de',
act1_about_h3: 'Bienvenido a Ecosystem Rising',
act1_about_p1:
'Este concurso invita a innovadores a construir <strong>servicios de usuario powered by Xahau</strong> y competir por premios mientras fortalecen el ecosistema Xahau.',
act1_about_p2:
'Tanto si eres un desarrollador individual como un equipo, puedes enviar tantos proyectos como quieras, cada uno elegible para diferentes premios.',
act1_prizes_lbl: 'Premios',
act1_prizes_h3: 'Premios Principales en XAH',
prize1_place: '1er Premio',
prize1_value: 'Valor de 4.000 USD en XAH',
prize2_place: '2º Premio',
prize2_value: 'Valor de 2.000 USD en XAH',
prize3_place: '3er Premio',
prize3_value: 'Valor de 1.000 USD en XAH',
timeline_lbl: 'Cronograma',
timeline1_label: 'Fecha límite de envío:',
timeline1_value: '1 de febrero de 2026',
timeline2_label: 'Panel de jueces:',
timeline2_value: '5 miembros de la comunidad Xahau y XRPL',
// Act II
act2_label: 'Panel y Tema',
act2_judges_lbl: 'Panel de Jueces',
act2_judges_h3: 'Cinco Miembros de la Comunidad',
act2_theme_lbl: 'Tema',
act2_theme_h3: 'Servicios en Xahau',
act2_theme_p:
'Los participantes deben construir <strong>servicios web que interactúen con Xahau Mainnet</strong> y estén diseñados para el <strong>usuario final</strong> — usuarios casuales, avanzados, sector público o privado.',
example1_heading: 'Herramientas cotidianas',
example1_item1: 'Paneles de finanzas personales',
example1_item2: 'Gestores de wallets',
example1_item3: 'Apps comunitarias',
example2_heading: 'Servicios empresariales',
example2_item1: 'Portales de pago',
example2_item2: 'Plataformas de fidelización',
example2_item3: 'Herramientas de atención al cliente',
example3_heading: 'Plataformas públicas',
example3_item1: 'Marketplaces de NFT',
example3_item2: 'Sistemas de votación',
example3_item3: 'Hubs de donaciones',
example3_item4: 'Apps culturales',
example3_item5: 'Utilidades para el bien social',
// Act III
act3_label: 'Reglas y Evaluación',
act3_rules_lbl: 'Reglas de Participación',
act3_rules_h3: 'Lo Que Necesitas Saber',
rule1: 'Puedes enviar <strong>tantos proyectos como quieras</strong>.',
rule2: 'Cada proyecto puede ser enviado por un individuo o un grupo.',
rule3:
'Distintos proyectos del mismo participante pueden optar a diferentes premios.',
rule4:
'Los proyectos <strong>deben ejecutarse en la Mainnet de Xahau</strong>.',
rule5:
'Cada proyecto <strong>debe ser accesible online</strong> para que jueces y el público puedan usarlo o verlo.',
rule6:
'Cada envío debe incluir <strong>documentación básica</strong>. Se acepta material multimedia.',
rule7:
'Se pueden usar <strong>herramientas de IA</strong> para desarrollo y documentación.',
rule8:
'Si usas <strong>Hooks</strong>, el código debe ser de código abierto. Adjunta código C y hash del hook.',
rule9:
'Los proyectos que ofrezcan servicios financieros regulados o actividades ilegales no son elegibles.',
html_rule10:
'Publica un tweet etiquetando <a href="https://x.com/XahauNetwork" target="_blank" rel="noopener noreferrer">@XahauNetwork</a> para anunciar tu participación.',
act3_eval_lbl: 'Criterios de Evaluación',
act3_eval_h3: 'Lo Que Valoran los Jueces',
crit1_label: 'Originalidad y Creatividad',
crit1_desc: '¿Cuán novedosa e innovadora es la idea?',
crit2_label: 'Sin Competidores Existentes',
crit2_desc:
'Ausencia de servicios similares en Xahau Mainnet antes del concurso.',
crit3_label: 'Impacto y Utilidad',
crit3_desc:
'Valor para usuarios finales — individuos, empresas o sector público.',
crit4_label: 'Calidad de Ejecución',
crit4_desc: 'Estabilidad, documentación y experiencia de usuario.',
crit5_label: 'Uso de Hooks',
crit5_desc:
'El uso de smart contracts en Xahau recibe reconocimiento especial.',
act3_format_lbl: 'Formato de Envío',
html_format_p1:
'Cada proyecto debe incluir una carpeta y un <strong>archivo de envío</strong> en el directorio submissions de <a href="https://github.com/xahau/xahau-2nd-dev-contest" target="_blank" rel="noopener noreferrer">este repositorio ↗</a>.',
format_example:
'submissions/NombreGitHub_NombreProyecto/NombreGitHub_NombreProyecto.md',
format_p2:
'Campos requeridos: Título · Descripción · Participantes · Redes Sociales · Email · Enlace al Proyecto · Dirección Xahau · Documentación · Código Hooks en C y hash (si aplica) · Repositorio (opcional)',
// Act IV
act4_label: 'Soporte y Recursos',
act4_support_lbl: 'Soporte',
act4_support_h3: 'Preguntas y Comunidad',
html_support_p1:
'Únete al <a href="https://discord.gg/ds7nb93mYj" target="_blank" rel="noopener noreferrer">Discord de Xahau Builders ↗</a> o envía un email a <a href="mailto:contests@xahau.org">contests@xahau.org</a>. Tus preguntas pueden añadirse a las FAQ para que otros se beneficien.',
ownership_note:
'Todos los proyectos enviados siguen siendo <strong>propiedad de sus creadores originales</strong>.',
act4_faq_lbl: 'FAQ',
faq1_q: '¿Puedo enviar más de un proyecto?',
faq1_a: 'Sí — tantos como quieras, individualmente o en grupo.',
faq2_q: '¿Los proyectos deben ser de código abierto?',
faq2_a:
'No, pero deben incluir documentación básica. El código de Hooks sí debe ser abierto.',
faq3_q: '¿Puedo usar IA para construir o documentar mi proyecto?',
faq3_a: 'Sí, el uso de IA está completamente permitido.',
faq4_q: '¿Hay ventaja en usar Hooks?',
faq4_a:
'Sí — los proyectos que usen Hooks creativamente recibirán reconocimiento especial.',
faq5_q: '¿Qué pasa con mi proyecto tras el concurso?',
faq5_a: 'Conservas la propiedad total.',
act4_links_lbl: 'Enlaces Útiles',
act4_links_h3: 'Recursos para Desarrolladores Xahau',
act4_legal_lbl: 'Aviso Legal Final',
legal_intro: 'Al participar, aceptas que:',
legal1:
'Los participantes deben cumplir los criterios de elegibilidad y todas las reglas. No se permiten proyectos publicados antes del concurso.',
legal2:
'Los proyectos siguen siendo propiedad de sus creadores; los organizadores se reservan el derecho de mostrarlos con el crédito apropiado.',
legal3:
'Los organizadores pueden descalificar envíos que violen las reglas. Todas las decisiones del jurado son definitivas.',
legal4:
'Los organizadores no son responsables de daños o pérdidas durante la participación y pueden modificar los requisitos en cualquier momento.',
legal5:
'Pueden aplicarse sanciones y restricciones jurisdiccionales. Puede requerirse verificación KYC para recibir premios.',
legal6:
'Todos los impuestos y obligaciones financieras relacionadas con los premios son responsabilidad exclusiva del participante.',
},
ja: {
page_subtitle:
'Ecosystem Rising — Xahauを活用したユーザー向けサービスを構築',
chip1: '第2回',
chip2: 'Xahau Mainnet',
chip3: '主要賞3つ',
chip4: 'XAH報酬',
// Act I
act1_label: 'はじめに',
act1_about_lbl: '概要',
act1_about_h3: 'Ecosystem Risingへようこそ',
act1_about_p1:
'このコンテストは、<strong>Xahauを活用したユーザー向けサービス</strong>を構築するイベーターを招待し、賞品を競いながらXahauエコシステムを強化するものです。',
act1_about_p2:
'個人でもチームでも、好きなだけプロジェクトを提出でき、それぞれ異なる賞の対象となります。',
act1_prizes_lbl: '賞品',
act1_prizes_h3: 'XAHの主要賞',
prize1_place: '1位',
prize1_value: 'XAH建て4,000 USD相当',
prize2_place: '2位',
prize2_value: 'XAH建て2,000 USD相当',
prize3_place: '3位',
prize3_value: 'XAH建て1,000 USD相当',
timeline_lbl: 'スケジュール',
timeline1_label: '提出締切:',
timeline1_value: '2026年2月1日',
timeline2_label: '審査パネル:',
timeline2_value: 'XahauおよびXRPLコミュニティの5名',
// Act II
act2_label: '審査パネルとテーマ',
act2_judges_lbl: '審査パネル',
act2_judges_h3: '5名のコミュニティメンバー',
act2_theme_lbl: 'テーマ',
act2_theme_h3: 'Xahau上のサービス',
act2_theme_p:
'参加者は<strong>Xahauメインネットと対話するWebベースのサービス</strong>を構築し、<strong>エンドユーザー</strong>(一般ユーザー、パワーユーザー、公共部門、民間部門)向けに設計する必要があります。',
example1_heading: '日常ユーザーツール',
example1_item1: '個人財務ダッシュボード',
example1_item2: 'ウォレットマネージャー',
example1_item3: 'コミュニティアプリ',
example2_heading: 'ビジネスサービス',
example2_item1: '決済ポータル',
example2_item2: 'ロイヤルティプラットフォーム',
example2_item3: '顧客サービスツール',
example3_heading: '公共プラットフォーム',
example3_item1: 'NFTマーケットプレイス',
example3_item2: '投票システム',
example3_item3: '寄付ハブ',
example3_item4: '文化アプリ',
example3_item5: '社会的善のためのユーティリティ',
// Act III
act3_label: 'ルールと評価',
act3_rules_lbl: '参加ルール',
act3_rules_h3: '知っておくべきこと',
rule1: '<strong>好きなだけ多くのプロジェクト</strong>を提出できます。',
rule2: '各プロジェクトは個人またはグループが提出できます。',
rule3:
'同じ参加者の異なるプロジェクトがそれぞれ別の賞を受けることができます。',
rule4:
'プロジェクトは<strong>Xahauメインネットで動作</strong>する必要があります。',
rule5:
'各プロジェクトは<strong>オンラインでアクセス可能</strong>である必要があります。',
rule6:
'各提出には<strong>基本的なドキュメント</strong>を含める必要があります。マルチメディア素材も歓迎。',
rule7:
'<strong>AIツール</strong>は開発とドキュメントの両方に使用できます。',
rule8:
'<strong>Hooks</strong>を使用する場合、Hookコードはオープンソースである必要があります。CコードとHookハッシュを添付してください。',
rule9:
'規制された金融サービスや違法活動を対象とするプロジェクトは対象外です。',
html_rule10:
'<a href="https://x.com/XahauNetwork" target="_blank" rel="noopener noreferrer">@XahauNetwork</a>をタグ付けしてXに投稿し、参加を発表してください。',
act3_eval_lbl: '評価基準',
act3_eval_h3: '審査員が重視すること',
crit1_label: '独自性と創造性',
crit1_desc: 'アイデアはどれほど新しく革新的ですか?',
crit2_label: '既存の競合他社の不在',
crit2_desc:
'コンテスト前にXahauメインネットで同じサービスを提供するものがないか。',
crit3_label: '影響と有用性',
crit3_desc: 'エンドユーザー(個人、企業、公共部門)への価値。',
crit4_label: '実行の品質',
crit4_desc: '安定性、ドキュメント、ユーザーエクスペリエンス。',
crit5_label: 'Hooksの使用',
crit5_desc:
'XahauのスマートコントラクトであるHooksの使用は特別な評価を受けます。',
act3_format_lbl: '提出フォーマット',
html_format_p1:
'各プロジェクトは<a href="https://github.com/xahau/xahau-2nd-dev-contest" target="_blank" rel="noopener noreferrer">このリポジトリ ↗</a>の submissionsディレクトリ内にフォルダと<strong>提出ファイル</strong>を含める必要があります。',
format_example:
'submissions/GitHubName_ProjectName/GitHubName_ProjectName.md',
format_p2:
'必須フィールド:プロジェクトタイトル · 簡単な説明 · 参加者 · ソーシャルメディア · 連絡先メール · プロジェクトリンク · XahauアドレスHooksのCコードとハッシュ使用する場合· リポジトリリンク(任意)',
// Act IV
act4_label: 'サポートとリソース',
act4_support_lbl: 'サポート',
act4_support_h3: '質問とコミュニティ',
html_support_p1:
'<a href="https://discord.gg/ds7nb93mYj" target="_blank" rel="noopener noreferrer">Xahau Builders Discord ↗</a>に参加するか、<a href="mailto:contests@xahau.org">contests@xahau.org</a>にメールしてください。質問はFAQに追加され、他の参加者も参照できます。',
ownership_note:
'提出されたすべてのプロジェクトは<strong>元の作成者の財産</strong>のままです。',
act4_faq_lbl: 'FAQ',
faq1_q: '複数のプロジェクトを提出できますか?',
faq1_a: 'はい — 個人でもグループとしても、好きなだけ提出できます。',
faq2_q: 'プロジェクトはオープンソースである必要がありますか?',
faq2_a:
'いいえ、ただし基本的なドキュメントが必要です。Hookコードはオープンソースである必要があります。',
faq3_q: 'AIを使用してプロジェクトを構築や文書化できますか',
faq3_a: 'はい、AIの使用は完全に許可されています。',
faq4_q: 'Hooksを使用することに利点はありますか',
faq4_a:
'はい — Hooksを創造的に実装したプロジェクトは特別な評価を受けます。',
faq5_q: 'コンテスト後、プロジェクトはどうなりますか?',
faq5_a: '完全な所有権を保持します。',
act4_links_lbl: '便利なリンク',
act4_links_h3: 'Xahau開発者向けリソース',
// JA版には legal セクションなし
act4_legal_lbl: '',
legal_intro: '',
legal1: '',
legal2: '',
legal3: '',
legal4: '',
legal5: '',
legal6: '',
},
}

View File

@@ -0,0 +1,367 @@
export const featuresTranslations = {
en: {
// Page header
page_title: 'Features',
page_subtitle: 'Proven technology with a fresh approach',
chip1: '10+ Protocol Features',
chip2: 'Native DEX',
chip3: 'NFTs Built-In',
chip4: 'No Runtime Overhead',
// Act I — Protocol Layer
act1_label: 'Protocol Layer',
// Hooks statement
proto_section_label: 'Programmability',
proto_h3_line1: 'Hooks: Account-Level',
proto_h3_line2: 'Smart Contract Logic',
proto_para1:
'Xahau introduces Hooks—a unique form of on-ledger smart contract logic that runs directly at the account level. Unlike smart contracts on most blockchains that require interacting with external contract addresses, Hooks are lightweight programs embedded inside user accounts themselves. These Hooks can automatically inspect, modify, or reject any transaction involving that account, without the need for explicit function calls.',
proto_para2:
'Because Hooks are executed inline and within consensus, they offer real-time programmability with minimal overhead. This allows for powerful use cases such as rejecting unauthorized token transfers, triggering actions on deposits, or implementing compliance logic—all without slowing down the network. Hooks represent a new security and programmability paradigm, making accounts active participants in transaction logic.',
// DEX detail
dex_label: 'Exchange',
dex_h4: 'Offers: Built-In Decentralized Exchange (DEX)',
dex_para1:
"Xahau includes a native Offers system, powering a built-in decentralized exchange on the ledger. Users can create Offer entries to buy or sell assets (such as tokens or issued currencies) directly on the network, and these offers are automatically matched by the protocol's order book.",
dex_para2:
"Unlike many blockchains that require smart contracts or external platforms for trading, Xahau's DEX is a first-class feature of the ledger. This on-ledger exchange offers fast settlement and low fees, making asset trading seamless for users and applications.",
// Fees detail
fees_label: 'Economics',
fees_h4: 'Low Fees with Fee Burning',
fees_para1:
'Xahau maintains consistently low transaction fees, with a built-in fee-burning model that reduces spam and rewards long-term network health. Every transaction pays a minimal fee in XAH, and a portion of that fee is permanently destroyed—creating a deflationary effect over time.',
fees_para2:
'This approach discourages network abuse while preserving accessibility, particularly for high-throughput or cost-sensitive applications. Unlike inflationary models or auction-style fees, Xahau provides predictability and economic alignment for all users.',
// Performance solo
perf_label: 'Infrastructure',
perf_h4: 'Fast, Green, and Scalable',
perf_para1:
"Built on a refined version of XRPL's consensus protocol, Xahau offers fast finality, low energy usage, and reliable scalability. Transactions confirm in seconds, with no mining and minimal hardware requirements. The result is a network that can serve real-world financial and enterprise use cases without compromising the environment or user experience.",
perf_para2:
"Xahau's architecture is ideal for global payment systems, tokenized asset platforms, or high-volume applications where performance and sustainability are non-negotiable.",
// Act II — Financial Primitives
act2_label: 'Financial Primitives',
// Payments statement
pay_section_label: 'Payments',
pay_h3_line1: 'Payments:',
pay_h3_line2: 'Multi-Asset Transfers',
pay_h3_line3: '& Channels',
pay_para1:
'The Payments functionality in Xahau is designed to facilitate fast, flexible transfer of value across the network. Uniquely, Xahau (like XRPL) supports multi-asset payments through a system of trust lines and issued currencies. Using a TrustSet transaction, two parties can establish a trust line to transact in a custom asset or IOU, enabling built-in support for multiple currencies or tokens without requiring smart contracts.',
pay_para2:
'This means businesses can issue stablecoins or tokens on Xahau and users can send or exchange them natively. The Payments suite also includes advanced features like Deposit Preauthorization, which lets an account whitelist who can send it funds, adding security against unwanted transactions.',
pay_para3:
"In addition, Xahau supports payment channels for scalability. Payment channels allow two parties to conduct rapid, high-volume transactions off-ledger and then settle the net result on the blockchain. With transactions like PaymentChannelCreate, Fund, and Claim, Xahau enables micropayments or streaming payments that are secured by the ledger but don't congest it.",
// Tokens detail
tokens_label: 'Asset Control',
tokens_h4: 'Token and Asset Control by Design',
tokens_para1:
'Xahau gives issuers and users granular control over tokens and trustlines. Features like TrustSet, Clawback, Freeze, and Deposit Authorization allow full customization of how tokens can be used or received. Assets can be whitelisted, blocked, or burned, all enforced at the protocol level.',
tokens_para2:
'This makes Xahau uniquely suited for regulated financial instruments, stablecoins, loyalty programs, or enterprise supply chains—any scenario where compliance, safety, and precision are critical.',
// Rewards detail
rewards_label: 'Economics',
rewards_h4: 'Balance Rewards: Passive Yield Without Staking',
rewards_para1:
'Xahau offers a Balance Reward system that lets accounts passively accumulate value simply by holding assets. These rewards are calculated based on account balance and distributed through a consensus-enforced mechanism, without requiring staking, delegation, or third-party contracts.',
rewards_para2:
"The mechanism is powered by protocol-level logic and on-chain Hooks, ensuring rewards are automatic, fair, and sustainable. Unlike yield farming or staking systems on other blockchains, Xahau's reward model doesn't require users to lock assets or chase complex DeFi strategies—it works natively, with transparency and simplicity.",
// Escrow detail
escrow_label: 'Primitives',
escrow_h4: 'Escrow: Conditional Transfers for Any Asset',
escrow_para1:
'Xahau supports on-ledger escrow of both native and issued tokens, enabling secure conditional transfers for a broad range of business and financial use cases. Funds or tokens can be locked with time-based or condition-based release logic, enforced by the network itself.',
escrow_para2:
"Whether you're building a milestone-based payment system, marketplace settlement, or trusted token distribution, Xahau's escrows offer a simple yet powerful tool—without the need for external smart contracts. Native support for both fungible and non-fungible assets in escrow makes this a uniquely versatile feature.",
// Remit detail
remit_label: 'Payments',
remit_h4: 'Remit: Native Cross-Account Transfers',
remit_para1:
'The Remit feature allows streamlined, multi-operation transactions between accounts—ideal for complex or high-volume payment flows. Instead of sending multiple separate instructions, a single Remit transaction can distribute value to multiple recipients or trigger multiple balance changes atomically.',
remit_para2:
"This improves efficiency and reliability, especially for payment processors, marketplaces, or applications that need to perform bundled operations. Because it's built into the protocol, Remit ensures predictable performance, low latency, and strong auditability.",
// Checks detail
checks_label: 'Payments',
checks_h4: 'Checks: Deferred Payment System',
checks_para1:
'Xahau supports Checks, a deferred payment system akin to writing digital checks on the blockchain. One party can issue a Check (promise of payment) that the intended recipient may cash at a later time or cancel if needed. This feature allows secure, flexible transactions—for example, a business can issue payment that the receiver will claim when certain conditions are met.',
checks_para2:
"The ledger has dedicated transactions for creating a check, cashing it, or canceling it. Few other platforms have this kind of native deferred payment instrument; Xahau's check system provides an extra layer of payment control, all enforced by the network's rules without requiring custom smart contracts.",
// Act III — Governance & Identity
act3_label: 'Governance & Identity',
// Governance statement
gov_section_label: 'Governance',
gov_h3_line1: 'Governance Game:',
gov_h3_line2: 'Decentralized Coordination',
gov_h3_line3: 'with Purpose',
gov_para1:
'Xahau features a novel governance system backed by the Governance Game, a transparent, on-ledger mechanism for proposing, reviewing, and voting on amendments. Validator operators (Governors) participate directly in shaping the protocol, while also competing in a structured reward system based on accountability and engagement.',
gov_para2:
'This system ensures that protocol upgrades and policy decisions are open and participatory, not dictated by a centralized entity. It combines the benefits of structured enterprise coordination with the transparency and resilience of decentralized consensus. By gamifying governance in a secure and incentive-aligned way, Xahau sets a new standard for on-chain coordination.',
// URITokens closing
uri_label: 'NFTs',
uri_h4: 'URITokens: Native NFTs on Xahau',
uri_para1:
"URITokens represent Xahau's approach to non-fungible tokens (NFTs), implemented as a native part of the ledger rather than via separate smart contracts. A URIToken is a first-class on-ledger object uniquely identified by the issuing account and a Uniform Resource Identifier (URI) that typically points to the token's metadata or content. Only one URIToken with a given URI can exist per account, ensuring true uniqueness for each digital asset.",
uri_para2:
'This built-in NFT standard means creators can mint, trade, or burn NFTs with simple transactions (e.g. URITokenMint, URITokenBuy, URITokenBurn) without deploying custom code. The issuer of a URIToken can even allow it to be destroyed (burned) by setting a flag, giving flexibility in how NFTs are managed. By integrating NFTs at the protocol level, Xahau makes issuing and managing digital collectibles or credentials more efficient and secure.',
},
es: {
// Page header
page_title: 'Características',
page_subtitle: 'Tecnología probada con un enfoque innovador',
chip1: '10+ Funciones de Protocolo',
chip2: 'DEX Nativo',
chip3: 'NFTs Integrados',
chip4: 'Sin Sobrecarga de Ejecución',
// Act I — Protocol Layer
act1_label: 'Capa de Protocolo',
// Hooks statement
proto_section_label: 'Programabilidad',
proto_h3_line1: 'Hooks: Lógica de Contrato',
proto_h3_line2: 'Inteligente a Nivel de Cuenta',
proto_para1:
'Xahau introduce los Hooks, una forma única de lógica de contrato inteligente on-ledger que se ejecuta directamente a nivel de cuenta. A diferencia de los contratos inteligentes en la mayoría de blockchains, que requieren interactuar con direcciones de contratos externas, los Hooks son programas ligeros incrustados dentro de las propias cuentas de usuario. Estos Hooks pueden inspeccionar, modificar o rechazar automáticamente cualquier transacción que involucre esa cuenta, sin necesidad de llamadas a funciones explícitas.',
proto_para2:
'Dado que los Hooks se ejecutan inline y dentro del consenso, ofrecen programabilidad en tiempo real con una sobrecarga mínima. Rechaza transferencias de tokens no autorizadas, desencadena acciones en depósitos, implementa lógica de cumplimiento normativo — todo sin ralentizar la red. Los Hooks representan un nuevo paradigma de seguridad y programabilidad.',
// DEX detail
dex_label: 'Exchange',
dex_h4: 'Ofertas: Exchange Descentralizado (DEX) Integrado',
dex_para1:
'Xahau incluye un sistema de Ofertas nativo, que impulsa un exchange descentralizado integrado en el ledger. Los usuarios pueden crear entradas de Oferta para comprar o vender activos directamente en la red; el libro de órdenes del protocolo las empareja automáticamente. Intercambio entre pares sin intermediarios ni plataformas externas.',
dex_para2:
'A diferencia de la mayoría de blockchains que necesitan contratos inteligentes para el trading, el DEX de Xahau es una característica de primera clase del ledger — liquidación rápida, bajas comisiones, integración perfecta.',
// Fees detail
fees_label: 'Economía',
fees_h4: 'Bajas Comisiones con Quema de Fees',
fees_para1:
'Comisiones de transacción consistentemente bajas, respaldadas por un modelo integrado de quema de fees que reduce el spam y premia la salud a largo plazo de la red. Cada transacción paga una comisión mínima en XAH; una parte se destruye permanentemente — un silencioso efecto deflacionario.',
fees_para2:
'A diferencia de los modelos inflacionarios o las comisiones de tipo subasta, Xahau proporciona previsibilidad y alineación económica para todos los usuarios.',
// Performance solo
perf_label: 'Infraestructura',
perf_h4: 'Rápido, Verde y Escalable',
perf_para1:
'Construido sobre una versión refinada del protocolo de consenso del XRPL, Xahau ofrece finalidad rápida, bajo consumo de energía y escalabilidad fiable. Las transacciones se confirman en segundos — sin minería, requisitos mínimos de hardware.',
perf_para2:
'El resultado es una red que puede servir casos de uso financieros y empresariales del mundo real sin comprometer el medio ambiente ni la experiencia del usuario. Ideal para sistemas de pago globales, activos tokenizados o aplicaciones de alto volumen donde el rendimiento y la sostenibilidad son innegociables.',
// Act II — Financial Primitives
act2_label: 'Primitivas Financieras',
// Payments statement
pay_section_label: 'Pagos',
pay_h3_line1: 'Transferencias Multi-Activo',
pay_h3_line2: 'y Canales de Pago',
pay_h3_line3: '',
pay_para1:
'Xahau soporta pagos multi-activo a través de un sistema de líneas de confianza y monedas emitidas. Usando una transacción TrustSet, dos partes pueden establecer una línea de confianza para transaccionar en cualquier activo personalizado o IOU — soporte integrado para múltiples monedas y tokens, sin contratos inteligentes.',
pay_para2:
'Las empresas pueden emitir stablecoins o tokens en Xahau; los usuarios los envían e intercambian de forma nativa. La suite de Pagos también incluye Preautorización de Depósito, que permite a las cuentas incluir en una lista blanca quién puede enviarles fondos — seguridad contra transacciones no deseadas.',
pay_para3:
'Y para escala: Xahau soporta canales de pago que permiten transacciones rápidas y de alto volumen fuera del ledger con liquidación on-chain. Micropagos, pagos en streaming — asegurados por el ledger sin congestionarlo.',
// Tokens detail
tokens_label: 'Control de Activos',
tokens_h4: 'Control de Tokens y Activos por Diseño',
tokens_para1:
'Control granular sobre tokens y líneas de confianza. TrustSet, Clawback, Freeze y Deposit Authorization permiten una personalización completa de cómo se pueden usar o recibir los tokens. Los activos pueden ser incluidos en listas blancas, bloqueados o quemados — todo aplicado a nivel de protocolo.',
tokens_para2:
'Especialmente adecuado para instrumentos financieros regulados, stablecoins, programas de fidelización o cadenas de suministro empresariales donde el cumplimiento normativo, la seguridad y la precisión son críticos.',
// Rewards detail
rewards_label: 'Economía',
rewards_h4: 'Recompensas de Saldo: Rendimiento Pasivo Sin Staking',
rewards_para1:
'Las cuentas acumulan valor pasivamente simplemente manteniendo activos. Las recompensas se calculan en función del saldo de la cuenta y se distribuyen mediante un mecanismo aplicado por consenso — sin staking, sin delegación, sin contratos de terceros.',
rewards_para2:
'A diferencia del yield farming en otros lugares, el modelo de recompensas de Xahau funciona de forma nativa, transparente y automática.',
// Escrow detail
escrow_label: 'Primitivas',
escrow_h4: 'Escrow',
escrow_para1:
'Escrow on-ledger para tokens nativos y emitidos. Los fondos se bloquean con lógica de liberación basada en tiempo o condiciones, aplicada por la propia red — sin contratos inteligentes externos.',
escrow_para2:
'Pagos por hitos, liquidación de marketplace, distribución de confianza — soporte nativo para activos fungibles y no fungibles en escrow.',
// Remit detail
remit_label: 'Pagos',
remit_h4: 'Remit',
remit_para1:
'Transacciones multi-operación simplificadas entre cuentas. Un solo Remit puede distribuir valor a múltiples destinatarios o desencadenar múltiples cambios de saldo de forma atómica — sin pila de instrucciones separadas.',
remit_para2:
'Rendimiento predecible, baja latencia, sólida trazabilidad para procesadores de pago y marketplaces. Integrado en el protocolo.',
// Checks detail
checks_label: 'Pagos',
checks_h4: 'Cheques',
checks_para1:
'Un sistema de pago diferido — como escribir cheques digitales on-chain. Emite un Cheque que el destinatario cobra más tarde, o cancela si es necesario. Control de pago adicional, aplicado puramente por las reglas de la red.',
checks_para2:
'Pocas plataformas tienen un instrumento de pago diferido nativo. Sin contratos inteligentes personalizados. Solo una primitiva limpia y simple.',
// Act III — Governance & Identity
act3_label: 'Gobernanza e Identidad',
// Governance statement
gov_section_label: 'Gobernanza',
gov_h3_line1: 'El Juego de Gobernanza:',
gov_h3_line2: 'Coordinación Descentralizada',
gov_h3_line3: 'con Propósito',
gov_para1:
'Xahau cuenta con un novedoso sistema de gobernanza respaldado por el Juego de Gobernanza — un mecanismo transparente y on-ledger para proponer, revisar y votar enmiendas. Los operadores de validadores (Gobernadores) participan directamente en la configuración del protocolo, compitiendo en un sistema de recompensas estructurado basado en la responsabilidad y el compromiso.',
gov_para2:
'Las actualizaciones del protocolo y las decisiones de política son abiertas y participativas, no dictadas por una entidad centralizada. La coordinación empresarial estructurada se une a la transparencia y resiliencia del consenso descentralizado — estableciendo un nuevo estándar para la coordinación on-chain.',
// URITokens closing
uri_label: 'NFTs',
uri_h4: 'URITokens: NFTs Nativos en Xahau',
uri_para1:
'Los URITokens representan el enfoque de Xahau hacia los tokens no fungibles — implementados como una parte nativa del ledger, no mediante contratos inteligentes separados. Un URIToken es un objeto on-ledger de primera clase, identificado de forma única por la cuenta emisora y el URI. Solo puede existir un URIToken con un URI dado por cuenta, garantizando la verdadera unicidad de cada activo digital.',
uri_para2:
'Los creadores acuñan, intercambian o queman NFTs con transacciones simples — URITokenMint, URITokenBuy, URITokenBurn — sin desplegar código personalizado. El emisor puede incluso permitir la quema estableciendo un flag. NFTs a nivel de protocolo: más eficientes, más seguros, menos fricción.',
},
ja: {
// Page header
page_title: '機能',
page_subtitle: '実証された技術と革新的なアプローチ',
chip1: '10以上のプロトコル機能',
chip2: 'ネイティブDEX',
chip3: 'NFT組み込み済み',
chip4: '実行オーバーヘッドなし',
// Act I — Protocol Layer
act1_label: 'プロトコル層',
// Hooks statement
proto_section_label: 'プログラマビリティ',
proto_h3_line1: 'Hooksアカウントレベルの',
proto_h3_line2: 'スマートコントラクトロジック',
proto_para1:
'Xahauはアカウントレベルで直接動作するユニークな形式のオンレジャースマートコントラクトロジックであるHooksを導入しています。外部のコントラクトアドレスとの対話を必要とする他のブロックチェーンのスマートコントラクトとは異なり、Hooksはユーザーアカウント自体に組み込まれた軽量なプログラムです。これらのHooksは、明示的な関数呼び出しなしに、そのアカウントに関わるあらゆる取引を自動的に検査、変更、または拒否することができます。',
proto_para2:
'Hooksはインラインかつコンセンサス内で実行されるため、最小限のオーバーヘッドでリアルタイムのプログラマビリティを提供します。これにより、不正なトークン転送の拒否、入金時のアクションのトリガー、コンプライアンスロジックの実装などの強力なユースケースが可能になります。Hooksは新しいセキュリティとプログラマビリティのパラダイムを表し、アカウントをトランザクションロジックのアクティブな参加者にします。',
// DEX detail
dex_label: '取引所',
dex_h4: 'オファー内蔵の分散型取引所DEX',
dex_para1:
'Xahauはネイティブのオファーシステムを含み、レジャー上の内蔵分散型取引所を動かしています。ユーザーはネットワーク上で直接資産トークンや発行通貨などを売買するためのオファーエントリを作成でき、これらのオファーはプロトコルのオーダーブックによって自動的にマッチングされます。',
dex_para2:
'取引のためにスマートコントラクトや外部プラットフォームを必要とする多くのブロックチェーンとは異なり、XahauのDEXはレジャーのファーストクラスの機能です。このオンレジャー取引所は高速決済と低手数料を提供し、ユーザーやアプリケーションにとってシームレスな資産取引を実現します。',
// Fees detail
fees_label: 'エコノミクス',
fees_h4: '手数料燃焼による低手数料',
fees_para1:
'Xahauは一貫して低い取引手数料を維持し、スパムを減らしてネットワークの長期的な健全性を報酬する組み込みの手数料燃焼モデルを持っています。各取引はXAHで最小限の手数料を支払い、その手数料の一部は永久に破壊され、時間とともにデフレ効果をもたらします。',
fees_para2:
'このアプローチはネットワークの乱用を抑止しながらアクセシビリティを維持します。インフレモデルやオークション形式の手数料とは異なり、Xahauはすべてのユーザーに予測可能性と経済的整合性を提供します。',
// Performance solo
perf_label: 'インフラストラクチャ',
perf_h4: '高速、グリーン、スケーラブル',
perf_para1:
'XRPLのコンセンサスプロトコルの洗練されたバージョンの上に構築されたXahauは、高速なファイナリティ、低エネルギー使用量、信頼性の高いスケーラビリティを提供します。取引は数秒で確認され、マイニングなし、最小限のハードウェア要件で行われます。その結果、環境やユーザーエクスペリエンスを損なうことなく、実世界の金融およびエンタープライズのユースケースに対応できるネットワークが実現します。',
perf_para2:
'Xahauのアーキテクチャは、パフォーマンスと持続可能性が交渉の余地のないグローバル決済システム、トークン化資産プラットフォーム、または高ボリュームアプリケーションに最適です。',
// Act II — Financial Primitives
act2_label: '金融プリミティブ',
// Payments statement
pay_section_label: '決済',
pay_h3_line1: '支払い:マルチアセット',
pay_h3_line2: '転送とチャンネル',
pay_h3_line3: '',
pay_para1:
'Xahauの支払い機能は、ネットワーク全体での価値の高速かつ柔軟な転送を容易にするように設計されています。Xahauはトラストラインと発行通貨のシステムを通じてマルチアセット支払いをサポートし、スマートコントラクトを必要とせずに複数の通貨やトークンの組み込みサポートを可能にします。',
pay_para2:
'これは、企業がXahau上でステーブルコインやトークンを発行し、ユーザーがそれらをネイティブに送受信または交換できることを意味します。支払いスイートには、口座に資金を送れる人をホワイトリスト化できる入金事前承認など、不要な取引に対するセキュリティを追加する高度な機能も含まれています。',
pay_para3:
'さらに、Xahauはスケーラビリティのためのペイメントチャンネルをサポートしています。ペイメントチャンネルにより、2者がオフレジャーで高速・大量の取引を行い、その後正味の結果をブロックチェーン上で決済することができます。PaymentChannelCreate、Fund、Claimなどのトランザクションにより、Xahauはレジャーによって保護されるがそれを混雑させないマイクロペイメントやストリーミングペイメントを可能にします。',
// Tokens detail
tokens_label: '資産管理',
tokens_h4: '設計によるトークンと資産の制御',
tokens_para1:
'Xahauは発行者とユーザーにトークンとトラストラインに対する詳細な制御を与えます。TrustSet、Clawback、Freeze、Deposit Authorizationなどの機能により、トークンの使用方法や受け取り方を完全にカスタマイズできます。資産はホワイトリスト化、ブロック、または燃焼させることができ、すべてプロトコルレベルで適用されます。',
tokens_para2:
'これにより、Xahauは規制された金融商品、ステーブルコイン、ロイヤルティプログラム、エンタープライズサプライチェーンなど、コンプライアンス、安全性、精度が重要なシナリオに特に適しています。',
// Rewards detail
rewards_label: 'エコノミクス',
rewards_h4: '残高報酬:ステーキングなしのパッシブ収益',
rewards_para1:
'Xahauは残高報酬システムを提供しており、アカウントが資産を保有するだけで価値を受動的に積み立てることができます。これらの報酬はアカウント残高に基づいて計算され、ステーキング、委任、サードパーティのコントラクトを必要とせず、コンセンサスによって適用されるメカニズムを通じて分配されます。',
rewards_para2:
'このメカニズムはプロトコルレベルのロジックとオンチェーンHooksによって支えられており、報酬が自動的、公正、持続可能であることを保証します。他のブロックチェーンのイールドファーミングやステーキングシステムとは異なり、Xahauの報酬モデルはユーザーが資産をロックしたり複雑なDeFi戦略を追いかけたりする必要がありません。',
// Escrow detail
escrow_label: 'プリミティブ',
escrow_h4: 'エスクロー:あらゆる資産の条件付き転送',
escrow_para1:
'Xahauはネイティブおよび発行済みトークンのオンレジャーエスクローをサポートし、幅広いビジネスおよび金融ユースケースのための安全な条件付き転送を可能にします。資金またはトークンは、ネットワーク自体によって適用される時間ベースまたは条件ベースのリリースロジックでロックできます。',
escrow_para2:
'Xahauのエスクローは外部のスマートコントラクトを必要とせず、シンプルながら強力なツールを提供します。エスクローにおける代替可能および代替不可能な資産の両方に対するネイティブサポートにより、この機能は特に多用途です。',
// Remit detail
remit_label: '決済',
remit_h4: 'Remitネイティブのクロスアカウント転送',
remit_para1:
'Remit機能により、アカウント間での合理化されたマルチオペレーション取引が可能になり、複雑または大量の支払いフローに最適です。複数の個別の命令を送信する代わりに、単一のRemit取引が複数の受取人に価値を配布したり、複数の残高変更をアトミックにトリガーしたりできます。',
remit_para2:
'これにより、特に支払い処理業者、マーケットプレイス、またはバンドル操作を実行する必要があるアプリケーションの効率性と信頼性が向上します。プロトコルに組み込まれているため、Remitは予測可能なパフォーマンス、低レイテンシ、および強力な監査可能性を保証します。',
// Checks detail
checks_label: '決済',
checks_h4: 'チェック:繰延決済システム',
checks_para1:
'Xahauはブロックチェーン上でデジタル小切手を書くような繰延決済システムであるチェックをサポートしています。一方が後で現金化するか、必要に応じてキャンセルできるチェック支払いの約束を発行できます。この機能により、安全で柔軟な取引が可能になります。',
checks_para2:
'レジャーにはチェックの作成、現金化、またはキャンセルのための専用トランザクションがあります。Xahauのチェックシステムは、カスタムスマートコントラクトを必要とせず、ネットワークのルールによってすべて適用される追加の支払い制御層を提供します。',
// Act III — Governance & Identity
act3_label: 'ガバナンスとアイデンティティ',
// Governance statement
gov_section_label: 'ガバナンス',
gov_h3_line1: 'ガバナンスゲーム:',
gov_h3_line2: '目的を持った',
gov_h3_line3: '分散型調整',
gov_para1:
'Xahauはガバナンスゲームに裏付けられた新しいガバナンスシステムを特徴としています。これは、修正案を提案、審査、投票するための透明でオンレジャーのメカニズムです。バリデーターオペレーターガバナーは、説明責任とエンゲージメントに基づく構造化された報酬システムで競いながら、プロトコルの形成に直接参加します。',
gov_para2:
'このシステムにより、プロトコルのアップグレードとポリシー決定が、中央集権的なエンティティによって指示されるのではなく、オープンで参加型になることが保証されます。構造化されたエンタープライズ調整の利点と、分散型コンセンサスの透明性と回復力を組み合わせています。安全でインセンティブに沿った方法でガバナンスをゲーム化することで、Xahauはオンチェーン調整の新しい基準を設定します。',
// URITokens closing
uri_label: 'NFT',
uri_h4: 'URITokensXahauのネイティブNFT',
uri_para1:
'URITokensは、別のスマートコントラクトを介してではなく、レジャーのネイティブな部分として実装されたXahauの非代替トークンNFTへのアプローチを表しています。URITokenは、発行アカウントとトークンのメタデータやコンテンツを通常指すUniform Resource IdentifierURIによって一意に識別される、ファーストクラスのオンレジャーオブジェクトです。アカウントごとに特定のURIを持つURITokenは1つしか存在できず、各デジタル資産の真の独自性を確保します。',
uri_para2:
'この組み込みNFT標準により、クリエイターはカスタムコードをデプロイすることなく、シンプルな取引URITokenMint、URITokenBuy、URITokenBurnでNFTをミント、取引、または燃焼させることができます。URITokenの発行者はフラグを設定することで破壊燃焼を許可することもでき、NFTの管理方法に柔軟性を与えます。プロトコルレベルでNFTを統合することで、Xahauはデジタルコレクティブルや資格情報の発行・管理をより効率的かつ安全にします。',
},
}

View File

@@ -1,4 +1,4 @@
export type FraudReportLocale = 'en' | 'es' | 'ja' | 'pt-BR'
import type { Locale } from './locales'
export type FraudReportTranslations = {
frontmatter: {
@@ -66,10 +66,8 @@ export type FraudReportTranslations = {
}
}
export const fraudReportTranslations: Record<
FraudReportLocale,
FraudReportTranslations
> = {
export const fraudReportTranslations: Record<Locale, FraudReportTranslations> =
{
en: {
frontmatter: {
title: 'Report Fraud',
@@ -326,7 +324,8 @@ export const fraudReportTranslations: Record<
addressHint: '不正行為に関連するXahauアドレスを入力してください',
descriptionLabel: '説明',
descriptionPlaceholder: '不正行為の内容を説明してください',
descriptionHint: '調査の助けになるよう、できるだけ詳しく記載してください',
descriptionHint:
'調査の助けになるよう、できるだけ詳しく記載してください',
urlLabel: 'URL',
urlPlaceholder: '不正に関連する任意のURL',
urlHint: '詐欺サイトやSNS投稿など、関連するURLがあれば入力してください',
@@ -366,111 +365,10 @@ export const fraudReportTranslations: Record<
captchaFailed:
'CAPTCHA認証に失敗しました。チャレンジを完了して再度お試しください。',
submitting: '送信中...',
submitFailed: 'レポートを送信できませんでした。もう一度お試しください。',
submitFailed:
'レポートを送信できませんでした。もう一度お試しください。',
networkError:
'ネットワークエラー: サーバーに接続できませんでした。接続を確認して再度お試しください。',
},
},
'pt-BR': {
frontmatter: {
title: 'Reportar Fraude',
description:
'Você foi vítima de um golpe ou hack? Aqui está o que fazer!',
},
intro: {
body: 'Xahau é uma blockchain pública, sem uma parte governante que possa congelar ou recuperar fundos, fechar contas ou impedir as pessoas de acessar seus ativos.',
warning: 'Não podemos reverter ou cancelar transações, ninguém pode.',
lead: 'Podemos marcar contas usadas para atividades ilícitas, o que irá:',
bullets: [
'Ser incluída em nossa API que exchanges e outras entidades estão usando para conformidade AML para monitorar depósitos, e possivelmente reter fundos ilícitos.',
'O movimento de fundos será rastreado automaticamente e receberemos notificações sempre que eles se moverem, não importa quão antigo seja o caso.',
'Em caso de golpe, avisar outros usuários através do software de carteira e exchanges usando nossa API, para não enviar fundos para uma conta marcada.',
],
steps: [
{
title: '1. Envie o endereço para o Xahau Forensics',
body: 'Mantemos o maior registro de endereços fraudulentos no Xahau e ele é usado por várias entidades para combater atividades ilícitas.',
},
{
title: '2. Reporte seu caso às autoridades',
body: 'Reporte à polícia local e se seu país tiver um formulário de relatório online para crimes cibernéticos ou crimes financeiros, reporte lá também.',
},
{
title: '3. Acompanhe seu relatório policial',
body: 'Trabalhamos com as autoridades. Deixe-os saber que temos as informações. As chances são de que também estamos em contato com outras vítimas e podemos ajudar as autoridades a combinar casos entre jurisdições e fornecer inteligência acionável.',
},
],
expectationTitle: 'O que você pode esperar?',
expectations: [
'Não podemos reverter ou cancelar transações, ninguém pode.',
'Fazemos o nosso melhor para que os fundos sejam apreendidos quando saírem do Xahau, trabalhando com exchanges e outras rampas de saída através de nossa API de registro de endereços fraudulentos e por contato manual.',
'Quando você nos reporta uma conta, pode esperar que tratemos seu relatório com tanta atenção quanto qualquer outro relatório.',
'Recebemos muitos relatórios todos os dias. Se uma conta for adicionada ao nosso registro de endereços fraudulentos, estamos cuidando dela da melhor forma possível junto com todos os outros casos.',
'Se dinheiro for apreendido, entraremos em contato com você, se você nos deixou uma maneira de entrar em contato.',
'Para recuperar fundos, você precisa trabalhar com as autoridades para a papelada.',
],
expectationWarning:
'Monitoramos centenas de casos ao mesmo tempo e não podemos seguir cada caso individualmente. Só entraremos em contato com você se tivermos boas notícias!',
},
form: {
successTitle: 'Sucesso!',
successBody: 'Obrigado por seu relatório. Ele foi enviado com sucesso.',
reportIdLabel: 'ID do Relatório:',
reportIdFallback: 'desconecido',
errorTitle: 'Erro',
addressLabel: 'Endereço Xahau',
addressPlaceholder: 'rXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
addressHint:
'Digite o endereço Xahau associado à atividade fraudulenta',
descriptionLabel: 'Descrição',
descriptionPlaceholder: 'Descreva a atividade fraudulenta',
descriptionHint:
'Forneça o máximo de detalhes possível para nos ajudar a investigar',
urlLabel: 'URL',
urlPlaceholder: 'URL opcional relacionada à fraude',
urlHint:
'Forneça uma URL se relevante, por exemplo, um site de golpe ou postagem em mídia social',
categoryLabel: 'Categoria Sugerida',
categoryPlaceholder: 'Selecione uma categoria...',
categoryOptions: [
{ value: 'giveaway', label: 'Sorteio' },
{ value: 'theft', label: 'Roubo' },
{ value: 'other', label: 'Outro' },
],
categoryHint: 'Ajude-nos a categorizar o tipo de fraude',
contactLabel: 'Informações de Contato',
contactPlaceholder:
'Informações de contato opcionais, por exemplo, e-mail, X handle ou nome de usuário do Telegram',
contactHint:
'Forneça informações de contato se estiver disposto a ajudar com perguntas de acompanhamento',
requiredFields: 'Campos obrigatórios',
submitLabel: 'Enviar Relatório',
submitAnotherLabel: 'Enviar Outro Relatório',
optional: 'Opcional',
},
privacy: {
title: 'Privacidade e Segurança',
bullets: [
"Este formulário usa ALTCHA, um CAPTCHA compatível com a privacidade que não rastreia você",
'Seu relatório é enviado com segurança para a rede Xahau Forensics',
'Os relatórios são revisados e usados para melhorar a segurança da rede',
'Nenhuma informação pessoal é necessária para enviar um relatório',
],
},
attribution: {
prefix: 'Xahau Forensics é operado por ',
label: 'INFTF',
suffix: '.',
},
messages: {
captchaIncomplete:
'Por favor, complete a verificação CAPTCHA antes de enviar.',
captchaFailed:
'Falha na verificação CAPTCHA. Por favor, complete o desafio e tente novamente.',
submitting: 'Enviando...',
submitFailed: 'Falha ao enviar o relatório. Por favor, tente novamente.',
networkError:
'Erro de rede: Não foi possível conectar ao servidor. Por favor, verifique sua conexão e tente novamente.',
},
},
}

View File

@@ -136,5 +136,3 @@ export const indexTranslations = {
stats_node_cta: 'Quer executar um nó?',
},
}
export type IndexLocale = keyof typeof indexTranslations

7
src/i18n/locales.ts Normal file
View File

@@ -0,0 +1,7 @@
export const locales = ['en', 'es', 'ja'] as const
export type Locale = (typeof locales)[number]
export const defaultLocale = 'en'
export const nonDefaultLocales = locales.filter(
(locale) => locale !== defaultLocale,
)

View File

@@ -2,8 +2,9 @@
import CookieConsent from '../components/CookieConsent.astro'
import Footer from '../components/Footer.astro'
import Header from '../components/Header.jsx'
import { defaultLocale } from '../i18n/locales'
const _lang = Astro.currentLocale ?? 'en'
const _lang = Astro.currentLocale ?? defaultLocale
const _canonicalURL = new URL(Astro.url.pathname, Astro.site)
const _socialImageURL = new URL('/xahau-logo.png', Astro.site)
const _title = Astro.props.frontmatter?.title

View File

@@ -4,6 +4,7 @@ import CookieConsent from '../components/CookieConsent.astro'
import DocsMobileMenuToggle from '../components/DocsMobileMenuToggle.astro'
import Footer from '../components/Footer.astro'
import Header from '../components/Header.jsx'
import { defaultLocale } from '../i18n/locales'
const _hasSidebar = Astro.locals.starlightRoute.hasSidebar
---
@@ -13,7 +14,11 @@ const _hasSidebar = Astro.locals.starlightRoute.hasSidebar
rel="stylesheet"
>
<div class="font-[Onest] bg-xahau-background min-h-screen flex flex-col">
<Header client:load url={Astro.url} locale={Astro.currentLocale ?? 'en'} />
<Header
client:load
url={Astro.url}
locale={Astro.currentLocale ?? defaultLocale}
/>
<div class="page-content flex-1 container mx-auto p-6">
<div class="grid grid-cols-1 md:grid-cols-5 gap-4">
<div>

View File

@@ -3,13 +3,13 @@ import '../styles/main.css'
import { getRelativeLocaleUrl } from 'astro:i18n'
import worldmap from '../assets/worldmap.svg'
import XahauHome from '../components/XahauHome.astro'
import type { IndexLocale } from '../i18n/indexTranslations'
import { indexTranslations } from '../i18n/indexTranslations'
import { defaultLocale, type Locale } from '../i18n/locales'
import BaseLayout from '../layouts/BaseLayout.astro'
const _frontmatter = Astro.props.frontmatter
const locale = (Astro.currentLocale ?? 'en') as IndexLocale
const locale = (Astro.currentLocale ?? defaultLocale) as Locale
const i = indexTranslations[locale]
---

View File

@@ -1,6 +1,6 @@
---
import '../../styles/main.css'
import XahauAboutEs from '../../components/XahauAboutEs.astro'
import XahauAbout from '../../components/XahauAbout.astro'
import BaseLayout from '../../layouts/BaseLayout.astro'
const _frontmatter = {
@@ -12,6 +12,6 @@ const _frontmatter = {
<BaseLayout frontmatter={_frontmatter}>
<div class="page-content flex-1 container mx-auto max-w-7xl p-6">
<XahauAboutEs />
<XahauAbout />
</div>
</BaseLayout>

View File

@@ -1,6 +1,6 @@
---
import '../../styles/main.css'
import XahauContestEs from '../../components/XahauContestEs.astro'
import XahauContest from '../../components/XahauContest.astro'
import BaseLayout from '../../layouts/BaseLayout.astro'
const _frontmatter = {
@@ -12,6 +12,6 @@ const _frontmatter = {
<BaseLayout frontmatter={_frontmatter}>
<div class="flex-none container mx-auto max-w-7xl p-6 pb-12">
<XahauContestEs />
<XahauContest />
</div>
</BaseLayout>

View File

@@ -1,6 +1,6 @@
---
import '../../styles/main.css'
import XahauFeaturesEs from '../../components/XahauFeaturesEs.astro'
import XahauFeatures from '../../components/XahauFeatures.astro'
import BaseLayout from '../../layouts/BaseLayout.astro'
const _frontmatter = {
@@ -11,6 +11,6 @@ const _frontmatter = {
<BaseLayout frontmatter={_frontmatter}>
<div class="page-content flex-1 container mx-auto max-w-7xl p-6">
<XahauFeaturesEs />
<XahauFeatures />
</div>
</BaseLayout>

View File

@@ -1,6 +1,6 @@
---
import '../../styles/main.css'
import XahauAboutJa from '../../components/XahauAboutJa.astro'
import XahauAbout from '../../components/XahauAbout.astro'
import BaseLayout from '../../layouts/BaseLayout.astro'
const _frontmatter = {
@@ -12,6 +12,6 @@ const _frontmatter = {
<BaseLayout frontmatter={_frontmatter}>
<div class="page-content flex-1 container mx-auto max-w-7xl p-6">
<XahauAboutJa />
<XahauAbout />
</div>
</BaseLayout>

View File

@@ -1,6 +1,6 @@
---
import '../../styles/main.css'
import XahauContestJa from '../../components/XahauContestJa.astro'
import XahauContest from '../../components/XahauContest.astro'
import BaseLayout from '../../layouts/BaseLayout.astro'
const _frontmatter = {
@@ -11,6 +11,6 @@ const _frontmatter = {
<BaseLayout frontmatter={_frontmatter}>
<div class="flex-none container mx-auto max-w-7xl p-6 pb-12">
<XahauContestJa />
<XahauContest />
</div>
</BaseLayout>

View File

@@ -1,6 +1,6 @@
---
import '../../styles/main.css'
import XahauFeaturesJa from '../../components/XahauFeaturesJa.astro'
import XahauFeatures from '../../components/XahauFeatures.astro'
import BaseLayout from '../../layouts/BaseLayout.astro'
const _frontmatter = {
@@ -11,6 +11,6 @@ const _frontmatter = {
<BaseLayout frontmatter={_frontmatter}>
<div class="page-content flex-1 container mx-auto max-w-7xl p-6">
<XahauFeaturesJa />
<XahauFeatures />
</div>
</BaseLayout>

View File

@@ -1,5 +1,6 @@
import { readFileSync } from 'node:fs'
import { visit } from 'unist-util-visit'
import { defaultLocale, locales, nonDefaultLocales } from '../i18n/locales'
const parseRules: {
path: string
@@ -75,6 +76,7 @@ export function remarkGlobalReferences() {
}
return globalRefs
// biome-ignore lint/suspicious/noExplicitAny: allowed
} catch (error: any) {
console.warn('Could not load global.md references:', error.message)
globalRefs = {}
@@ -82,15 +84,14 @@ export function remarkGlobalReferences() {
}
}
const NON_ROOT_LOCALES = ['es', 'ja', 'pt-BR']
// biome-ignore lint/suspicious/noExplicitAny: allowed
return function transformer(tree: any, vfile: any) {
const refs = loadGlobalReferences()
// Detect locale from the file path
let localePrefix = ''
const filePath = vfile.path || vfile.history?.[0] || ''
for (const locale of NON_ROOT_LOCALES) {
for (const locale of nonDefaultLocales) {
if (filePath.includes(`/content/docs/${locale}/`)) {
localePrefix = `/${locale}`
break

View File

@@ -1,4 +1,5 @@
import { getRelativeLocaleUrl } from 'astro:i18n'
import { nonDefaultLocales } from '../i18n/locales'
function normalizePathname(pathname: string) {
if (!pathname || pathname === '/') return '/'
@@ -17,7 +18,7 @@ function splitPath(path: string) {
export function stripLocalePrefix(pathname: string) {
const normalizedPathname = normalizePathname(pathname)
for (const locale of ['es', 'ja', 'pt-br'] as const) {
for (const locale of nonDefaultLocales) {
if (normalizedPathname === `/${locale}`) return '/'
if (normalizedPathname.startsWith(`/${locale}/`)) {
return normalizePathname(normalizedPathname.slice(locale.length + 1))