Spaces:
Sleeping
Sleeping
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>BISINDO Translator</title> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tailwindcss/2.2.19/tailwind.min.css"> | |
<style> | |
html { | |
font-family: 'Inter', sans-serif; | |
} | |
body { | |
background-color: #1F2937; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
height: 100vh; | |
margin: 0; | |
} | |
.card { | |
max-width: 400px; | |
background-color: #4B5563; | |
padding: 30px; | |
border-radius: 10px; | |
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
} | |
.card h1, .card h2 { | |
text-align: center; | |
margin-bottom: 20px; | |
} | |
input, button { | |
border: 1px solid #CBD5E0; | |
background-color: #4C566A; | |
color: #E5E7EB; | |
padding: 10px; | |
border-radius: 5px; | |
transition: all 0.3s ease; | |
} | |
input:focus, button:focus { | |
outline: none; | |
border-color: #2563EB; | |
} | |
button { | |
cursor: pointer; | |
} | |
button:hover { | |
background-color: #6B7280; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="card"> | |
<h1 class="text-4xl font-bold">Mohamed_sign_language</h1> | |
<h2 class="text-4xl font-bold">Sign Language Translation</h2> | |
<form id="urlForm"> | |
<input type="text" id="url" name="url" class="text-sm rounded-lg block w-full mb-4" placeholder="Enter your video URL here..." required> | |
</form> | |
<button id="startStream" type="button" onclick="startVideo()" class="font-medium rounded-lg text-sm px-5 py-3 bg-gray-800 hover:bg-gray-600 focus:ring-gray-600">Stream</button> | |
<button id="startCamera" type="button" onclick="startCamera()" class="font-medium rounded-lg text-sm px-5 py-3 bg-gray-800 hover:bg-gray-600 focus:ring-gray-600">Camera</button> | |
</div> | |
</body> | |
</html> | |