Skip to content

Commit b3ce99d

Browse files
committed
init site
1 parent 3a639cf commit b3ce99d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+6217
-0
lines changed

.gitignore

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
6+
# next.js
7+
/.next/
8+
/out/
9+
10+
# production
11+
/build
12+
13+
# debug
14+
npm-debug.log*
15+
yarn-debug.log*
16+
yarn-error.log*
17+
.pnpm-debug.log*
18+
19+
# env files
20+
.env*
21+
22+
# vercel
23+
.vercel
24+
25+
# typescript
26+
*.tsbuildinfo
27+
next-env.d.ts

app/globals.css

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;
4+
5+
@layer base {
6+
:root {
7+
--background: 0 0% 100%;
8+
--foreground: 250 10% 3.9%;
9+
10+
/* 更活泼的主色调 - 亮紫色 */
11+
--primary: 266 100% 50%;
12+
--primary-foreground: 0 0% 100%;
13+
14+
/* 活泼的强调色 - 粉色 */
15+
--accent: 326 100% 60%;
16+
--accent-foreground: 0 0% 100%;
17+
18+
/* 生动的次要色 - 青色 */
19+
--secondary: 186 100% 50%;
20+
--secondary-foreground: 0 0% 100%;
21+
22+
/* 其他颜色调整 */
23+
--card: 0 0% 100%;
24+
--card-foreground: 250 10% 3.9%;
25+
--popover: 0 0% 100%;
26+
--popover-foreground: 250 10% 3.9%;
27+
--muted: 250 10% 95%;
28+
--muted-foreground: 250 10% 40%;
29+
--destructive: 0 84.2% 60.2%;
30+
--destructive-foreground: 0 0% 98%;
31+
--border: 250 10% 90%;
32+
--input: 250 10% 90%;
33+
--ring: 266 100% 50%;
34+
--radius: 1rem;
35+
}
36+
37+
.dark {
38+
--background: 250 10% 3.9%;
39+
--foreground: 0 0% 98%;
40+
41+
/* 深色模式下保持活力 */
42+
--primary: 266 100% 60%;
43+
--primary-foreground: 0 0% 100%;
44+
45+
--accent: 326 100% 65%;
46+
--accent-foreground: 0 0% 100%;
47+
48+
--secondary: 186 100% 60%;
49+
--secondary-foreground: 0 0% 100%;
50+
51+
--card: 250 10% 5.9%;
52+
--card-foreground: 0 0% 98%;
53+
--popover: 250 10% 5.9%;
54+
--popover-foreground: 0 0% 98%;
55+
--muted: 250 10% 15%;
56+
--muted-foreground: 250 10% 70%;
57+
--destructive: 0 62.8% 30.6%;
58+
--destructive-foreground: 0 0% 98%;
59+
--border: 250 10% 15%;
60+
--input: 250 10% 15%;
61+
--ring: 266 100% 60%;
62+
}
63+
}
64+
65+
/* 渐变和动画效果 */
66+
.gradient-bg {
67+
background: linear-gradient(135deg, hsl(266 100% 50% / 0.1), hsl(326 100% 60% / 0.1), hsl(186 100% 50% / 0.1));
68+
}
69+
70+
.gradient-text {
71+
background: linear-gradient(135deg, hsl(266 100% 50%), hsl(326 100% 60%));
72+
-webkit-background-clip: text;
73+
-webkit-text-fill-color: transparent;
74+
background-clip: text;
75+
}
76+
77+
.gradient-border {
78+
position: relative;
79+
background: linear-gradient(var(--background), var(--background)) padding-box,
80+
linear-gradient(135deg, hsl(266 100% 50%), hsl(326 100% 60%), hsl(186 100% 50%)) border-box;
81+
border: 2px solid transparent;
82+
}
83+
84+
.feature-card {
85+
transition: all 0.3s ease;
86+
}
87+
88+
.feature-card:hover {
89+
transform: translateY(-5px);
90+
}
91+
92+
.tool-icon {
93+
transition: all 0.3s ease;
94+
}
95+
96+
.tool-icon:hover {
97+
transform: scale(1.05);
98+
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
99+
}
100+
101+
.gradient-button {
102+
background: linear-gradient(135deg, hsl(266 100% 50%), hsl(326 100% 60%));
103+
transition: opacity 0.3s ease;
104+
}
105+
106+
.gradient-button:hover {
107+
opacity: 0.9;
108+
}
109+
110+
@layer base {
111+
* {
112+
@apply border-border;
113+
}
114+
body {
115+
@apply bg-background text-foreground;
116+
}
117+
}
118+
119+
/* 动画关键帧 */
120+
@keyframes float {
121+
0% {
122+
transform: translateY(0px);
123+
}
124+
50% {
125+
transform: translateY(-10px);
126+
}
127+
100% {
128+
transform: translateY(0px);
129+
}
130+
}
131+
132+
.float-animation {
133+
animation: float 3s ease-in-out infinite;
134+
}
135+

app/layout.tsx

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import type React from "react"
2+
import type { Metadata } from "next"
3+
import { Inter } from "next/font/google"
4+
import "./globals.css"
5+
6+
const inter = Inter({ subsets: ["latin"] })
7+
8+
export const metadata: Metadata = {
9+
title: "Model Context Protocol (MCP)",
10+
description: "Connect AI models to external services with the Model Context Protocol (MCP)",
11+
generator: 'v0.dev'
12+
}
13+
14+
export default function RootLayout({
15+
children,
16+
}: Readonly<{
17+
children: React.ReactNode
18+
}>) {
19+
return (
20+
<html lang="en">
21+
<body className={inter.className}>{children}</body>
22+
</html>
23+
)
24+
}
25+
26+
27+
28+
import './globals.css'

0 commit comments

Comments
 (0)