Skip to content

Commit bf2e942

Browse files
committed
updates
1 parent 2194191 commit bf2e942

File tree

2 files changed

+30
-7
lines changed

2 files changed

+30
-7
lines changed

app/(home)/page.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ export default function HomePage() {
153153
</p>
154154
<ul className="space-y-4 pt-4">
155155
{[
156+
{ label: "Perfect Fusion", desc: "Seamless blend of React UIs with Razor Pages & .NET APIs" },
156157
{ label: "Type-Safe End-to-End", desc: "Shared DTOs between C# and TypeScript." },
157-
{ label: "AI-Friendly", desc: "Clean, declarative code that LLMs understand perfectly." },
158-
{ label: "Production Ready", desc: "Docker, Auth, and AutoQuery out of the box." }
158+
{ label: "AI-Friendly", desc: "Optimal React UIs, Zero ambiguity APIs. Maximum AI accuracy." },
159159
].map((item, i) => (
160160
<li key={i} className="flex items-start gap-3">
161161
<div className="mt-1 flex-shrink-0 w-6 h-6 rounded-full bg-green-500/10 flex items-center justify-center text-green-600">
@@ -173,13 +173,13 @@ export default function HomePage() {
173173
<div className="absolute -inset-1 bg-gradient-to-r from-cyan-500 to-blue-600 rounded-2xl blur opacity-20 group-hover:opacity-40 transition duration-1000 group-hover:duration-200"></div>
174174
<div className="relative rounded-xl overflow-hidden shadow-2xl border border-slate-800 bg-slate-900 p-8 text-center transform transition-transform duration-500 hover:rotate-y-12 hover:rotate-x-12">
175175
<div className="flex items-center justify-center gap-8 mb-6">
176-
<div className="w-20 h-20 rounded-2xl bg-[#512BD4] flex items-center justify-center shadow-lg ring-1 ring-white/10">
177-
<span className="text-white font-bold text-2xl">.NET</span>
178-
</div>
179-
<div className="w-1 h-12 bg-slate-700 rounded-full" />
180176
<div className="w-20 h-20 rounded-full bg-[#282c34] flex items-center justify-center shadow-lg ring-1 ring-white/10">
181177
<span className="text-[#61DAFB] font-bold text-xl">React</span>
182178
</div>
179+
<div className="w-1 h-12 bg-slate-700 rounded-full" />
180+
<div className="size-18 rounded-2xl bg-[#512BD4] flex items-center justify-center shadow-lg ring-1 ring-white/10">
181+
<span className="px-4 text-white font-bold text-2xl">.NET</span>
182+
</div>
183183
</div>
184184
<p className="text-2xl font-mono font-bold text-white">Seamlessly Integrated</p>
185185
<p className="text-sm text-slate-400 mt-2">Hot Reload • Typed APIs • AutoQuery</p>
@@ -261,7 +261,7 @@ function TemplateSection({ title, description, href, screenshot, diagram, featur
261261
</Link>
262262
<p className="text-lg text-muted-foreground leading-relaxed">{description}</p>
263263

264-
<div className="bg-[#f9f9fb] border rounded-xl p-6 shadow-sm hover:shadow-md transition-shadow">
264+
<div className="bg-[#f9f9fb] dark:bg-[#1a1a1a] border border-gray-200 dark:border-gray-800 rounded-xl p-6 shadow-sm hover:shadow-md transition-shadow">
265265
<div className="flex items-center justify-between mb-4">
266266
<h4 className="font-semibold text-xs uppercase tracking-wider text-muted-foreground flex items-center gap-2">
267267
<svg className="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" /></svg>

app/global.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
11
@import 'tailwindcss';
22
@import 'fumadocs-ui/css/neutral.css';
33
@import 'fumadocs-ui/css/preset.css';
4+
5+
/* React.dev-style dark mode background */
6+
.dark {
7+
--background: 22 26 29;
8+
/* #16181d in RGB */
9+
}
10+
11+
/* React.dev-style gradient backgrounds */
12+
.bg-gradient-right {
13+
background-image: conic-gradient(from -90deg at 110% 100%, #fff 0deg, #ebecf0 90deg, #ebecf0 1turn);
14+
}
15+
16+
.dark .dark\:bg-gradient-right-dark {
17+
background-image: conic-gradient(from -90deg at 110% 100%, #2b303b 0deg, #16181d 90deg, #16181d 1turn);
18+
}
19+
20+
.border-primary\/5 {
21+
border-color: rgba(35, 39, 47, 0.05);
22+
}
23+
24+
.dark .dark\:border-primary-dark\/5 {
25+
border-color: rgba(246, 247, 249, 0.05);
26+
}

0 commit comments

Comments
 (0)