init
All checks were successful
Gitea Auto Deploy / Deploy-Container (push) Successful in 6s

This commit is contained in:
2026-04-19 12:31:02 +07:00
parent e68277dcdd
commit bfa1316f65

View File

@@ -1,8 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="vi"> <head> <html lang="vi">
<head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Punklorde</title> <title>Punklorde's Rainbow City</title>
<link rel="icon" href="https://cdn.punklorde.org/punklorde-icon.png" type="image/png">
<style> <style>
* { * {
margin: 0; margin: 0;
@@ -29,32 +31,48 @@
border-bottom: 1px solid #1f2329; border-bottom: 1px solid #1f2329;
} }
.logo-container {
display: flex;
align-items: center;
gap: 12px;
}
.nav-icon {
width: 32px;
height: 32px;
}
.logo { .logo {
font-size: 1.5rem; font-size: 1.2rem;
font-weight: bold; font-weight: bold;
color: #bd93f9; color: #bd93f9;
letter-spacing: 2px; letter-spacing: 1px;
text-transform: uppercase;
} }
header { header {
text-align: center; text-align: center;
margin: 4rem 1rem 2rem; margin: 4rem 1rem 1rem;
} }
.hero-image { .hero-image {
max-width: 150px; max-width: 180px;
height: auto; height: auto;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
header h1 { header h1 {
font-size: 2.5rem; font-size: 2.8rem;
margin-bottom: 1rem; margin-bottom: 1rem;
color: #ffffff; color: #ffffff;
background: linear-gradient(90deg, #bd93f9, #58a6ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
} }
header p { header p {
color: #8b949e; color: #8b949e;
font-size: 1.1rem;
} }
main { main {
@@ -62,71 +80,70 @@
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem; gap: 1.5rem;
width: 100%; width: 100%;
max-width: 1000px; max-width: 1100px;
padding: 2rem; padding: 2rem;
} }
.card { .card {
background: #161b22; background: #161b22;
border: 1px solid #30363d; border: 1px solid #30363d;
border-radius: 8px; border-radius: 12px;
padding: 2rem; padding: 2.5rem;
text-decoration: none; text-decoration: none;
color: inherit; color: inherit;
transition: transform 0.2s ease, border-color 0.2s ease; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative; position: relative;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.card:hover:not(.disabled) { .card:hover:not(.disabled) {
transform: translateY(-5px); transform: translateY(-8px);
border-color: #bd93f9; border-color: #bd93f9;
box-shadow: 0 10px 30px rgba(189, 147, 249, 0.1);
} }
.card h2 { .card h2 {
color: #58a6ff; color: #58a6ff;
margin-bottom: 0.5rem; margin-bottom: 0.75rem;
font-size: 1.25rem; font-size: 1.4rem;
} }
.card p { .card p {
color: #8b949e; color: #8b949e;
font-size: 0.9rem; font-size: 0.95rem;
line-height: 1.5; line-height: 1.6;
} }
.card.disabled { .card.disabled {
opacity: 0.6; opacity: 0.5;
cursor: not-allowed; cursor: not-allowed;
background: #0d1117; background: #0d1117;
} }
.card.disabled h2 {
color: #8b949e;
}
.badge { .badge {
position: absolute; position: absolute;
top: 1rem; top: 1rem;
right: 1rem; right: 1rem;
background: #238636; background: #238636;
color: #ffffff; color: #ffffff;
padding: 0.2rem 0.6rem; padding: 0.25rem 0.75rem;
font-size: 0.7rem; font-size: 0.75rem;
border-radius: 12px; border-radius: 20px;
font-weight: bold; font-weight: 600;
text-transform: uppercase;
} }
</style> </style>
</head> </head>
<body> <body>
<nav> <nav>
<div class="logo">Punklorde</div> <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> </nav>
<header> <header>
<img src="https://cdn.punklorde.org/punklorde.jpg" alt="Punklorde Logo" class="hero-image"> <img src="https://cdn.punklorde.org/punklorde.jpg" alt="Hero" class="hero-image">
<h1 data-i18n="welcome"></h1> <h1 data-i18n="welcome"></h1>
<p data-i18n="desc"></p> <p data-i18n="desc"></p>
</header> </header>
@@ -152,58 +169,58 @@
<script> <script>
const translations = { const translations = {
vi: { vi: {
welcome: "Chào mừng đến với Punklorde", welcome: "Chào mừng đến với Rainbow City",
desc: "Trung tâm dữ liệu và tiện ích toàn diện.", desc: "Thành phố của dữ liệu và các công cụ tối ưu cho Punklorde.",
sranalysis_title: "Firefly Analysis", sranalysis_title: "SR Analysis",
sranalysis_desc: "Hệ thống phân tích sát thương và tối ưu hóa chỉ số chuyên sâu.", 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: "Firefly SrTools", srtools_title: "SR Tools",
srtools_desc: "Công cụ tính toán, theo dõi tài nguyên và quản lý dữ liệu.", 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_title: "Punklorde Wiki",
wiki_desc: "Cơ sở dữ liệu, bách khoa toàn thư và hướng dẫn chi tiết.", 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" coming_soon: "Sắp ra mắt"
}, },
en: { en: {
welcome: "Welcome to Punklorde", welcome: "Welcome to Rainbow City",
desc: "The comprehensive data and utility hub.", desc: "The hub for data and optimization tools for Punklorde.",
sranalysis_title: "Firefly Analysis", sranalysis_title: "SR Analysis",
sranalysis_desc: "Advanced damage analysis and stat optimization system.", sranalysis_desc: "In-depth damage analysis and character stat optimization.",
srtools_title: "Firefly SrTools", srtools_title: "SR Tools",
srtools_desc: "Calculators, resource trackers, and data management tools.", srtools_desc: "Resource calculation and efficient data management toolkit.",
wiki_title: "Punklorde Wiki", wiki_title: "Punklorde Wiki",
wiki_desc: "Comprehensive database, encyclopedia, and detailed guides.", wiki_desc: "Comprehensive encyclopedia and detailed guides.",
coming_soon: "Coming Soon" coming_soon: "Coming Soon"
}, },
ja: { ja: {
welcome: "Punklordeへようこそ", welcome: "Rainbow Cityへようこそ",
desc: "総合的なデータとユーティリティのハブ。", desc: "Punklordeのためのデータと最適化ツールのハブ。",
sranalysis_title: "Firefly Analysis", sranalysis_title: "SR Analysis",
sranalysis_desc: "高度なダメージ分析とステータス最適化システム。", sranalysis_desc: "詳細なダメージ分析とキャラクターステータス最適化。",
srtools_title: "Firefly SrTools", srtools_title: "SR Tools",
srtools_desc: "計算機、リソーストラッカー、データ管理ツール。", srtools_desc: "リソース計算と効率的なデータ管理ツールキット。",
wiki_title: "Punklorde Wiki", wiki_title: "Punklorde Wiki",
wiki_desc: "包括的なデータベース、百科事典詳細なガイド。", wiki_desc: "包括的な百科事典詳細なガイド。",
coming_soon: "近日公開" coming_soon: "近日公開"
}, },
zh: { zh: {
welcome: "欢迎来到 Punklorde", welcome: "欢迎来到 Rainbow City",
desc: "综合数据与实用工具中心。", desc: "Punklorde 的数据与优化工具中心。",
sranalysis_title: "Firefly Analysis", sranalysis_title: "SR Analysis",
sranalysis_desc: "高级伤害分析与面板属性优化系统。", sranalysis_desc: "深度伤害分析与角色属性优化。",
srtools_title: "Firefly SrTools", srtools_title: "SR Tools",
srtools_desc: "计算器、资源追踪器与数据管理工具。", srtools_desc: "资源计算与高效数据管理工具。",
wiki_title: "Punklorde Wiki", wiki_title: "Punklorde Wiki",
wiki_desc: "综合数据库、百科全书与详细指南。", wiki_desc: "百科全书与详细指南。",
coming_soon: "敬请期待" coming_soon: "敬请期待"
}, },
ko: { ko: {
welcome: "Punklorde에 오신 것을 환영합니다", welcome: "Rainbow City에 오신 것을 환영합니다",
desc: "종합적인 데이터 및 유틸리티 허브.", desc: "Punklorde를 위한 데이터 및 최적화 도구 허브.",
sranalysis_title: "Firefly Analysis", sranalysis_title: "SR Analysis",
sranalysis_desc: "고급 데미지 분석 및 스탯 최적화 시스템.", sranalysis_desc: "심층 데미지 분석 및 캐릭터 스탯 최적화.",
srtools_title: "Firefly SrTools", srtools_title: "SR Tools",
srtools_desc: "계산기, 리소스 트래커 및 데이터 관리 도구.", srtools_desc: "자원 계산 및 효율적인 데이터 관리 툴킷.",
wiki_title: "Punklorde Wiki", wiki_title: "Punklorde Wiki",
wiki_desc: "포괄적인 데이터베이스, 백과사전 및 상세 가이드.", wiki_desc: "종합 백과사전 및 상세 가이드.",
coming_soon: "출시 예정" coming_soon: "출시 예정"
} }
}; };
@@ -212,14 +229,12 @@
const browserLang = navigator.language || navigator.userLanguage; const browserLang = navigator.language || navigator.userLanguage;
const shortLang = browserLang.split('-')[0].toLowerCase(); const shortLang = browserLang.split('-')[0].toLowerCase();
const supportedLangs = ['vi', 'en', 'ja', 'zh', 'ko']; const supportedLangs = ['vi', 'en', 'ja', 'zh', 'ko'];
return supportedLangs.includes(shortLang) ? shortLang : 'en'; return supportedLangs.includes(shortLang) ? shortLang : 'en';
} }
function setLanguage(lang) { function setLanguage(lang) {
document.documentElement.lang = lang; document.documentElement.lang = lang;
const elements = document.querySelectorAll('[data-i18n]'); const elements = document.querySelectorAll('[data-i18n]');
elements.forEach(el => { elements.forEach(el => {
const key = el.getAttribute('data-i18n'); const key = el.getAttribute('data-i18n');
if (translations[lang] && translations[lang][key]) { if (translations[lang] && translations[lang][key]) {
@@ -228,8 +243,7 @@
}); });
} }
const detectedLanguage = getBrowserLanguage(); setLanguage(getBrowserLanguage());
setLanguage(detectedLanguage);
</script> </script>
</body> </body>
</html> </html>