Upload folder using huggingface_hub
Browse files
client/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
-
"name": "
|
| 3 |
"version": "1.0.1",
|
| 4 |
-
"description": "Frontend for
|
| 5 |
"private": true,
|
| 6 |
"dependencies": {
|
| 7 |
"@types/node": "^16.18.0",
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "transhub-client",
|
| 3 |
"version": "1.0.1",
|
| 4 |
+
"description": "Frontend for TransHub",
|
| 5 |
"private": true,
|
| 6 |
"dependencies": {
|
| 7 |
"@types/node": "^16.18.0",
|
client/public/manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
-
"short_name": "
|
| 3 |
-
"name": "
|
| 4 |
"icons": [
|
| 5 |
{ "src": "/favicon-192.png", "sizes": "192x192", "type": "image/png" },
|
| 6 |
{ "src": "/favicon-512.png", "sizes": "512x512", "type": "image/png" }
|
|
|
|
| 1 |
{
|
| 2 |
+
"short_name": "TransHub",
|
| 3 |
+
"name": "TransHub - Translation Practice Tool",
|
| 4 |
"icons": [
|
| 5 |
{ "src": "/favicon-192.png", "sizes": "192x192", "type": "image/png" },
|
| 6 |
{ "src": "/favicon-512.png", "sizes": "512x512", "type": "image/png" }
|
client/src/pages/CreateSubmission.tsx
CHANGED
|
@@ -7,7 +7,7 @@ const CreateSubmission: React.FC = () => {
|
|
| 7 |
return (
|
| 8 |
<div className="px-4 sm:px-6 lg:px-8">
|
| 9 |
<div className="mb-8">
|
| 10 |
-
<h1 className="text-2xl font-bold text-gray-900">Create
|
| 11 |
<p className="mt-2 text-gray-600">Submit your creative translation for this text</p>
|
| 12 |
</div>
|
| 13 |
|
|
|
|
| 7 |
return (
|
| 8 |
<div className="px-4 sm:px-6 lg:px-8">
|
| 9 |
<div className="mb-8">
|
| 10 |
+
<h1 className="text-2xl font-bold text-gray-900">Create Translation</h1>
|
| 11 |
<p className="mt-2 text-gray-600">Submit your creative translation for this text</p>
|
| 12 |
</div>
|
| 13 |
|
client/src/pages/Home.tsx
CHANGED
|
@@ -46,8 +46,7 @@ const Home: React.FC = () => {
|
|
| 46 |
<main className="mt-10 mx-auto max-w-7xl px-4 sm:mt-12 sm:px-6 md:mt-16 lg:mt-20 lg:px-8 xl:mt-28">
|
| 47 |
<div className="sm:text-center lg:text-left">
|
| 48 |
<h1 className="text-4xl tracking-tight font-extrabold text-gray-900 sm:text-5xl md:text-6xl">
|
| 49 |
-
<span className="block text-gradient">
|
| 50 |
-
<span className="block text-indigo-600">Sandbox</span>
|
| 51 |
</h1>
|
| 52 |
<p className="mt-3 text-base text-gray-500 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0">
|
| 53 |
A practice platform for translation students to work with puns and wordplay examples.
|
|
|
|
| 46 |
<main className="mt-10 mx-auto max-w-7xl px-4 sm:mt-12 sm:px-6 md:mt-16 lg:mt-20 lg:px-8 xl:mt-28">
|
| 47 |
<div className="sm:text-center lg:text-left">
|
| 48 |
<h1 className="text-4xl tracking-tight font-extrabold text-gray-900 sm:text-5xl md:text-6xl">
|
| 49 |
+
<span className="block text-gradient">TransHub</span>
|
|
|
|
| 50 |
</h1>
|
| 51 |
<p className="mt-3 text-base text-gray-500 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0">
|
| 52 |
A practice platform for translation students to work with puns and wordplay examples.
|
client/src/pages/Login.tsx
CHANGED
|
@@ -55,7 +55,7 @@ const Login: React.FC = () => {
|
|
| 55 |
<div className="max-w-md w-full space-y-8">
|
| 56 |
<div className="text-center">
|
| 57 |
<h1 className="text-3xl font-bold text-gray-900 mb-2">
|
| 58 |
-
Welcome to
|
| 59 |
</h1>
|
| 60 |
<p className="text-gray-600">
|
| 61 |
Enter your student email address to continue
|
|
|
|
| 55 |
<div className="max-w-md w-full space-y-8">
|
| 56 |
<div className="text-center">
|
| 57 |
<h1 className="text-3xl font-bold text-gray-900 mb-2">
|
| 58 |
+
Welcome to TransHub
|
| 59 |
</h1>
|
| 60 |
<p className="text-gray-600">
|
| 61 |
Enter your student email address to continue
|
client/src/pages/TextDetail.tsx
CHANGED
|
@@ -23,7 +23,7 @@ const TextDetail: React.FC = () => {
|
|
| 23 |
to={`/text/${id}/submit`}
|
| 24 |
className="bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded-md text-sm font-medium transition-colors duration-200"
|
| 25 |
>
|
| 26 |
-
Create
|
| 27 |
</Link>
|
| 28 |
<Link
|
| 29 |
to="/search"
|
|
|
|
| 23 |
to={`/text/${id}/submit`}
|
| 24 |
className="bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded-md text-sm font-medium transition-colors duration-200"
|
| 25 |
>
|
| 26 |
+
Create Translation
|
| 27 |
</Link>
|
| 28 |
<Link
|
| 29 |
to="/search"
|