Skip to content

Commit

Permalink
COMMING SOON
Browse files Browse the repository at this point in the history
  • Loading branch information
YuleBest authored Dec 15, 2024
0 parents commit a8241e5
Show file tree
Hide file tree
Showing 5 changed files with 461 additions and 0 deletions.
30 changes: 30 additions & 0 deletions en/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rikka Wiki - Coming Soon</title>
<link rel="stylesheet" href="../style.css">
</head>
<body>
<div class="container">
<h1 class="title">Rikka Wiki</h1>

<p class="subtitle">Everything about 'Love, Chunibyo & Other Delusions'</p>

<div class="coming-soon">
<p class="message">Coming Soon</p>
<p class="launch-date">Spring 2025</p>
<p class="demo-notice">Demo coming soon</p>
</div>

<div class="domain">wiki.lh520.pw</div>
</div>

<div class="language-switcher">
<a href="../zh-cn">简体中文</a>
<a href="../zh-tw">繁體中文</a>
<a href="../en" class="active">English</a>
</div>
</body>
</html>
26 changes: 26 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script>
// 获取浏览器语言
const userLang = navigator.language || navigator.userLanguage;

// 根据语言重定向
if (userLang.startsWith('zh')) {
if (userLang.toLowerCase() === 'zh-tw') {
window.location.href = '/zh-tw/';
} else {
window.location.href = '/zh-cn/';
}
} else {
window.location.href = '/en/';
}
</script>
</head>
<body>
<noscript>
<meta http-equiv="refresh" content="0; url=/zh-cn/">
</noscript>
</body>
</html>
Loading

0 comments on commit a8241e5

Please sign in to comment.