-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a8241e5
Showing
5 changed files
with
461 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Oops, something went wrong.