This commit is contained in:
2024-10-28 01:45:38 +08:00
parent b806162f6e
commit 00958ca1b1
10 changed files with 89 additions and 37 deletions

View File

@ -0,0 +1,11 @@
{
"i18n": {
"message": "i18n"
},
"scriptcat": {
"message": "ScriptCat"
},
"scriptcat_description": {
"message": "Everything can be scripted, allowing your browser to do more!"
}
}

View File

@ -0,0 +1,11 @@
{
"i18n": {
"message": "I18n"
},
"scriptcat": {
"message": "ScriptCat"
},
"scriptcat_description": {
"message": "Mọi thứ đều có thể viết được, cho phép trình duyệt của bạn làm được nhiều việc hơn!"
}
}

View File

@ -0,0 +1,11 @@
{
"i18n": {
"message": "i18n"
},
"scriptcat": {
"message": "脚本猫"
},
"scriptcat_description": {
"message": "万物皆可脚本化,让你的浏览器可以做更多的事情!"
}
}

BIN
src/assets/logo/gf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
src/assets/logo/github.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 958 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

BIN
src/assets/logo/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -1,36 +1,33 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title><%= htmlWebpackPlugin.options.title %></title>
<title><%= htmlRspackPlugin.options.title %></title>
<style>
html,
body {
background-color: var(--color-bg-2);
color: var(--color-text-1);
margin: 0;
padding: 0;
border: 0;
width: 320px;
/* height: 500px; */
min-height: 150px;
max-height: 500px;
/* overflow-y: auto; */
/* overflow: hidden; */
}
</style>
</head>
<body>
<div id="root"></div>
</body>
<style>
html,
body {
background-color: var(--color-bg-2);
color: var(--color-text-1);
margin: 0;
padding: 0;
border: 0;
width: 320px;
/* height: 500px; */
min-height: 150px;
max-height: 500px;
/* overflow-y: auto; */
/* overflow: hidden; */
}
</style>
<% if (htmlWebpackPlugin.options.mode === 'i18n') { %>
<% if rspackConfig.mode=="script" { %>
<script type="text/javascript" src="/_locales/i18n.js"></script>
<script
type="text/javascript"
src="https://cdn.crowdin.com/jipt/jipt.js"
></script>
<script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script>
<% } %>
</html>