Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: update #1

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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 端图标

# 简介文本
Expand All @@ -31,7 +31,7 @@ VITE_WEATHER_KEY = ""
# 建站日期
## 若不需要,请设为空即可
## 请按照 YYYY-MM-DD 格式填写或者仅填写年份 YYYY
VITE_SITE_START = "2020-10-24"
VITE_SITE_START = "2024-07-01"

# ICP 备案号
## 若不需要,请设为空即可
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

# 最小化镜像
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
简体中文 | [English](./README_EN.md)

<p>
<strong><h2>無名の主页</h2></strong>
<strong><h2>个人主页</h2></strong>
简单的小主页,原来的看够了,重新弄了一个
</p>

![無名の主页](/screenshots/main.jpg)
![个人主页](/screenshots/main.jpg)

> 主页的 Logo 字体已经过压缩,若用本站 Logo 以外的字母会变回默认字体,这里是 [完整字体](https://file.imsyy.top/font/Other/Pacifico-Regular.ttf),若无法下载,可将字体目录下的 `Pacifico-Regular-all.ttf` 进行替换

### 👀 Demo

> 由于 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)

### 🎉 功能

Expand Down
10 changes: 5 additions & 5 deletions README_EN.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
English | [Chinese](./README.md)

<p>
<strong><h2>無名の主页</h2></strong>
<strong><h2>个人主页</h2></strong>
Simple little homepage, had enough of the original one and made a new one
</p>

![無名の主页](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)

### Demo

>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

Expand Down
Binary file removed public/font/Pacifico-Regular-all.ttf
Binary file not shown.
Binary file added public/font/Pacifico-Regular-mini.ttf
Binary file not shown.
Binary file modified public/font/Pacifico-Regular.ttf
Binary file not shown.
Loading