diff --git a/.env.example b/.env.example index c56752b40b..030b7e38b6 100644 --- a/.env.example +++ b/.env.example @@ -3,9 +3,9 @@ VITE_SITE_NAME = "zhenfang的主页" # 名称 VITE_SITE_ANTHOR = "zhenfang" # 作者 VITE_SITE_KEYWORDS = "zhenfang,个人主页" # 关键词 VITE_SITE_DES = "一个默默无闻的主页" # 站点简介 -VITE_SITE_URL = "imsyy.top" # 站点地址 +VITE_SITE_URL = "zhenfang.online" # 站点地址 VITE_SITE_LOGO = "/images/icon/favicon.ico" # 站点主图标 -VITE_SITE_MAIN_LOGO = "/images/icon/logo.png" # 主页图标 +VITE_SITE_MAIN_LOGO = "https://avatars.githubusercontent.com/u/104150263?v=4" # 主页图标 VITE_SITE_APPLE_LOGO = "/images/logo/apple-touch-icon.png" # Apple 端图标 # 简介文本 @@ -31,7 +31,7 @@ VITE_WEATHER_KEY = "" # 建站日期 ## 若不需要,请设为空即可 ## 请按照 YYYY-MM-DD 格式填写或者仅填写年份 YYYY -VITE_SITE_START = "2020-10-24" +VITE_SITE_START = "2024-07-01" # ICP 备案号 ## 若不需要,请设为空即可 diff --git a/Dockerfile b/Dockerfile index dd5e286171..43e174c303 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,7 @@ WORKDIR /app COPY package*.json ./ RUN npm install COPY . . -COPY .env.example .env -# RUN [ ! -e ".env" ] && cp .env.example .env || true +RUN [ ! -e ".env" ] && cp .env .env || true RUN npm run build # 最小化镜像 diff --git a/README.md b/README.md index 4272f0f51b..ee42da8861 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ 简体中文 | [English](./README_EN.md)

-

無名の主页

+

个人主页

简单的小主页,原来的看够了,重新弄了一个

-![無名の主页](/screenshots/main.jpg) +![个人主页](/screenshots/main.jpg) > 主页的 Logo 字体已经过压缩,若用本站 Logo 以外的字母会变回默认字体,这里是 [完整字体](https://file.imsyy.top/font/Other/Pacifico-Regular.ttf),若无法下载,可将字体目录下的 `Pacifico-Regular-all.ttf` 进行替换 @@ -13,9 +13,9 @@ > 由于 CDN 缓存原因,查看最新效果可能需要 `Ctrl` + `F5` 强制刷新浏览器缓存 -- [無名の主页](https://www.imsyy.top) -- [無名の主页 - Dev](https://home-imsyy.vercel.app) -- [無名の主页 - 备用线路](https://home-5iw.pages.dev) +- [个人主页](https://www.imsyy.top) +- [个人主页 - Dev](https://home-imsyy.vercel.app) +- [个人主页 - 备用线路](https://home-5iw.pages.dev) ### 🎉 功能 diff --git a/README_EN.md b/README_EN.md index d21bfbaeb0..dc229201e1 100644 --- a/README_EN.md +++ b/README_EN.md @@ -1,11 +1,11 @@ English | [Chinese](./README.md)

-

無名の主页

+

个人主页

Simple little homepage, had enough of the original one and made a new one

-![無名の主页](https://s2.loli.net/2022/07/14/K5JigfvDoNewtuS.webp) +![个人主页](https://s2.loli.net/2022/07/14/K5JigfvDoNewtuS.webp) >The logo font on the home page has been compressed, so if you use a font other than this logo, it will change back to the default font, Here is the [full font](https://file.4everland.app/font/Other/Pacifico-Regular.ttf) @@ -13,9 +13,9 @@ Simple little homepage, had enough of the original one and made a new one >Due to CDN caching, you may need `Ctrl` + `F5` to force a browser cache refresh to see the latest results -- [無名の主页](https://www.imsyy.top) -- [無名の主页 - Dev](https://home-imsyy.vercel.app) -- [無名の主页 - Standby](https://home-5iw.pages.dev) +- [个人主页](https://www.imsyy.top) +- [个人主页 - Dev](https://home-imsyy.vercel.app) +- [个人主页 - Standby](https://home-5iw.pages.dev) ### Functions diff --git a/public/font/Pacifico-Regular-all.ttf b/public/font/Pacifico-Regular-all.ttf deleted file mode 100644 index b9265a2a51..0000000000 Binary files a/public/font/Pacifico-Regular-all.ttf and /dev/null differ diff --git a/public/font/Pacifico-Regular-mini.ttf b/public/font/Pacifico-Regular-mini.ttf new file mode 100644 index 0000000000..063d8ded86 Binary files /dev/null and b/public/font/Pacifico-Regular-mini.ttf differ diff --git a/public/font/Pacifico-Regular.ttf b/public/font/Pacifico-Regular.ttf index 063d8ded86..b9265a2a51 100644 Binary files a/public/font/Pacifico-Regular.ttf and b/public/font/Pacifico-Regular.ttf differ