All checks were successful
Gitea Auto Deploy / Deploy-Container (push) Successful in 6s
265 lines
9.1 KiB
HTML
265 lines
9.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Punklorde's Rainbow City</title>
|
|
|
|
<meta name="description" content="The hub for data and optimization tools for Punklorde.">
|
|
<meta name="theme-color" content="#bd93f9">
|
|
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:url" content="https://punklorde.org/">
|
|
<meta property="og:title" content="Punklorde's Rainbow City">
|
|
<meta property="og:description" content="The hub for data and optimization tools for Punklorde.">
|
|
<meta property="og:image" content="https://cdn.punklorde.org/punklorde.jpg">
|
|
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="twitter:url" content="https://punklorde.org/">
|
|
<meta name="twitter:title" content="Punklorde's Rainbow City">
|
|
<meta name="twitter:description" content="The hub for data and optimization tools for Punklorde.">
|
|
<meta name="twitter:image" content="https://cdn.punklorde.org/punklorde.jpg">
|
|
|
|
<link rel="icon" href="https://cdn.punklorde.org/punklorde-icon.png" type="image/png">
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: system-ui, -apple-system, sans-serif;
|
|
}
|
|
|
|
body {
|
|
background-color: #0d0f12;
|
|
color: #e0e6ed;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
nav {
|
|
width: 100%;
|
|
padding: 1.5rem 3rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border-bottom: 1px solid #1f2329;
|
|
}
|
|
|
|
.logo-container {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.nav-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 1.2rem;
|
|
font-weight: bold;
|
|
color: #bd93f9;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
header {
|
|
text-align: center;
|
|
margin: 4rem 1rem 1rem;
|
|
}
|
|
|
|
.hero-image {
|
|
max-width: 180px;
|
|
height: auto;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 2.8rem;
|
|
margin-bottom: 1rem;
|
|
color: #ffffff;
|
|
background: linear-gradient(90deg, #bd93f9, #58a6ff);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
header p {
|
|
color: #8b949e;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
main {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 1.5rem;
|
|
width: 100%;
|
|
max-width: 1100px;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.card {
|
|
background: #161b22;
|
|
border: 1px solid #30363d;
|
|
border-radius: 12px;
|
|
padding: 2.5rem;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.card:hover:not(.disabled) {
|
|
transform: translateY(-8px);
|
|
border-color: #bd93f9;
|
|
box-shadow: 0 10px 30px rgba(189, 147, 249, 0.1);
|
|
}
|
|
|
|
.card h2 {
|
|
color: #58a6ff;
|
|
margin-bottom: 0.75rem;
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.card p {
|
|
color: #8b949e;
|
|
font-size: 0.95rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.card.disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
background: #0d1117;
|
|
}
|
|
|
|
.badge {
|
|
position: absolute;
|
|
top: 1rem;
|
|
right: 1rem;
|
|
background: #238636;
|
|
color: #ffffff;
|
|
padding: 0.25rem 0.75rem;
|
|
font-size: 0.75rem;
|
|
border-radius: 20px;
|
|
font-weight: 600;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<nav>
|
|
<div class="logo-container">
|
|
<img src="https://cdn.punklorde.org/punklorde-icon.png" alt="Icon" class="nav-icon">
|
|
<div class="logo">Punklorde's Rainbow City</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<header>
|
|
<img src="https://cdn.punklorde.org/punklorde.jpg" alt="Hero" class="hero-image">
|
|
<h1 data-i18n="welcome"></h1>
|
|
<p data-i18n="desc"></p>
|
|
</header>
|
|
|
|
<main>
|
|
<a href="https://sranalysis.punklorde.org" class="card">
|
|
<h2 data-i18n="sranalysis_title"></h2>
|
|
<p data-i18n="sranalysis_desc"></p>
|
|
</a>
|
|
|
|
<a href="https://srtools.punklorde.org" class="card">
|
|
<h2 data-i18n="srtools_title"></h2>
|
|
<p data-i18n="srtools_desc"></p>
|
|
</a>
|
|
|
|
<div class="card disabled">
|
|
<h2 data-i18n="wiki_title"></h2>
|
|
<p data-i18n="wiki_desc"></p>
|
|
<span class="badge" data-i18n="coming_soon"></span>
|
|
</div>
|
|
</main>
|
|
|
|
<script>
|
|
const translations = {
|
|
vi: {
|
|
welcome: "Chào mừng đến với Rainbow City",
|
|
desc: "Thành phố của dữ liệu và các công cụ tối ưu cho Punklorde.",
|
|
sranalysis_title: "SR Analysis",
|
|
sranalysis_desc: "Phân tích sát thương chuyên sâu và tối ưu hóa chỉ số nhân vật.",
|
|
srtools_title: "SR Tools",
|
|
srtools_desc: "Bộ công cụ tính toán tài nguyên và quản lý dữ liệu hiệu quả.",
|
|
wiki_title: "Punklorde Wiki",
|
|
wiki_desc: "Thư viện bách khoa toàn thư và hướng dẫn chi tiết.",
|
|
coming_soon: "Sắp ra mắt"
|
|
},
|
|
en: {
|
|
welcome: "Welcome to Rainbow City",
|
|
desc: "The hub for data and optimization tools for Punklorde.",
|
|
sranalysis_title: "SR Analysis",
|
|
sranalysis_desc: "In-depth damage analysis and character stat optimization.",
|
|
srtools_title: "SR Tools",
|
|
srtools_desc: "Resource calculation and efficient data management toolkit.",
|
|
wiki_title: "Punklorde Wiki",
|
|
wiki_desc: "Comprehensive encyclopedia and detailed guides.",
|
|
coming_soon: "Coming Soon"
|
|
},
|
|
ja: {
|
|
welcome: "Rainbow Cityへようこそ",
|
|
desc: "Punklordeのためのデータと最適化ツールのハブ。",
|
|
sranalysis_title: "SR Analysis",
|
|
sranalysis_desc: "詳細なダメージ分析とキャラクターステータスの最適化。",
|
|
srtools_title: "SR Tools",
|
|
srtools_desc: "リソース計算と効率的なデータ管理ツールキット。",
|
|
wiki_title: "Punklorde Wiki",
|
|
wiki_desc: "包括的な百科事典と詳細なガイド。",
|
|
coming_soon: "近日公開"
|
|
},
|
|
zh: {
|
|
welcome: "欢迎来到 Rainbow City",
|
|
desc: "Punklorde 的数据与优化工具中心。",
|
|
sranalysis_title: "SR Analysis",
|
|
sranalysis_desc: "深度伤害分析与角色属性优化。",
|
|
srtools_title: "SR Tools",
|
|
srtools_desc: "资源计算与高效数据管理工具包。",
|
|
wiki_title: "Punklorde Wiki",
|
|
wiki_desc: "百科全书与详细指南。",
|
|
coming_soon: "敬请期待"
|
|
},
|
|
ko: {
|
|
welcome: "Rainbow City에 오신 것을 환영합니다",
|
|
desc: "Punklorde를 위한 데이터 및 최적화 도구 허브.",
|
|
sranalysis_title: "SR Analysis",
|
|
sranalysis_desc: "심층 데미지 분석 및 캐릭터 스탯 최적화.",
|
|
srtools_title: "SR Tools",
|
|
srtools_desc: "자원 계산 및 효율적인 데이터 관리 툴킷.",
|
|
wiki_title: "Punklorde Wiki",
|
|
wiki_desc: "종합 백과사전 및 상세 가이드.",
|
|
coming_soon: "출시 예정"
|
|
}
|
|
};
|
|
|
|
function getBrowserLanguage() {
|
|
const browserLang = navigator.language || navigator.userLanguage;
|
|
const shortLang = browserLang.split('-')[0].toLowerCase();
|
|
const supportedLangs = ['vi', 'en', 'ja', 'zh', 'ko'];
|
|
return supportedLangs.includes(shortLang) ? shortLang : 'en';
|
|
}
|
|
|
|
function setLanguage(lang) {
|
|
document.documentElement.lang = lang;
|
|
const elements = document.querySelectorAll('[data-i18n]');
|
|
elements.forEach(el => {
|
|
const key = el.getAttribute('data-i18n');
|
|
if (translations[lang] && translations[lang][key]) {
|
|
el.textContent = translations[lang][key];
|
|
}
|
|
});
|
|
}
|
|
|
|
setLanguage(getBrowserLanguage());
|
|
</script>
|
|
</body>
|
|
</html> |