Skip to content

Commit f88f40d

Browse files
committed
更新
1 parent 8abba3b commit f88f40d

File tree

15 files changed

+176
-699
lines changed

15 files changed

+176
-699
lines changed

.github/workflows/deploy.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
# 每次推送到 `main` 分支时触发这个“工作流程”
5+
# 如果你使用了别的分支名,请按需将 `main` 替换成你的分支名
6+
push:
7+
branches: [ main ]
8+
# 允许你在 GitHub 上的 Actions 标签中手动触发此“工作流程”
9+
workflow_dispatch:
10+
11+
# 允许 job 克隆 repo 并创建一个 page deployment
12+
permissions:
13+
contents: read
14+
pages: write
15+
id-token: write
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout your repository using git
22+
uses: actions/checkout@v4
23+
- name: Install, build, and upload your site
24+
uses: withastro/action@v3
25+
# with:
26+
# path: . # 存储库中 Astro 项目的根位置。(可选)
27+
# node-version: 20 # 用于构建站点的特定 Node.js 版本,默认为 20。(可选)
28+
# package-manager: pnpm@latest # 应使用哪个 Node.js 包管理器来安装依赖项和构建站点。会根据存储库中的 lockfile 自动检测。(可选)
29+
30+
deploy:
31+
needs: build
32+
runs-on: ubuntu-latest
33+
environment:
34+
name: github-pages
35+
url: ${{ steps.deployment.outputs.page_url }}
36+
steps:
37+
- name: Deploy to GitHub Pages
38+
id: deployment
39+
uses: actions/deploy-pages@v4
10.1 MB
Loading

src/assets/images/demo-avatar.jpg

1.08 MB
Loading

src/assets/images/demo-avatar.png

-406 KB
Binary file not shown.

src/config.ts

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ import type {
88
import { LinkPreset } from "./types/config";
99

1010
export const siteConfig: SiteConfig = {
11-
title: "Fuwari",
11+
title: "共鳴Blog",
1212
subtitle: "Demo Site",
1313
lang: "en", // 'en', 'zh_CN', 'zh_TW', 'ja', 'ko', 'es', 'th'
1414
themeColor: {
1515
hue: 250, // Default hue for the theme color, from 0 to 360. e.g. red: 0, teal: 200, cyan: 250, pink: 345
1616
fixed: false, // Hide the theme color picker for visitors
1717
},
1818
banner: {
19-
enable: false,
20-
src: "assets/images/demo-banner.png", // Relative to the /src directory. Relative to the /public directory if it starts with '/'
19+
enable: true,
20+
src: "assets/images/460564974702A61CABF50C9E98197736.png", // Relative to the /src directory. Relative to the /public directory if it starts with '/'
2121
position: "center", // Equivalent to object-position, only supports 'top', 'center', 'bottom'. 'center' by default
2222
credit: {
2323
enable: false, // Display the credit text of the banner image
@@ -45,34 +45,22 @@ export const navBarConfig: NavBarConfig = {
4545
LinkPreset.Archive,
4646
LinkPreset.About,
4747
{
48-
name: "GitHub",
49-
url: "https://github.com/saicaca/fuwari", // Internal links should not include the base path, as it is automatically added
48+
name: "Discord",
49+
url: "https://discord.gg/wawuuid", // Internal links should not include the base path, as it is automatically added
5050
external: true, // Show an external link icon and will open in a new tab
5151
},
5252
],
5353
};
5454

5555
export const profileConfig: ProfileConfig = {
56-
avatar: "assets/images/demo-avatar.png", // Relative to the /src directory. Relative to the /public directory if it starts with '/'
57-
name: "Lorem Ipsum",
58-
bio: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
56+
avatar: "assets/images/demo-avatar.jpg", // Relative to the /src directory. Relative to the /public directory if it starts with '/'
57+
name: "芙檁",
58+
bio: "Discord for wwuid 開發者",
5959
links: [
60-
{
61-
name: "Twitter",
62-
icon: "fa6-brands:twitter", // Visit https://icones.js.org/ for icon codes
63-
// You will need to install the corresponding icon set if it's not already included
64-
// `pnpm add @iconify-json/<icon-set-name>`
65-
url: "https://twitter.com",
66-
},
67-
{
68-
name: "Steam",
69-
icon: "fa6-brands:steam",
70-
url: "https://store.steampowered.com",
71-
},
7260
{
7361
name: "GitHub",
7462
icon: "fa6-brands:github",
75-
url: "https://github.com/saicaca/fuwari",
63+
url: "https://github.com/YashajinAlice",
7664
},
7765
],
7866
};

src/content/posts/draft.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)