Skip to content

Commit 3ae7dcd

Browse files
committed
.
1 parent 5fe6940 commit 3ae7dcd

File tree

7 files changed

+150
-5
lines changed

7 files changed

+150
-5
lines changed
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
import type { Metadata } from "next";
2+
export const metadata: Metadata = {
3+
title: "Embodied AI | OpenDriveLab",
4+
description: "OpenDriveLab is committed to exploring cutting-edge embodied AI technology, launching a series of benchmarking work, open source to serve the community, and promote the common development of the industry. Friends who are committed to making influential research are welcome to join!",
5+
keywords: ["Embodied AI", "OpenDriveLab", "Robotics", "Embodied AI", "Autonomous Driving", "HKU", "SII"],
6+
};
7+
8+
9+
10+
import Image from 'next/image'
11+
import Link from "next/link"
12+
13+
14+
15+
export default function Home() {
16+
return (
17+
<div className="w-full">
18+
19+
20+
21+
<div className="w-full px-6 flex justify-center mt-36 md:mt-24">
22+
<div className="w-full max-w-7xl flex flex-col gap-6 fg-gradient-blue">
23+
<h1 className="text-t0 font-bold">
24+
Embodied AI
25+
</h1>
26+
</div>
27+
</div>
28+
29+
30+
31+
<div className="w-full px-6 flex justify-center mt-24">
32+
<div className="w-full max-w-7xl flex">
33+
<ul className="timeline timeline-snap-icon max-md:timeline-compact timeline-vertical">
34+
<li>
35+
<div className="timeline-middle">
36+
<svg
37+
xmlns="http://www.w3.org/2000/svg"
38+
viewBox="0 0 20 20"
39+
fill="currentColor"
40+
className="h-5 w-5"
41+
>
42+
<path
43+
fillRule="evenodd"
44+
d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
45+
clipRule="evenodd"
46+
/>
47+
</svg>
48+
</div>
49+
<div className="timeline-start mb-10 md:text-end">
50+
<time className="font-mono italic">1984</time>
51+
<div className="text-lg font-black">First Macintosh computer</div>
52+
The Apple Macintosh—later rebranded as the Macintosh 128K—is the original Apple Macintosh
53+
personal computer. It played a pivotal role in establishing desktop publishing as a general
54+
office function. The motherboard, a 9 in (23 cm) CRT monitor, and a floppy drive were housed
55+
in a beige case with integrated carrying handle; it came with a keyboard and single-button
56+
mouse.
57+
</div>
58+
<hr />
59+
</li>
60+
<li>
61+
<hr />
62+
<div className="timeline-middle">
63+
<svg
64+
xmlns="http://www.w3.org/2000/svg"
65+
viewBox="0 0 20 20"
66+
fill="currentColor"
67+
className="h-5 w-5"
68+
>
69+
<path
70+
fillRule="evenodd"
71+
d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
72+
clipRule="evenodd"
73+
/>
74+
</svg>
75+
</div>
76+
<div className="timeline-end md:mb-10">
77+
<time className="font-mono italic">1998</time>
78+
<div className="text-lg font-black">iMac</div>
79+
iMac is a family of all-in-one Mac desktop computers designed and built by Apple Inc. It has
80+
been the primary part of Apple's consumer desktop offerings since its debut in August 1998,
81+
and has evolved through seven distinct forms
82+
</div>
83+
<hr />
84+
</li>
85+
<li>
86+
<hr />
87+
<div className="timeline-middle">
88+
<svg
89+
xmlns="http://www.w3.org/2000/svg"
90+
viewBox="0 0 20 20"
91+
fill="currentColor"
92+
className="h-5 w-5"
93+
>
94+
<path
95+
fillRule="evenodd"
96+
d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z"
97+
clipRule="evenodd"
98+
/>
99+
</svg>
100+
</div>
101+
<div className="timeline-start mb-10 md:text-end">
102+
<time className="font-mono italic">2015</time>
103+
<div className="text-lg font-black">Apple Watch</div>
104+
The Apple Watch is a line of smartwatches produced by Apple Inc. It incorporates fitness
105+
tracking, health-oriented capabilities, and wireless telecommunication, and integrates with
106+
iOS and other Apple products and services
107+
</div>
108+
</li>
109+
</ul>
110+
</div>
111+
</div>
112+
113+
114+
115+
</div>
116+
)
117+
}

app/globals.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import "tailwindcss";
22
@import "tw-animate-css";
3+
@plugin "daisyui";
34

45
@custom-variant dark (&:is(.dark *));
56

components/app-sidebar.tsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,13 @@ function PageSidebar() {
8585
} else if (content_page != null) {
8686
return (
8787
<SidebarMenu className="mb-12 px-8 text-xs overflow-y-scroll no-scrollbar">
88-
<span className="font-bold p-2 select-none text-foreground/50">
89-
This Page
90-
</span>
9188
{
89+
content_page.length != 0 && (
90+
<span className="font-bold p-2 select-none text-foreground/50">
91+
This Page
92+
</span>
93+
)
94+
} {
9295
content_page.map((item) => (
9396
<Link key={item.text} href={"#" + item.id} className="p-2 rounded-sm hover:bg-o-blue/3 select-none">
9497
{item.text}
@@ -145,7 +148,7 @@ export function AppSidebar() {
145148

146149

147150

148-
<Collapsible className="group/collapsible flex flex-col gap-6">
151+
<Collapsible className="group/collapsible flex flex-col gap-6" defaultOpen>
149152
<SidebarMenuItem>
150153
<CollapsibleTrigger className="w-full flex flex-row justify-between items-center p-2 rounded-sm hover:bg-o-blue/3 select-none">
151154
Research
@@ -227,7 +230,7 @@ export function AppSidebar() {
227230

228231

229232

230-
<Collapsible className="group/collapsible flex flex-col gap-6">
233+
<Collapsible className="group/collapsible flex flex-col gap-6" defaultOpen>
231234
<SidebarMenuItem>
232235
<CollapsibleTrigger className="w-full flex flex-row justify-between items-center p-2 rounded-sm hover:bg-o-blue/3 select-none">
233236
Event

components/redirect.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,16 @@ export default function Redirect() {
4040
pathname.toLowerCase().startsWith('/events')
4141
) {
4242
redirect('/events')
43+
}
44+
if (
45+
pathname.toLowerCase().startsWith('/embodiedai')
46+
) {
47+
redirect('/EmbodiedAI')
48+
}
49+
if (
50+
pathname.toLowerCase().startsWith('/e2ead')
51+
) {
52+
redirect('/E2EAD')
4353
}
4454

4555

data/navigator-page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,6 @@ export const NavigatorPage: {
124124
id: "driving",
125125
},
126126
],
127+
"/embodiedai": [],
128+
"/e2ead": [],
127129
};

package-lock.json

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"@types/node": "^20",
4545
"@types/react": "^19",
4646
"@types/react-dom": "^19",
47+
"daisyui": "^5.5.14",
4748
"prettier": "^3.5.3",
4849
"tailwindcss": "^4",
4950
"typescript": "^5"

0 commit comments

Comments
 (0)