Skip to content

Commit

Permalink
调整目录结构
Browse files Browse the repository at this point in the history
  • Loading branch information
TakWolf committed Jan 23, 2025
1 parent 244bf70 commit a9030a8
Show file tree
Hide file tree
Showing 21 changed files with 38 additions and 8 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Pages

on:
push:
branches: [master]

concurrency:
group: pages
cancel-in-progress: true

jobs:
pages:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./www
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Nyan Cat Everywhere

![Logo](img/nyancat.gif)
![Logo](www/img/nyancat.gif)

让彩虹猫入侵全世界!喵星人的目标是星辰大海!

Expand Down Expand Up @@ -36,19 +36,19 @@ https://nyan.takwolf.com/nyancat.html#https://www.bilibili.com

### 彩虹猫

![NyanCat](img/screenshot-nyancat.png)
![NyanCat](docs/screenshot-nyancat.png)

[查看效果](https://nyan.takwolf.com/nyancat.html#https://www.bilibili.com)

### 雪花

![Snowflake](img/screenshot-snowflake.png)
![Snowflake](docs/screenshot-snowflake.png)

[查看效果](https://nyan.takwolf.com/snowflake.html#https://www.bilibili.com)

### 樱花

![Sakura](img/screenshot-sakura.png)
![Sakura](docs/screenshot-sakura.png)

[查看效果](https://nyan.takwolf.com/sakura.html#https://www.bilibili.com)

Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
6 changes: 3 additions & 3 deletions index.html → www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ <h1 class="title">Nyan Cat Everywhere</h1>

<div class="effect-box">
<div class="card">
<img class="screenshot" src="img/screenshot-nyancat.png" alt="screenshot-nyancat">
<img class="screenshot" src="../docs/screenshot-nyancat.png" alt="screenshot-nyancat">
<button class="btn-go" onclick="go('nyancat')">GO</button>
</div>

<div class="card">
<img class="screenshot" src="img/screenshot-snowflake.png" alt="screenshot-snowflake">
<img class="screenshot" src="../docs/screenshot-snowflake.png" alt="screenshot-snowflake">
<button class="btn-go" onclick="go('snowflake')">GO</button>
</div>

<div class="card">
<img class="screenshot" src="img/screenshot-sakura.png" alt="screenshot-sakura">
<img class="screenshot" src="../docs/screenshot-sakura.png" alt="screenshot-sakura">
<button class="btn-go" onclick="go('sakura')">GO</button>
</div>
</div>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit a9030a8

Please sign in to comment.