voice-conversion-app / index.html
KTO461998's picture
Update index.html
62d1739 verified
Raw
History Blame Contribute Delete
2.83 kB
<!DOCTYPE html>
<html lang="my">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Voice Converter UI Demo</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #0f172a;
color: #f8fafc;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
padding: 20px;
box-sizing: border-box;
}
.container {
background-color: #1e293b;
padding: 25px;
border-radius: 12px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
max-width: 400px;
width: 100%;
text-align: center;
}
h2 {
margin-top: 0;
color: #38bdf8;
}
.input-group {
margin: 20px 0;
}
input[type="file"] {
display: none;
}
.custom-file-upload {
border: 2px dashed #38bdf8;
display: inline-block;
padding: 12px 20px;
cursor: pointer;
border-radius: 8px;
color: #38bdf8;
width: 80%;
transition: 0.3s;
}
.custom-file-upload:hover {
background-color: #334155;
}
button {
background-color: #0284c7;
color: white;
border: none;
padding: 12px 24px;
font-size: 16px;
border-radius: 8px;
cursor: pointer;
width: 100%;
margin-top: 10px;
transition: 0.3s;
}
button:hover {
background-color: #0369a1;
}
#status {
margin-top: 15px;
font-size: 14px;
color: #94a3b8;
}
audio {
width: 100%;
margin-top: 20px;
display: none;
}
</style>
</head>
<body>
<div class="container">
<h2>πŸŽ™οΈ Voice Converter</h2>
<p>α€‘α€žα€Άα€–α€­α€―α€„α€Ί α€›α€½α€±α€Έα€α€»α€šα€Ία€•α€« α€žα€­α€―α€·α€™α€Ÿα€―α€α€Ί Upload တင်ပါ</p>
<div class="input-group">
<label for="audioFile" class="custom-file-upload">
πŸ“ Audio ဖိုင်ရွေးရန်
</label>
<input type="file" id="audioFile" accept="audio/*">
<p id="fileName" style="font-size: 12px; color: #cbd5e1; margin-top: 8px;"></p>
</div>
<button id="convertBtn">α€‘α€žα€Ά α€•α€Όα€±α€¬α€„α€Ία€Έα€™α€Šα€Ί</button>
<div id="status"></div>
<audio id="audioPlayer" controls></audio>
</div>
<script src="script.js"></script>
</body>
</html>