Restructure ae novel data

This commit is contained in:
Sakura Knoll
2022-05-02 21:34:04 +09:00 Unverified
parent 159e12699b
commit e44aa17e3e
47 changed files with 196 additions and 1413 deletions
+20
View File
@@ -53,6 +53,26 @@ module.exports = {
destination: '/honkai3rd/battlesuits/rc', destination: '/honkai3rd/battlesuits/rc',
permanent: true, permanent: true,
}, },
{
source: '/novels/ae/index.html',
destination: '/honkai3rd/novels/ae',
permanent: false,
},
]
},
async rewrites() {
return [
{
source: '/honkai3rd/novels/ae',
destination:
process.env.NEXT_PUBLIC_BASE_URL + '/novels/ae/ko-KR/index.html',
},
{
source: '/ko-KR/honkai3rd/novels/ae',
destination:
process.env.NEXT_PUBLIC_BASE_URL + '/novels/ae/ko-KR/index.html',
locale: false,
},
] ]
}, },
i18n, i18n,
+158 -1360
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -7,7 +7,7 @@
"@mdi/js": "^6.5.95", "@mdi/js": "^6.5.95",
"@mdi/react": "^1.5.0", "@mdi/react": "^1.5.0",
"date-fns": "^2.27.0", "date-fns": "^2.27.0",
"next": "^12.0.7", "next": "^12.1.5",
"next-i18next": "^10.1.0", "next-i18next": "^10.1.0",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"open-color": "^1.9.1", "open-color": "^1.9.1",

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

