Skip to content

Commit 296c592

Browse files
committed
add tailwind
1 parent b32b9b5 commit 296c592

File tree

7 files changed

+537
-34
lines changed

7 files changed

+537
-34
lines changed

package.json

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,28 @@
11
{
2-
"name": "nextra-docs-template",
2+
"name": "langfuse-docs",
33
"version": "0.0.1",
4-
"description": "Nextra docs template",
4+
"description": "langfuse docs",
55
"scripts": {
66
"dev": "next dev",
77
"build": "next build",
88
"start": "next start"
99
},
10-
"repository": {
11-
"type": "git",
12-
"url": "git+https://github.com/shuding/nextra-docs-template.git"
13-
},
14-
"author": "Shu Ding <g@shud.in>",
15-
"license": "MIT",
16-
"bugs": {
17-
"url": "https://github.com/shuding/nextra-docs-template/issues"
18-
},
19-
"homepage": "https://github.com/shuding/nextra-docs-template#readme",
10+
"homepage": "https://docs.langfuse.com",
2011
"dependencies": {
2112
"@cloudflare/stream-react": "^1.8.0",
13+
"autoprefixer": "^10.4.14",
2214
"lucide-react": "^0.220.0",
2315
"next": "^13.0.6",
2416
"next-swagger-doc": "^0.3.6",
2517
"nextra": "latest",
2618
"nextra-theme-docs": "latest",
19+
"postcss": "^8.4.24",
2720
"react": "^18.2.0",
2821
"react-dom": "^18.2.0",
2922
"react-icons": "^4.8.0",
3023
"remark-mermaid-nextra": "^0.0.4",
31-
"swagger-ui-react": "^4.18.3"
24+
"swagger-ui-react": "^4.18.3",
25+
"tailwindcss": "^3.3.2"
3226
},
3327
"devDependencies": {
3428
"@types/node": "18.11.10",

pages/_app.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import "../style.css";
2+
3+
export default function App({ Component, pageProps }) {
4+
return <Component {...pageProps} />;
5+
}

pages/index.mdx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,7 @@ import { AiOutlineCloud } from "react-icons/ai";
1313
open-source tracing and feedback collection for LLM applications
1414
</span>
1515

16-
<div
17-
style={{
18-
marginTop: "30px",
19-
marginBottom: "100px",
20-
display: "flex",
21-
gap: "20px",
22-
justifyContent: "center",
23-
}}
24-
>
16+
<div className="flex pt-4 gap-3 justify-center flex-wrap">
2517
<Card icon={<span>🚀</span>} title="Quickstart" href="/docs/get-started" />
2618
<Card
2719
icon={<SiGithub size="24" />}

0 commit comments

Comments
 (0)