-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
98 lines (87 loc) · 3.95 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<html>
<head>
<meta property="og:url" content="https://ademking.github.io/Convert2Arabic/" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Convert2Arabic" />
<meta property="og:description" content="Convert From 'Franco-Arabic' To Arabic - By AdemKouki " />
<meta property="og:image" content="https://i.imgur.com/3qCuAjA.png" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<title> Convert2Arabic | By AdemKouki</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Cairo" rel="stylesheet">
<link href="style.css" rel="stylesheet" type="text/css">
<link href="https://kouki.website/vendor/koukicons/koukicons.min.css" rel="stylesheet">
<script src="jquery.min.js"></script>
<style>
.bg {
background-color: darkred;
}
#p1 {
font-family: 'Cairo', sans-serif;
}
textarea {
font-family: 'Cairo', sans-serif;
border-radius: 0px !important;
font-size: 20px !important;
border: Solid #2929294f 1px !important ;
resize: none;
}
</style>
</head>
<body>
<div class="section">
<div class="container">
<div class="row">
<div class="col-md-12">
<h1 class="text-center">Convert2Arabic <i class="kk kk-pencil2"></i></h1>
<h3 class="text-center">"Franco-Arabic" To Arabic Converter (Using RegEx)</h3>
<p class="text-center">You Can convert any text from Latin to Arabic characters so that you can read it with ease </p>
<p id="p1" class="text-center" style="direction: rtl">تنجم تبدل أي نص مكتوب بطريقة الـ SMS و Facebook الى العربية</p>
<br>
</div>
</div>
<div class="row">
<div class="col-md-6 col-sm-6">
<textarea name="textarea" class="form-control" id="text" cols="5" rows="10"></textarea>
<br>
</div>
<div class="col-md-6 col-sm-6">
<textarea style="direction: rtl; cursor:text;" name="textarea2" class="form-control" id="text2" cols="5" rows="10" disabled></textarea>
<br>
</div>
</div>
<div class="row form-group">
<div class="col-md-6" style="display:flex !important;">
<br>
<button class="btn center-block" id="clear"><i class="kk kk-empty_trash"></i> Clear </button>
<p>OR</p>
<button class="btn center-block" id="submit"><i class="kk kk-next"></i> Convert </button>
<br>
</div>
<div class="col-md-6">
<br>
<p class="text-center">Made With <i class="kk kk-heart"></i> & <i class="kk kk-cookie"></i> By Adem Kouki <a href="https://www.facebook.com/AdemKouki.Officiel"><i class="kk kk-facebook"></i></a> </p>
</div>
</div>
</div>
</div>
<script src="converter.js"></script>
<script>
$("#submit").click(function () {
var text = $("#text").val();
var result = convert2Arabic(text);
$("#text2").val(result);
console.log("clicked");
});
$("#clear").click(function () {
$("#text").val('');
$("#text2").val('');
})
</script>
</body>
</html>