@@ -629,7 +629,7 @@ p {
top: 78%; top: 78%;
left: 23%; left: 23%;
z-index: 903; z-index: 903;
background: url(/novels/ae/cancel.webp) right /auto 100% no-repeat; background: url(/novels/ae/ko-KR/cancel.webp) right /auto 100% no-repeat;
} }
.submit { .submit {
@@ -639,7 +639,7 @@ p {
top: 78%; top: 78%;
right: 23%; right: 23%;
z-index: 903; z-index: 903;
background: url(/novels/ae/confirm.webp) left /auto 100% no-repeat; background: url(/novels/ae/ko-KR/confirm.webp) left /auto 100% no-repeat;
} }
.submit-center { .submit-center {
@@ -649,7 +649,7 @@ p {
top: 78%; top: 78%;
right: 37.5%; right: 37.5%;
z-index: 903; z-index: 903;
background: url(/novels/ae/confirm.webp) left /auto 100% no-repeat; background: url(/novels/ae/ko-KR/confirm.webp) left /auto 100% no-repeat;
} }
.goto { .goto {
@@ -931,19 +931,19 @@ p {
} }
.menu_btn_1 { .menu_btn_1 {
background-image: url("/novels/ae/newgame.webp"); background-image: url("/novels/ae/ko-KR/newgame.webp");
} }
.menu_btn_2 { .menu_btn_2 {
background-image: url("/novels/ae/gallery.webp"); background-image: url("/novels/ae/ko-KR/gallery.webp");
} }
.menu_btn_3 { .menu_btn_3 {
background-image: url("/novels/ae/history.webp"); background-image: url("/novels/ae/ko-KR/history.webp");
} }
.menu_btn_4 { .menu_btn_4 {
background-image: url("/novels/ae/achievement.webp"); background-image: url("/novels/ae/ko-KR/achievement.webp");
} }
#loading { #loading {
@@ -1982,7 +1982,7 @@ ul li {
height: 12.5rem; height: 12.5rem;
right: 0; right: 0;
top: 0; top: 0;
background-image: url(/novels/ae/Title.webp); background-image: url(/novels/ae/ko-KR/Title.webp);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: auto 100%; background-size: auto 100%;
background-position: center; background-position: center;
@@ -1331,7 +1331,7 @@ function systemAutoLoadStart(galgameKey) {
.html( .html(
`<div class="cancel ${tl_css_lang}"></div><div class="submit ${tl_css_lang}" onclick="systemAutoLoad()"></div>` `<div class="cancel ${tl_css_lang}"></div><div class="submit ${tl_css_lang}" onclick="systemAutoLoad()"></div>`
) )
.css('background', "url('/novels/ae/continue.webp') no-repeat") .css('background', "url('/novels/ae/ko-KR/continue.webp') no-repeat")
.css('background-size', 'auto 100%') .css('background-size', 'auto 100%')
.css('background-position', 'center') .css('background-position', 'center')
$('.cancel').click(function (e) { $('.cancel').click(function (e) {
@@ -1694,7 +1694,7 @@ function add_record() {
) )
$('#confirm_1').css( $('#confirm_1').css(
'background', 'background',
"url('/novels/ae/quicksave.webp') no-repeat" "url('/novels/ae/ko-KR/quicksave.webp') no-repeat"
) )
$('#confirm_1').css('background-size', 'auto 100%') $('#confirm_1').css('background-size', 'auto 100%')
$('#confirm_1').css('background-position', 'center') $('#confirm_1').css('background-position', 'center')
@@ -1708,7 +1708,7 @@ function get_record() {
) )
$('#confirm_1').css( $('#confirm_1').css(
'background', 'background',
"url('/novels/ae/quickload.webp') no-repeat" "url('/novels/ae/ko-KR/quickload.webp') no-repeat"
) )
$('#confirm_1').css('background-size', 'auto 100%') $('#confirm_1').css('background-size', 'auto 100%')
$('#confirm_1').css('background-position', 'center') $('#confirm_1').css('background-position', 'center')

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

@@ -28,7 +28,7 @@
rel="stylesheet" rel="stylesheet"
type="text/css" type="text/css"
/> />
<link href="/novels/ae/game.css" rel="stylesheet" type="text/css" /> <link href="/novels/ae/ko-KR/game.css" rel="stylesheet" type="text/css" />
<link <link
rel='apple-touch-icon' rel='apple-touch-icon'
sizes='180x180' sizes='180x180'
@@ -172,44 +172,9 @@
</li> </li>
</ul> </ul>
</div> </div>
<div id="family-portrait" style="display: none"> <div style="position: absolute;bottom:4px;left: 4px;font-size:0.5rem;color:white;user-select:none;font-style: italic;text-align:left;text-shadow: 1px 1px 2px black;">
<div class="portrait-wrapper" id="portrait-frame"></div> Translated by fans.<br/>
<div All assets bleong to miHoYo Co., Ltd.
class="achievement-back"
onclick="$('#family-portrait').fadeOut()"
></div>
<div class="progress-box">
<div class="progress-bar">
<div class="progress-span">
<p class="progress-text"></p>
</div>
</div>
<div class="progress-frame"></div>
<div class="progress-icon"></div>
</div>
<div class="progress-button" onclick="exhibitionPage()"></div>
</div>
<div id="achievement-exhibition" style="display: none">
<div
class="achievement-back"
onclick="$('#achievement-exhibition').fadeOut()"
></div>
<div class="achievement-chapter"></div>
<ul class="achievement-list"></ul>
<ul class="catalog-page">
<li>
<div class="pagenum" id="pagenum-5"></div>
</li>
<li>
<div class="pagenum" id="pagenum-6"></div>
</li>
</ul>
</div>
<div class="achievement-catalog">
<div
class="back"
onclick="$('.achievement-catalog').fadeOut()"
></div>
</div> </div>
</div> </div>
<div id="confirm" style="display: none"> <div id="confirm" style="display: none">
@@ -306,7 +271,7 @@
'https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN' 'https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN'
var resPath = var resPath =
'https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN' 'https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN'
var xmlPath = '/novels/ae/xml/' var xmlPath = '/novels/ae/ko-KR/xml/'
var lang = 'ko' var lang = 'ko'
</script> </script>
<script <script
@@ -321,6 +286,6 @@
type="text/javascript" type="text/javascript"
src="https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/js/xmlhttp.js?v=20210817" src="https://webstatic.bh3.com/event_bh3_com/avg-anti-entropy/static_CN/js/xmlhttp.js?v=20210817"
></script> ></script>
<script type="text/javascript" src="/novels/ae/game.js?v=20210817"></script> <script type="text/javascript" src="/novels/ae/ko-KR/game.js?v=20210817"></script>
</body> </body>
</html> </html>

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB