Skip to content

Did not merge successfully. #3332

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

Closed
wants to merge 182 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
bd0db0d
Create sync.yml
HumanMus1c Jan 9, 2024
4b8492c
Merge branch 'tangly1024:main' into main
HumanMus1c Jan 9, 2024
101b5d4
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jan 10, 2024
cff77ab
Merge branch 'tangly1024:main' into main
HumanMus1c Jan 17, 2024
4bb5e68
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jan 19, 2024
163ccf5
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jan 22, 2024
8d42328
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jan 23, 2024
3e00752
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jan 25, 2024
3c0ea78
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jan 26, 2024
aa4b96e
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jan 27, 2024
8545d18
Merge branch 'tangly1024:main' into main
HumanMus1c Jan 27, 2024
439916a
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jan 30, 2024
881724a
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jan 31, 2024
b13991d
Merge branch 'tangly1024:main' into main
HumanMus1c Jan 31, 2024
bc177c7
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 1, 2024
36124b8
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 2, 2024
559ce79
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 3, 2024
a69d9f2
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 4, 2024
8b230ae
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 5, 2024
a34313c
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 6, 2024
174072f
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 7, 2024
eff2c13
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 8, 2024
aa87ad7
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 9, 2024
7a89156
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 20, 2024
f975878
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 22, 2024
eac34c1
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 23, 2024
ca360de
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 24, 2024
c8cf770
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 25, 2024
4d9f649
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 27, 2024
62dc509
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 28, 2024
7d79ea7
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Mar 2, 2024
58f50be
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Mar 3, 2024
9628c39
Merge branch 'tangly1024:main' into main
HumanMus1c Mar 5, 2024
aa9d307
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Mar 6, 2024
6f49b5f
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Mar 7, 2024
7a0f266
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Mar 8, 2024
8a8686c
Merge branch 'tangly1024:main' into main
HumanMus1c Mar 12, 2024
75b132a
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Mar 15, 2024
78bc2f3
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Mar 17, 2024
f977ea5
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Mar 18, 2024
993b3a6
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Mar 19, 2024
3081fdb
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Mar 23, 2024
af2410f
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Mar 25, 2024
afeb91a
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Mar 26, 2024
5d3534e
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Apr 2, 2024
b9b5ee5
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Apr 3, 2024
f48fdca
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Apr 4, 2024
d9d9ace
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Apr 5, 2024
890a491
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Apr 6, 2024
1d320a2
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Apr 7, 2024
fb7c3d3
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Apr 8, 2024
6ddf91c
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Apr 9, 2024
18fa325
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Apr 10, 2024
3de693a
Merge branch 'tangly1024:main' into main
HumanMus1c Apr 12, 2024
13012b4
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Apr 15, 2024
180e138
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Apr 16, 2024
da98f59
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Apr 17, 2024
992466e
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Apr 23, 2024
d0247a5
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Apr 24, 2024
4b9210f
Merge branch 'tangly1024:main' into main
HumanMus1c Apr 24, 2024
5d9342f
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Apr 26, 2024
94c132f
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Apr 27, 2024
b14a277
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Apr 29, 2024
ce66a45
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Apr 30, 2024
c20e5c4
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user May 1, 2024
5975a7e
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user May 2, 2024
d671646
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user May 7, 2024
c059e0b
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user May 8, 2024
d1fc6b0
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user May 9, 2024
cbfcd8a
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user May 10, 2024
dfae952
Merge branch 'tangly1024:main' into main
HumanMus1c May 10, 2024
801085a
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user May 12, 2024
fa4e6ab
Merge branch 'tangly1024:main' into main
HumanMus1c May 13, 2024
85cb045
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user May 15, 2024
86ee239
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user May 16, 2024
d61f979
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user May 17, 2024
7049726
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user May 18, 2024
9d554a4
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user May 21, 2024
fc35d2e
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user May 24, 2024
935d2d7
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user May 25, 2024
62d6aba
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user May 27, 2024
7965698
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user May 28, 2024
2de73ac
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user May 29, 2024
7a75ff1
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user May 30, 2024
845428b
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jun 1, 2024
0b9ffad
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jun 4, 2024
32c0acc
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jun 5, 2024
68fbb17
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jun 6, 2024
ac9473e
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jun 13, 2024
b3e073a
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jun 15, 2024
cb8b051
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jun 16, 2024
9c791fc
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jun 18, 2024
58858ad
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jun 20, 2024
49a59c6
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jun 23, 2024
59e0d2b
Merge branch 'tangly1024:main' into main
HumanMus1c Jun 24, 2024
f6db130
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jun 27, 2024
f4bcdd8
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jun 27, 2024
521e2d9
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jun 28, 2024
33ab49e
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jun 29, 2024
79dce76
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jul 6, 2024
f95b0ce
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jul 8, 2024
2a6279a
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jul 13, 2024
7226076
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jul 25, 2024
8886072
Merge branch 'tangly1024:main' into main
HumanMus1c Aug 28, 2024
a6b3457
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Aug 30, 2024
54b5331
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Aug 31, 2024
f6adb33
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 2, 2024
b11f0dd
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 5, 2024
2e62366
Merge branch 'tangly1024:main' into main
HumanMus1c Sep 5, 2024
1888f01
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 6, 2024
6a708b2
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 7, 2024
7540d67
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 11, 2024
ca1888d
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 14, 2024
f8e5033
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 15, 2024
f0fae85
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 17, 2024
325e3a6
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 18, 2024
d2f6540
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 19, 2024
5d2c47a
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 21, 2024
2c4f922
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 22, 2024
aece5b1
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 22, 2024
76ee9d9
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 23, 2024
605ca3d
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 24, 2024
5daf66f
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 25, 2024
7c70768
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 26, 2024
b2d5290
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 27, 2024
b7dd2ee
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 28, 2024
d802d96
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Sep 30, 2024
761207b
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Oct 1, 2024
8e5cba4
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Oct 3, 2024
2bdaaf2
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Oct 4, 2024
64c3355
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Oct 6, 2024
5b0bf25
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Oct 6, 2024
fb988c7
Merge branch 'tangly1024:main' into main
HumanMus1c Oct 8, 2024
750f00a
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Oct 9, 2024
8ed81e5
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Oct 11, 2024
7055ff0
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Oct 12, 2024
dcfc453
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Oct 13, 2024
bc0e4f9
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Oct 15, 2024
6b077e0
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Oct 23, 2024
9cf420e
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Oct 29, 2024
cc0fb79
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Oct 30, 2024
5053438
Merge branch 'tangly1024:main' into main
HumanMus1c Oct 30, 2024
98c04c9
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Nov 1, 2024
1310156
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Nov 5, 2024
340b22e
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Nov 9, 2024
b514465
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Nov 10, 2024
32269b9
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Nov 14, 2024
362d0ea
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Nov 15, 2024
40c27a0
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Nov 17, 2024
1951226
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Nov 19, 2024
aa81ef5
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Nov 20, 2024
0b42e6e
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Nov 21, 2024
519f382
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Nov 22, 2024
f6816b1
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Nov 23, 2024
3a85897
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Nov 24, 2024
774fa1e
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Nov 28, 2024
42c71ba
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Dec 3, 2024
206c842
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Dec 8, 2024
2b62fc5
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Dec 22, 2024
a7dc535
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Dec 29, 2024
ad2ecdb
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Dec 29, 2024
3141577
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jan 2, 2025
608dad7
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jan 6, 2025
85a14c7
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jan 16, 2025
59cfa03
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jan 20, 2025
e5199e4
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jan 21, 2025
570bfaf
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jan 25, 2025
174f196
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Jan 27, 2025
3972608
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 3, 2025
966a7bf
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 4, 2025
76ce237
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 5, 2025
c248664
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 7, 2025
f77522d
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 8, 2025
fe4895b
import @vercel/speed-insights/next
Feb 9, 2025
195854c
npm i @vercel/analytics
Feb 9, 2025
a2643af
Update layout-map.config.js
Feb 9, 2025
0506a53
Update layout-map.config.js
Feb 9, 2025
0dcbd7d
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 12, 2025
5318337
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Feb 15, 2025
f5c23d9
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Mar 5, 2025
a00872e
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Mar 6, 2025
715fa66
Merge branch 'main' of https://github.com/tangly1024/NotionNext
actions-user Mar 15, 2025
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
40 changes: 40 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Upstream Sync

