Skip to content

Commit

Permalink
add en & kr VC, change css/添加英语和韩语语音,修改部分样式
Browse files Browse the repository at this point in the history
  • Loading branch information
vgwik committed Jun 14, 2023
1 parent 06b95f4 commit 37ab5ad
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 2 deletions.
Binary file added static/audio/en/en_1.mp3
Binary file not shown.
Binary file added static/audio/en/en_2.mp3
Binary file not shown.
Binary file added static/audio/en/en_3.mp3
Binary file not shown.
Binary file added static/audio/kr/kr_1.mp3
Binary file not shown.
Binary file added static/audio/kr/kr_2.mp3
Binary file not shown.
Binary file added static/audio/kr/kr_3.mp3
Binary file not shown.
8 changes: 8 additions & 0 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,14 @@ h2 {
border-bottom-right-radius: 2% 3.5%;
}

/* test,由vgwik添加 */
#herta-card:hover {
background-color: #ececec;
transform: translate3d(-0.5px, -0.5px, 0px);
transition: transform 0.3s ease;
box-shadow: 2px 0.9px 2.5px 0.5px #00000042;
}

.footer-icon {
display: inline-block;
vertical-align: middle;
Expand Down
16 changes: 14 additions & 2 deletions static/js/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
const LANGUAGES = {
"_": { defaultLanguage: "en", defaultVOLanguage: "ja" },
"en": {
audioList: null,
audioList: [
// TODO audio random weight
"audio/en/en_1.mp3",
"audio/en/en_2.mp3",
"audio/en/en_3.mp3"
],
texts: {
"page-title": "Welcome to herta kuru~",
"doc-title": "Kuru Kuru~",
Expand Down Expand Up @@ -71,7 +76,12 @@ const LANGUAGES = {
cardImage: "img/card_ja.jpg"
},
"kr": {
audioList: null,
audioList: [
// TODO audio random weight
"audio/kr/kr_1.mp3",
"audio/kr/kr_2.mp3",
"audio/kr/kr_3.mp3"
],
texts: {
"page-title": "헤르타빙글 환영합니다~",
"doc-title": "빙글 빙글~",
Expand Down Expand Up @@ -394,6 +404,8 @@ const LANGUAGES = {
<select id="vo-language-selector" class="mdui-select" mdui-select='{"position": "bottom"}'>
<option value="ja">日本語</option>
<option value="cn">中文</option>
<option value="en">English</option>
<option value="kr">한국어</option>
</select>
</div>`,
buttons: [
Expand Down

0 comments on commit 37ab5ad

Please sign in to comment.