Spaces:
Building
Building
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>{{ title }} - Result</title> | |
<link href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet"> | |
<style> | |
.gradient-background { | |
background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%); | |
} | |
.result-box { | |
backdrop-filter: blur(10px); | |
background-color: rgba(255, 255, 255, 0.9); | |
} | |
</style> | |
</head> | |
<body class="gradient-background min-h-screen pb-16"> | |
<nav class="bg-white/80 backdrop-blur-md shadow-lg"> | |
<div class="container mx-auto px-6 py-4"> | |
<div class="flex items-center justify-between"> | |
<a href="/" class="text-3xl font-bold text-gray-800">{{ title }}</a> | |
<div class="text-sm text-gray-600">Translation Results</div> | |
</div> | |
</div> | |
</nav> | |
<main class="container mx-auto px-6 py-8"> | |
<div class="result-box rounded-xl shadow-2xl p-8 mb-8"> | |
<h2 class="text-2xl font-bold mb-6 text-gray-800">Translation Results / 번역 결과</h2> | |
<div class="space-y-6"> | |
<div class="p-4 bg-white/50 rounded-lg"> | |
<h3 class="font-medium text-gray-700 mb-2">Original Text / 원문</h3> | |
<p class="text-lg">{{ original_sentence }}</p> | |
</div> | |
<div class="p-4 bg-white/50 rounded-lg"> | |
<h3 class="font-medium text-gray-700 mb-2">English Translation / 영어 번역</h3> | |
<p class="text-lg">{{ english_translation }}</p> | |
</div> | |
<div class="p-4 bg-white/50 rounded-lg"> | |
<h3 class="font-medium text-gray-700 mb-2">Sign Language Gloss / 수화 표기</h3> | |
<p class="text-lg">{{ gloss_sentence_after_synonym }}</p> | |
</div> | |
<div class="p-4 bg-white/50 rounded-lg"> | |
<h3 class="font-medium text-gray-700 mb-2">Sign Language Video / 수화 영상</h3> | |
<div class="aspect-w-16 aspect-h-9 bg-gray-100 rounded-lg overflow-hidden"> | |
<img src="{{ url_for('video_feed', gloss_sentence_to_display=gloss_sentence_after_synonym) }}" | |
alt="Sign language video stream" | |
class="w-full h-full object-contain"> | |
</div> | |
</div> | |
</div> | |
<div class="mt-8 flex justify-center"> | |
<a href="/" | |
class="bg-blue-600 text-white py-3 px-6 rounded-lg hover:bg-blue-700 transform hover:scale-105 transition duration-200 font-medium"> | |
New Translation / 새로운 번역 | |
</a> | |
</div> | |
</div> | |
</main> | |
<footer class="fixed bottom-0 w-full bg-white/80 backdrop-blur-md py-4"> | |
<div class="container mx-auto px-6 text-center text-gray-600"> | |
© 2025 {{ title }}. All rights reserved. | |
</div> | |
</footer> | |
</body> | |
</html> |