Skip to content

Commit

Permalink
config: update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhen.fang01 committed Jul 17, 2024
1 parent 6ffe576 commit 440a9c1
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 64 deletions.
51 changes: 0 additions & 51 deletions .env.example

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
with:
node-version: "18.x"
# 复制环境变量文件
- name: Copy .env.example
- name: Copy .env
run: |
if (-not (Test-Path .env)) {
Copy-Item .env.example .env
Copy-Item .env .env
} else {
Write-Host ".env file already exists. Skipping the copy step."
}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
COPY .env.example .env
COPY .env .env
# RUN [ ! -e ".env" ] && cp .env.example .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.

0 comments on commit 440a9c1

Please sign in to comment.