Upload index.html
Browse files- index.html +76 -0
index.html
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="fa" dir="rtl">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>مبدل فایل آلفا</title>
|
| 7 |
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css">
|
| 8 |
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 9 |
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 10 |
+
<link href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700&display=swap" rel="stylesheet">
|
| 11 |
+
<style>
|
| 12 |
+
body {
|
| 13 |
+
font-family: 'Vazirmatn', sans-serif;
|
| 14 |
+
padding: 2rem;
|
| 15 |
+
max-width: 800px;
|
| 16 |
+
margin: auto;
|
| 17 |
+
}
|
| 18 |
+
textarea {
|
| 19 |
+
min-height: 200px;
|
| 20 |
+
resize: vertical;
|
| 21 |
+
}
|
| 22 |
+
.grid {
|
| 23 |
+
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
| 24 |
+
gap: 1rem;
|
| 25 |
+
}
|
| 26 |
+
button[type="submit"] {
|
| 27 |
+
background-color: #1095c1;
|
| 28 |
+
border-color: #1095c1;
|
| 29 |
+
}
|
| 30 |
+
button[type="submit"]:hover {
|
| 31 |
+
background-color: #0d7b9e;
|
| 32 |
+
border-color: #0d7b9e;
|
| 33 |
+
}
|
| 34 |
+
</style>
|
| 35 |
+
</head>
|
| 36 |
+
<body>
|
| 37 |
+
<main class="container">
|
| 38 |
+
<header>
|
| 39 |
+
<h1 style="text-align: center;">مبدل فایل آلفا 📝</h1>
|
| 40 |
+
<p style="text-align: center;">متن ساده خود را وارد کرده و فرمت خروجی مورد نظر را انتخاب کنید.</p>
|
| 41 |
+
</header>
|
| 42 |
+
|
| 43 |
+
<form action="/" method="post">
|
| 44 |
+
<label for="content">متن شما:</label>
|
| 45 |
+
<textarea id="content" name="content" placeholder="متن خود را اینجا وارد کنید..." required></textarea>
|
| 46 |
+
|
| 47 |
+
<label>انتخاب فرمت خروجی:</label>
|
| 48 |
+
<div class="grid">
|
| 49 |
+
<label>
|
| 50 |
+
<input type="radio" name="format" value="txt" checked>
|
| 51 |
+
متن ساده (TXT)
|
| 52 |
+
</label>
|
| 53 |
+
<label>
|
| 54 |
+
<input type="radio" name="format" value="pdf">
|
| 55 |
+
پیدیاف (PDF)
|
| 56 |
+
</label>
|
| 57 |
+
<label>
|
| 58 |
+
<input type="radio" name="format" value="docx">
|
| 59 |
+
ورد (DOCX)
|
| 60 |
+
</label>
|
| 61 |
+
<!-- ***** تغییر در اینجا اعمال شده است ***** -->
|
| 62 |
+
<label>
|
| 63 |
+
<input type="radio" name="format" value="html">
|
| 64 |
+
اچتیامال (HTML)
|
| 65 |
+
</label>
|
| 66 |
+
</div>
|
| 67 |
+
|
| 68 |
+
<button type="submit">ایجاد و دانلود فایل</button>
|
| 69 |
+
</form>
|
| 70 |
+
|
| 71 |
+
<footer>
|
| 72 |
+
<small>سرویس ارائه شده توسط <a href="https://www.alpha-ai.ir" target="_blank">هوش مصنوعی آلفا</a></small>
|
| 73 |
+
</footer>
|
| 74 |
+
</main>
|
| 75 |
+
</body>
|
| 76 |
+
</html>
|