Spaces:
Sleeping
Sleeping
Esteves Enzo
commited on
Commit
•
aeacdfd
1
Parent(s):
a22946c
add feedback btn + rename app
Browse files
components/editor/header.tsx
CHANGED
@@ -15,8 +15,7 @@ export const EditorHeader = ({
|
|
15 |
</div>
|
16 |
<Image src={HFLogo} alt="Hugging Face Logo" width={34} height={34} />
|
17 |
<p className="text-gray-300 font-code text-sm font-semibold">
|
18 |
-
|
19 |
-
API
|
20 |
</p>
|
21 |
<div className="hidden xl:flex items-center justify-end gap-3">
|
22 |
<div className="bg-teal-600 w-3 h-3 rounded-full" />
|
|
|
15 |
</div>
|
16 |
<Image src={HFLogo} alt="Hugging Face Logo" width={34} height={34} />
|
17 |
<p className="text-gray-300 font-code text-sm font-semibold">
|
18 |
+
Hub API Playground API
|
|
|
19 |
</p>
|
20 |
<div className="hidden xl:flex items-center justify-end gap-3">
|
21 |
<div className="bg-teal-600 w-3 h-3 rounded-full" />
|
components/editor/sidebar.tsx
CHANGED
@@ -84,13 +84,22 @@ export const EditorSidebar = ({
|
|
84 |
)}
|
85 |
</li>
|
86 |
))}
|
87 |
-
<
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
</ul>
|
95 |
);
|
96 |
};
|
|
|
84 |
)}
|
85 |
</li>
|
86 |
))}
|
87 |
+
<div className="absolute bottom-0 xl:bottom-[56px] left-0 w-full">
|
88 |
+
<a
|
89 |
+
href="https://huggingface.co/spaces/enzostvs/hub-api-playground/discussions/1"
|
90 |
+
target="_blank"
|
91 |
+
className="text-slate-300 font-semibold text-sm p-5 flex w-full bg-slate-950/20 hover:bg-slate-950/40 border-b border-slate-800"
|
92 |
+
>
|
93 |
+
Give Feedback
|
94 |
+
</a>
|
95 |
+
<a
|
96 |
+
href="https://huggingface.co/docs/hub/api"
|
97 |
+
target="_blank"
|
98 |
+
className="text-slate-300 font-semibold text-sm p-5 flex w-full bg-slate-950/20 hover:bg-slate-950/40"
|
99 |
+
>
|
100 |
+
See HUB API documentation
|
101 |
+
</a>
|
102 |
+
</div>
|
103 |
</ul>
|
104 |
);
|
105 |
};
|