Spaces:
Runtime error
Runtime error
Commit
·
7534dba
1
Parent(s):
3da50d1
github link
Browse files- src/App.tsx +13 -2
src/App.tsx
CHANGED
|
@@ -3,6 +3,7 @@ import ViewerTab from "@/components/viewer-tab";
|
|
| 3 |
import PlayTab from "@/components/play-tab";
|
| 4 |
import AboutTab from "@/components/about-tab";
|
| 5 |
import { SignInWithHuggingFaceButton } from "@/components/sign-in-with-hf-button";
|
|
|
|
| 6 |
import { useState, useEffect } from "react";
|
| 7 |
|
| 8 |
export default function Home() {
|
|
@@ -41,9 +42,19 @@ export default function Home() {
|
|
| 41 |
<p>This application doesn't work well on small screens. Please use a desktop for the best experience.</p>
|
| 42 |
</div>
|
| 43 |
)}
|
| 44 |
-
<div className="flex flex-row justify-between">
|
| 45 |
<h1 className="text-3xl font-bold mb-6">WikiRacing Language Models</h1>
|
| 46 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
</div>
|
| 48 |
|
| 49 |
<Tabs defaultValue="view" className="w-full" onValueChange={(value) => setSelectedTab(value as "view" | "play")} value={selectedTab}>
|
|
|
|
| 3 |
import PlayTab from "@/components/play-tab";
|
| 4 |
import AboutTab from "@/components/about-tab";
|
| 5 |
import { SignInWithHuggingFaceButton } from "@/components/sign-in-with-hf-button";
|
| 6 |
+
import { Github } from "lucide-react";
|
| 7 |
import { useState, useEffect } from "react";
|
| 8 |
|
| 9 |
export default function Home() {
|
|
|
|
| 42 |
<p>This application doesn't work well on small screens. Please use a desktop for the best experience.</p>
|
| 43 |
</div>
|
| 44 |
)}
|
| 45 |
+
<div className="flex flex-row justify-between items-center">
|
| 46 |
<h1 className="text-3xl font-bold mb-6">WikiRacing Language Models</h1>
|
| 47 |
+
<div className="flex items-center gap-4">
|
| 48 |
+
<a
|
| 49 |
+
href="https://github.com/Stillerman/wikirace-llms"
|
| 50 |
+
target="_blank"
|
| 51 |
+
rel="noopener noreferrer"
|
| 52 |
+
className="text-gray-700 hover:text-gray-900"
|
| 53 |
+
>
|
| 54 |
+
<Github size={24} />
|
| 55 |
+
</a>
|
| 56 |
+
<SignInWithHuggingFaceButton />
|
| 57 |
+
</div>
|
| 58 |
</div>
|
| 59 |
|
| 60 |
<Tabs defaultValue="view" className="w-full" onValueChange={(value) => setSelectedTab(value as "view" | "play")} value={selectedTab}>
|