permissions:
contents: write

on:
schedule:
- cron: "0 0 * * *" # every day
workflow_dispatch:

jobs:
sync_latest_from_upstream:
name: Sync latest commits from upstream repo
runs-on: ubuntu-latest
if: ${{ github.event.repository.fork }}

steps:
# Step 1: run a standard checkout action
- name: Checkout target repo
uses: actions/checkout@v3

# Step 2: run the sync action
- name: Sync upstream changes
id: sync
uses: aormsby/[email protected]
with:
upstream_sync_repo: tangly1024/NotionNext
upstream_sync_branch: main
target_sync_branch: main
target_repo_token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, no need to set

# Set test_mode true to run tests instead of the true action!!
test_mode: false

- name: Sync check
if: failure()
run: |
echo "[Error] 由于上游仓库的 workflow 文件变更,导致 GitHub 自动暂停了本次自动更新,你需要手动 Sync Fork 一次,详细教程请查看:https://github.com/Yidadaa/ChatGPT-Next-Web/blob/main/README_CN.md#%E6%89%93%E5%BC%80%E8%87%AA%E5%8A%A8%E6%9B%B4%E6%96%B0"
echo "[Error] Due to a change in the workflow file of the upstream repository, GitHub has automatically suspended the scheduled automatic update. You need to manually sync your fork. Please refer to the detailed tutorial for instructions: https://github.com/Yidadaa/ChatGPT-Next-Web#enable-automatic-updates"
exit 1
2 changes: 1 addition & 1 deletion blog.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const BLOG = {
// 欢迎语打字效果,Hexo,Matery主题支持, 英文逗号隔开多个欢迎语。
GREETING_WORDS:
process.env.NEXT_PUBLIC_GREETING_WORDS ||
'Hi,我是一个程序员, Hi,我是一个打工人,Hi,我是一个干饭人,欢迎来到我的博客🎉',
'Hi,,欢迎来到我的博客🎉',

// uuid重定向至 slug
UUID_REDIRECT: process.env.UUID_REDIRECT || false
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"@clerk/nextjs": "^5.1.5",
"@headlessui/react": "^1.7.15",
"@next/bundle-analyzer": "^12.1.1",
"@vercel/analytics": "^1.0.0",
"@vercel/analytics": "^1.4.1",
"@vercel/speed-insights": "^1.1.0",
"algoliasearch": "^4.18.0",
"axios": "^1.7.2",
"feed": "^4.2.2",
Expand Down
3 changes: 3 additions & 0 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import { generateRss } from '@/lib/rss'
import { generateSitemapXml } from '@/lib/sitemap.xml'
import { DynamicLayout } from '@/themes/theme'
import { generateRedirectJson } from '@/lib/redirect'
import { SpeedInsights } from "@vercel/speed-insights/next" //2024年2月9日 加入Vercel的Speed Insights,用于优化网站加载速度
import { Analytics } from "@vercel/analytics/react" //2024年2月9日 加入Vercel的Analytics,用于统计网站访问数据


/**
* 首页布局
Expand Down
3 changes: 3 additions & 0 deletions themes/movie/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ import TagGroups from './components/TagGroups'
import TagItem from './components/TagItem'
import CONFIG from './config'
import { Style } from './style'
import { SpeedInsights } from "@vercel/speed-insights/next" //2024年2月9日 加入Vercel的Speed Insights,用于优化网站加载速度
import { Analytics } from "@vercel/analytics/react" //2024年2月9日 加入Vercel的Analytics,用于统计网站访问数据


// 主题全局状态
const ThemeGlobalMovie = createContext()
Expand Down
4 changes: 4 additions & 0 deletions themes/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ import getConfig from 'next/config'
import dynamic from 'next/dynamic'
import { useRouter } from 'next/router'
import { getQueryParam, getQueryVariable, isBrowser } from '../lib/utils'
import { SpeedInsights } from "@vercel/speed-insights/next" //2024年2月9日 加入Vercel的Speed Insights,用于优化网站加载速度
import { Analytics } from "@vercel/analytics/react" //2024年2月9日 加入Vercel的Analytics,用于统计网站访问数据



// 在next.config.js中扫描所有主题
export const { THEMES = [] } = getConfig()?.publicRuntimeConfig || {}
Expand Down
Loading