chore: update project logo (#26)

This commit is contained in:
Hantong Chen
2025-06-12 23:29:35 +08:00
committed by GitHub
parent f1552b67a0
commit 9e05c81d9c
6 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
<div align="center"> <div align="center">
<img width="100px" alt="logo" src="https://cdn.jsdelivr.net/gh/alist-org/logo@main/logo.svg"/></a> <img width="100px" alt="logo" src="https://raw.githubusercontent.com/OpenListTeam/Logo/main/OpenList.svg"/></a>
<p><em>🗂A file list program that supports multiple storages, powered by Gin and Solidjs, fork from alist.</em></p> <p><em>🗂A file list program that supports multiple storages, powered by Gin and Solidjs, fork from alist.</em></p>
<div> <div>
<a href="https://goreportcard.com/report/github.com/OpenListTeam/OpenList/v3"> <a href="https://goreportcard.com/report/github.com/OpenListTeam/OpenList/v3">

View File

@ -1,5 +1,5 @@
<div align="center"> <div align="center">
<img width="100px" alt="logo" src="https://cdn.jsdelivr.net/gh/alist-org/logo@main/logo.svg"/></a> <img width="100px" alt="logo" src="https://raw.githubusercontent.com/OpenListTeam/Logo/main/OpenList.svg"/></a>
<p><em>🗂一个支持多存储的文件列表程序,使用 Gin 和 Solidjs基于 alist 项目 fork 开发</em></p> <p><em>🗂一个支持多存储的文件列表程序,使用 Gin 和 Solidjs基于 alist 项目 fork 开发</em></p>
<div> <div>
<a href="https://goreportcard.com/report/github.com/OpenListTeam/OpenList/v3"> <a href="https://goreportcard.com/report/github.com/OpenListTeam/OpenList/v3">

View File

@ -1,5 +1,5 @@
<div align="center"> <div align="center">
<img width="100px" alt="logo" src="https://cdn.jsdelivr.net/gh/alist-org/logo@main/logo.svg"/></a> <img width="100px" alt="logo" src="https://raw.githubusercontent.com/OpenListTeam/Logo/main/OpenList.svg"/></a>
<p><em>🗂複数のストレージをサポートするファイルリストプログラムで、Gin と Solidjs を使用し、alist プロジェクトをフォークして開発されました。</em></p> <p><em>🗂複数のストレージをサポートするファイルリストプログラムで、Gin と Solidjs を使用し、alist プロジェクトをフォークして開発されました。</em></p>
<div> <div>
<a href="https://goreportcard.com/report/github.com/OpenListTeam/OpenList/v3"> <a href="https://goreportcard.com/report/github.com/OpenListTeam/OpenList/v3">

View File

@ -104,8 +104,8 @@ func InitialSettings() []model.SettingItem {
{Key: conf.AllowMounted, Value: "true", Type: conf.TypeBool, Group: model.SITE}, {Key: conf.AllowMounted, Value: "true", Type: conf.TypeBool, Group: model.SITE},
{Key: conf.RobotsTxt, Value: "User-agent: *\nAllow: /", Type: conf.TypeText, Group: model.SITE}, {Key: conf.RobotsTxt, Value: "User-agent: *\nAllow: /", Type: conf.TypeText, Group: model.SITE},
// style settings // style settings
{Key: conf.Logo, Value: "https://cdn.jsdelivr.net/gh/alist-org/logo@main/logo.svg", Type: conf.TypeText, Group: model.STYLE}, {Key: conf.Logo, Value: "https://cdn.statically.io/gh/OpenListTeam/Logo/main/OpenList.svg", Type: conf.TypeText, Group: model.STYLE},
{Key: conf.Favicon, Value: "https://cdn.jsdelivr.net/gh/alist-org/logo@main/logo.svg", Type: conf.TypeString, Group: model.STYLE}, {Key: conf.Favicon, Value: "https://cdn.statically.io/gh/OpenListTeam/Logo/main/OpenList.svg", Type: conf.TypeString, Group: model.STYLE},
{Key: conf.MainColor, Value: "#1890ff", Type: conf.TypeString, Group: model.STYLE}, {Key: conf.MainColor, Value: "#1890ff", Type: conf.TypeString, Group: model.STYLE},
{Key: "home_icon", Value: "🏠", Type: conf.TypeString, Group: model.STYLE}, {Key: "home_icon", Value: "🏠", Type: conf.TypeString, Group: model.STYLE},
{Key: "home_container", Value: "max_980px", Type: conf.TypeSelect, Options: "max_980px,hope_container", Group: model.STYLE}, {Key: "home_container", Value: "max_980px", Type: conf.TypeSelect, Options: "max_980px,hope_container", Group: model.STYLE},
@ -138,7 +138,7 @@ func InitialSettings() []model.SettingItem {
// {Key: conf.PdfViewers, Value: `{ // {Key: conf.PdfViewers, Value: `{
// "pdf.js":"https://alist-org.github.io/pdf.js/web/viewer.html?file=$url" // "pdf.js":"https://alist-org.github.io/pdf.js/web/viewer.html?file=$url"
//}`, Type: conf.TypeText, Group: model.PREVIEW}, //}`, Type: conf.TypeText, Group: model.PREVIEW},
{Key: "audio_cover", Value: "https://jsd.nn.ci/gh/alist-org/logo@main/logo.svg", Type: conf.TypeString, Group: model.PREVIEW}, {Key: "audio_cover", Value: "https://cdn.statically.io/gh/OpenListTeam/Logo/main/OpenList.svg", Type: conf.TypeString, Group: model.PREVIEW},
{Key: conf.AudioAutoplay, Value: "true", Type: conf.TypeBool, Group: model.PREVIEW}, {Key: conf.AudioAutoplay, Value: "true", Type: conf.TypeBool, Group: model.PREVIEW},
{Key: conf.VideoAutoplay, Value: "true", Type: conf.TypeBool, Group: model.PREVIEW}, {Key: conf.VideoAutoplay, Value: "true", Type: conf.TypeBool, Group: model.PREVIEW},
{Key: conf.PreviewArchivesByDefault, Value: "true", Type: conf.TypeBool, Group: model.PREVIEW}, {Key: conf.PreviewArchivesByDefault, Value: "true", Type: conf.TypeBool, Group: model.PREVIEW},

View File

@ -177,5 +177,5 @@ func (u *User) WebAuthnCredentials() []webauthn.Credential {
} }
func (u *User) WebAuthnIcon() string { func (u *User) WebAuthnIcon() string {
return "https://jsd.nn.ci/gh/alist-org/logo@main/logo.svg" return "https://cdn.statically.io/gh/OpenListTeam/Logo/main/OpenList.svg"
} }

View File

@ -65,7 +65,7 @@ func UpdateIndex() {
mainColor := setting.GetStr(conf.MainColor) mainColor := setting.GetStr(conf.MainColor)
conf.ManageHtml = conf.RawIndexHtml conf.ManageHtml = conf.RawIndexHtml
replaceMap1 := map[string]string{ replaceMap1 := map[string]string{
"https://jsd.nn.ci/gh/alist-org/logo@main/logo.svg": favicon, "https://cdn.statically.io/gh/OpenListTeam/Logo/main/OpenList.svg": favicon,
"Loading...": title, "Loading...": title,
"main_color: undefined": fmt.Sprintf("main_color: '%s'", mainColor), "main_color: undefined": fmt.Sprintf("main_color: '%s'", mainColor),
} }