Skip to content

Commit e6840b0

Browse files
committed
尼尼十三枪之背身空枪
1 parent 6c0dea5 commit e6840b0

File tree

5 files changed

+60
-17
lines changed

5 files changed

+60
-17
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ jobs:
4444
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
4545
scope: ${{ secrets.VERCEL_ORG_ID }}
4646
working-directory: ./
47-
production: true
47+
vercel-args: '--prod'

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ pnpm-debug.log*
2727

2828
# jetbrains setting folder
2929
.idea/
30+
.vercel
31+
.env*.local

package-lock.json

Lines changed: 35 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"@aws-sdk/client-s3": "^3.940.0",
1717
"@sentry/astro": "^10.28.0",
1818
"@spotlightjs/astro": "^3.2.6",
19+
"@vercel/speed-insights": "^1.3.1",
1920
"astro": "^5.16.3",
2021
"postgres": "^3.4.7",
2122
"svelte": "^5.45.3",

src/layouts/Layout.astro

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
1+
---
2+
import SpeedInsights from '@vercel/speed-insights/astro';
3+
---
4+
15
<!doctype html>
26
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8" />
5-
<meta name="viewport" content="width=device-width" />
6-
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
7-
<meta name="generator" content={Astro.generator} />
8-
<title>Astro Basics</title>
9-
</head>
10-
<body>
11-
<slot />
12-
</body>
7+
<head>
8+
<meta charset="UTF-8" />
9+
<meta name="viewport" content="width=device-width" />
10+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
11+
<meta name="generator" content={Astro.generator} />
12+
<title>Astro Basics</title>
13+
</head>
14+
<body>
15+
<slot />
16+
<SpeedInsights />
17+
</body>
1318
</html>
1419

1520
<style>
16-
html,
17-
body {
18-
margin: 0;
19-
width: 100%;
20-
height: 100%;
21-
}
21+
html,
22+
body {
23+
margin: 0;
24+
width: 100%;
25+
height: 100%;
26+
}
2227
</style>

0 commit comments

Comments
 (0)