openfree commited on
Commit
a155343
·
verified ·
1 Parent(s): 3e5f425

Update src/templates/index.html

Browse files
Files changed (1) hide show
  1. src/templates/index.html +19 -10
src/templates/index.html CHANGED
@@ -13,52 +13,61 @@
13
  backdrop-filter: blur(10px);
14
  background-color: rgba(255, 255, 255, 0.9);
15
  }
 
 
 
 
16
  </style>
17
  </head>
18
  <body class="gradient-background min-h-screen">
19
  <nav class="bg-white/80 backdrop-blur-md shadow-lg">
20
  <div class="container mx-auto px-6 py-4">
21
  <div class="flex items-center justify-between">
22
- <div class="text-3xl font-bold text-gray-800">{{ title }}</div>
23
- <div class="text-sm text-gray-600">Korean English Sign Language</div>
24
  </div>
25
  </div>
26
  </nav>
27
 
28
  <main class="container mx-auto px-6 py-8">
29
  <div class="translation-box rounded-xl shadow-2xl p-8 max-w-2xl mx-auto">
30
- <h2 class="text-2xl font-bold mb-6 text-gray-800">Start Translation</h2>
 
 
 
31
 
32
  <form action="/translate/" method="post" class="space-y-6">
33
  <div>
34
  <label class="block text-gray-700 font-medium mb-2">
35
- Enter Korean Text / 한글 입력
 
36
  </label>
37
  <textarea
38
  name="inputSentence"
39
  class="w-full p-4 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-400 focus:border-transparent"
40
  rows="4"
41
- placeholder="Type your message here... / 여기에 메시지를 입력하세요..."
42
  required
43
  ></textarea>
44
  </div>
45
 
46
  <button type="submit"
47
  class="w-full bg-blue-600 text-white py-3 px-6 rounded-lg hover:bg-blue-700 transform hover:scale-105 transition duration-200 font-medium">
48
- Translate / 번역하기
 
49
  </button>
50
  </form>
51
 
52
- <div class="mt-8 text-center text-gray-600">
53
- <p>Our service translates Korean text to English and converts it to sign language.</p>
54
- <p class="mt-2">한글을 영어로 번역한 수화로 변환해주는 서비스입니다.</p>
55
  </div>
56
  </div>
57
  </main>
58
 
59
  <footer class="fixed bottom-0 w-full bg-white/80 backdrop-blur-md py-4">
60
  <div class="container mx-auto px-6 text-center text-gray-600">
61
- &copy; 2025 {{ title }}. All rights reserved.
62
  </div>
63
  </footer>
64
  </body>
 
13
  backdrop-filter: blur(10px);
14
  background-color: rgba(255, 255, 255, 0.9);
15
  }
16
+ .ko-text {
17
+ font-size: 0.7em;
18
+ color: #666;
19
+ }
20
  </style>
21
  </head>
22
  <body class="gradient-background min-h-screen">
23
  <nav class="bg-white/80 backdrop-blur-md shadow-lg">
24
  <div class="container mx-auto px-6 py-4">
25
  <div class="flex items-center justify-between">
26
+ <div class="text-3xl font-bold text-gray-800">American Sign Language Translator</div>
27
+ <div class="text-sm text-gray-600">Text to Sign Language Video Generator</div>
28
  </div>
29
  </div>
30
  </nav>
31
 
32
  <main class="container mx-auto px-6 py-8">
33
  <div class="translation-box rounded-xl shadow-2xl p-8 max-w-2xl mx-auto">
34
+ <h2 class="text-2xl font-bold mb-6 text-gray-800">
35
+ Convert Text to Sign Language
36
+ <span class="ko-text block">텍스트를 수화로 변환</span>
37
+ </h2>
38
 
39
  <form action="/translate/" method="post" class="space-y-6">
40
  <div>
41
  <label class="block text-gray-700 font-medium mb-2">
42
+ Enter Text
43
+ <span class="ko-text ml-2">텍스트 입력</span>
44
  </label>
45
  <textarea
46
  name="inputSentence"
47
  class="w-full p-4 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-400 focus:border-transparent"
48
  rows="4"
49
+ placeholder="Type your message in English or Korean"
50
  required
51
  ></textarea>
52
  </div>
53
 
54
  <button type="submit"
55
  class="w-full bg-blue-600 text-white py-3 px-6 rounded-lg hover:bg-blue-700 transform hover:scale-105 transition duration-200 font-medium">
56
+ Generate Sign Language Video
57
+ <span class="ko-text block">수화 영상 생성</span>
58
  </button>
59
  </form>
60
 
61
+ <div class="mt-8 text-gray-600">
62
+ <p>Our service converts text into American Sign Language (ASL) videos for effective communication with the deaf and hard of hearing community.</p>
63
+ <p class="ko-text mt-2">영어나 한글을 미국 수화(ASL) 영상으로 변환하여 청각장애인과의 의사소통을 돕습니다.</p>
64
  </div>
65
  </div>
66
  </main>
67
 
68
  <footer class="fixed bottom-0 w-full bg-white/80 backdrop-blur-md py-4">
69
  <div class="container mx-auto px-6 text-center text-gray-600">
70
+ &copy; 2025 American Sign Language Translator
71
  </div>
72
  </footer>
73
  </body>