Skip to content

Commit 5ec6f89

Browse files
committed
.
1 parent c7f7339 commit 5ec6f89

File tree

1 file changed

+69
-67
lines changed

1 file changed

+69
-67
lines changed

app/(default)/test/landing.tsx

Lines changed: 69 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -72,88 +72,90 @@ export function Landing() {
7272

7373

7474

75-
<div className="flex-1/2 w-full flex flex-col gap-12 select-none">
75+
<div className="flex-1/2 w-full flex flex-col gap-3 lg:gap-6 select-none">
76+
77+
78+
7679
<div className="flex flex-row text-o-gray">
7780
{index + 1} / {landings.length}
7881
</div>
79-
<div className="w-full flex flex-col gap-6">
8082

8183

8284

83-
<div>
84-
{
85-
!landing.note.startsWith('arXiv') && (
86-
<span className="text-xs text-white bg-gradient-to-br from-o-light-blue via-o-blue to-o-light-blue rounded-sm px-2 py-1.5">
87-
{landing.note}
88-
</span>
89-
)
90-
}
91-
</div>
85+
86+
{
87+
!landing.note.startsWith('arXiv') && (
88+
<div>
89+
<span className="text-xs text-white bg-gradient-to-br from-o-light-blue via-o-blue to-o-light-blue rounded-sm px-2 py-1.5">
90+
{landing.note}
91+
</span>
92+
</div>
93+
)
94+
}
9295

9396

9497

95-
<h1 className="text-t1 font-bold fg-gradient-blue pb-6 -mb-6">
96-
{
97-
landing.title.startsWith('AgiBot') ? (
98-
"AgiBot World"
99-
) : (
100-
landing.title
101-
)
102-
}
103-
</h1>
98+
<h1 className="text-t1 font-bold fg-gradient-blue pb-6 -mb-6">
99+
{
100+
landing.title.startsWith('AgiBot') ? (
101+
"AgiBot World"
102+
) : (
103+
landing.title
104+
)
105+
}
106+
</h1>
107+
108+
104109

110+
<h2>
111+
{
112+
landing.title.startsWith('AgiBot') ? (
113+
"World's First Large-scale High-quality Robotic Manipulation Benchmark."
114+
) : (
115+
landing.description
116+
)
117+
}
118+
</h2>
105119

106120

107-
<h2>
121+
122+
<div>
123+
<div className="flex flex-row items-center flex-wrap">
124+
<Link href={landing.link} target={landing.link.startsWith('http') ? '_blank' : '_self'} className="animated-underline-gray mr-3 text-nowrap">
125+
Paper
126+
</Link>
127+
<span className="text-xs mr-3"> | </span>
128+
{
129+
landing.icon.map((icon, index) => (
130+
icon.type != 'zhihu' && (
131+
<div key={index} className="flex items-center">
132+
<Link href={icon.link} target={icon.link.startsWith('http') ? '_blank' : '_self'} className="animated-underline-gray mr-3 text-nowrap">
133+
{
134+
landing.title.startsWith('FreeTacMan') && icon.type =='blog' ? (
135+
'Hareware Guide'
136+
) : (
137+
type_mapping[icon.type] ?? "XXX"
138+
)
139+
}
140+
</Link>
141+
{index < landing.icon.length - 1 && (
142+
<span className="text-xs mr-3"> | </span>
143+
)}
144+
</div>
145+
)
146+
))
147+
}
108148
{
109-
landing.title.startsWith('AgiBot') ? (
110-
"World's First Large-scale High-quality Robotic Manipulation Benchmark."
111-
) : (
112-
landing.description
149+
landing.title.startsWith('AgiBot') && (
150+
<span className="text-xs mr-3"> | </span>
151+
)
152+
} {
153+
landing.title.startsWith('AgiBot') && (
154+
<Link href='/challenge2025/#agibot-world' className="animated-underline-gray mr-3 text-nowrap">
155+
Challenge
156+
</Link>
113157
)
114158
}
115-
</h2>
116-
117-
118-
119-
<div>
120-
<div className="flex flex-row items-center flex-wrap">
121-
<Link href={landing.link} target={landing.link.startsWith('http') ? '_blank' : '_self'} className="animated-underline-gray mr-3 text-nowrap">
122-
Paper
123-
</Link>
124-
<span className="text-xs mr-3"> | </span>
125-
{
126-
landing.icon.map((icon, index) => (
127-
icon.type != 'zhihu' && (
128-
<div key={index} className="flex items-center">
129-
<Link href={icon.link} target={icon.link.startsWith('http') ? '_blank' : '_self'} className="animated-underline-gray mr-3 text-nowrap">
130-
{
131-
landing.title.startsWith('FreeTacMan') && icon.type =='blog' ? (
132-
'Hareware Guide'
133-
) : (
134-
type_mapping[icon.type] ?? "XXX"
135-
)
136-
}
137-
</Link>
138-
{index < landing.icon.length - 1 && (
139-
<span className="text-xs mr-3"> | </span>
140-
)}
141-
</div>
142-
)
143-
))
144-
}
145-
{
146-
landing.title.startsWith('AgiBot') && (
147-
<span className="text-xs mr-3"> | </span>
148-
)
149-
} {
150-
landing.title.startsWith('AgiBot') && (
151-
<Link href='/challenge2025/#agibot-world' className="animated-underline-gray mr-3 text-nowrap">
152-
Challenge
153-
</Link>
154-
)
155-
}
156-
</div>
157159
</div>
158160
</div>
159161
</div>

0 commit comments

Comments
 (0)