aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/packages/docs/app/routes/home.tsx
diff options
context:
space:
mode:
author苏向夜 <46275354+fu050409@users.noreply.github.com>2026-04-01 10:49:11 +0800
committerGitHub <noreply@github.com>2026-04-01 10:49:11 +0800
commitf75fe4cc916f6935d063cde4216e9f3b309c6047 (patch)
tree9dc5e42c4c0b19f34fcf18e8032d82f823e7cd54 /packages/docs/app/routes/home.tsx
parentb6a238f5102049e1f525d6dc13dac8a4c82ca1a3 (diff)
parented0744635367a5bae9e486d796d7ba6ab696289c (diff)
downloadDropOut-f75fe4cc916f6935d063cde4216e9f3b309c6047.tar.gz
DropOut-f75fe4cc916f6935d063cde4216e9f3b309c6047.zip
Merge branch 'main' into chore/change-license-to-agpl
Diffstat (limited to 'packages/docs/app/routes/home.tsx')
-rw-r--r--packages/docs/app/routes/home.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/docs/app/routes/home.tsx b/packages/docs/app/routes/home.tsx
index fe561e4..26c0f52 100644
--- a/packages/docs/app/routes/home.tsx
+++ b/packages/docs/app/routes/home.tsx
@@ -110,7 +110,7 @@ const texts = {
},
};
-export function meta({ params }: Route.MetaArgs) {
+export function meta() {
return [
{ title: "DropOut - Modern Minecraft Launcher" },
{
@@ -172,9 +172,9 @@ export default function Home({ params }: Route.ComponentProps) {
{/* Features Grid */}
<div className="grid md:grid-cols-2 lg:grid-cols-3 gap-6 mb-16">
- {t.features.items.map((item, i) => (
+ {t.features.items.map((item) => (
<div
- key={i}
+ key={item.title}
className="p-6 rounded-lg border border-blue-600/20 bg-fd-card hover:border-blue-600/50 transition-colors"
>
<h3 className="font-semibold text-lg mb-2">{item.title}</h3>
@@ -187,8 +187,8 @@ export default function Home({ params }: Route.ComponentProps) {
<div className="text-center mb-16">
<h2 className="text-3xl font-bold mb-6">{t.why.title}</h2>
<div className="max-w-3xl mx-auto space-y-4 text-left">
- {t.why.items.map((item, i) => (
- <div key={i} className="p-4 rounded-lg bg-fd-muted/50">
+ {t.why.items.map((item) => (
+ <div key={item.q} className="p-4 rounded-lg bg-fd-muted/50">
<p className="text-fd-foreground">
<span className="font-semibold">{item.q}</span>
<br />