Update title and header logo in the application
Browse files- public/hf-logo.svg +8 -0
- public/index.html +1 -1
- src/Header.tsx +6 -12
public/hf-logo.svg
ADDED
|
public/index.html
CHANGED
@@ -24,7 +24,7 @@
|
|
24 |
work correctly both with client-side routing and a non-root public URL.
|
25 |
Learn how to configure a non-root public URL by running `npm run build`.
|
26 |
-->
|
27 |
-
<title>
|
28 |
</head>
|
29 |
<body>
|
30 |
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
|
24 |
work correctly both with client-side routing and a non-root public URL.
|
25 |
Learn how to configure a non-root public URL by running `npm run build`.
|
26 |
-->
|
27 |
+
<title>Transformers.js Playground</title>
|
28 |
</head>
|
29 |
<body>
|
30 |
<noscript>You need to enable JavaScript to run this app.</noscript>
|
src/Header.tsx
CHANGED
@@ -4,18 +4,12 @@ function Header() {
|
|
4 |
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
5 |
<div className="flex items-center justify-center h-16">
|
6 |
<div className="flex items-center space-x-3">
|
7 |
-
<div className="w-
|
8 |
-
<
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
<path
|
14 |
-
fillRule="evenodd"
|
15 |
-
d="M12.316 3.051a1 1 0 01.633 1.265l-4 12a1 1 0 11-1.898-.632l4-12a1 1 0 011.265-.633zM5.707 6.293a1 1 0 010 1.414L3.414 10l2.293 2.293a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414l3-3a1 1 0 011.414 0zm8.586 0a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 11-1.414-1.414L16.586 10l-2.293-2.293a1 1 0 010-1.414z"
|
16 |
-
clipRule="evenodd"
|
17 |
-
/>
|
18 |
-
</svg>
|
19 |
</div>
|
20 |
<div>
|
21 |
<h1 className="text-xl font-bold text-gray-900">
|
|
|
4 |
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
5 |
<div className="flex items-center justify-center h-16">
|
6 |
<div className="flex items-center space-x-3">
|
7 |
+
<div className="w-12 h-12 flex items-center justify-center">
|
8 |
+
<img
|
9 |
+
src="/hf-logo.svg"
|
10 |
+
alt="Hugging Face"
|
11 |
+
className="w-12 h-12"
|
12 |
+
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
</div>
|
14 |
<div>
|
15 |
<h1 className="text-xl font-bold text-gray-900">
|