-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add landing page for HELM Capabilities leaderboard (#3241)
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
helm-frontend/src/components/Landing/CapabilitiesLanding.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import MiniLeaderboard from "@/components/MiniLeaderboard"; | ||
import { Link } from "react-router-dom"; | ||
|
||
export default function CapabilitiesLanding() { | ||
return ( | ||
<div className="container mx-auto px-16"> | ||
<h1 className="text-3xl my-8 font-bold text-center">HELM Capabilities</h1> | ||
<div className="flex flex-col lg:flex-row gap-8"> | ||
<div className="flex-1 text-l"> | ||
<p> | ||
HELM Capabilities is a new leaderboard for benchmarking the | ||
capabilities of foundation models, featuring 6 challenging | ||
scenarios. | ||
</p> | ||
<div className="flex flex-row justify-center my-4"> | ||
<Link to="#" className="px-10 btn rounded-md mx-4"> | ||
Blog Post | ||
</Link> | ||
<Link to="leaderboard" className="px-10 btn rounded-md mx-4"> | ||
Leaderboard | ||
</Link> | ||
</div> | ||
</div> | ||
<div | ||
className="py-2 pb-6 rounded-3xl bg-gray-100 h-full" // Stretched to full height | ||
style={{ maxWidth: "100%" }} | ||
> | ||
<MiniLeaderboard /> | ||
<div className="flex justify-end"> | ||
<Link to="leaderboard"> | ||
<button className="px-4 mx-3 mt-1 btn bg-white rounded-md"> | ||
<span>See More</span> | ||
</button> | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters