-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
100 lines (95 loc) · 2.77 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
99
100
<!DOCTYPE html>
<html>
<head>
<title>Portuguese Text Converter</title>
<style>
body {
font-family: Arial, sans-serif;
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: #f5f5f5;
}
.container {
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
h1 {
color: #333;
text-align: center;
}
textarea {
width: 100%;
height: 100px;
margin: 10px 0;
padding: 8px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
}
button {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
button:hover {
background-color: #45a049;
}
.result {
margin-top: 20px;
padding: 10px;
border-left: 4px solid #4CAF50;
background-color: #f9f9f9;
}
.examples {
margin-top: 20px;
padding: 10px;
background-color: #f9f9f9;
border-radius: 4px;
}
.github-link {
text-align: center;
margin-top: 20px;
}
.github-link a {
color: #666;
text-decoration: none;
}
.github-link a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div class="container">
<h1>Portuguese Text Converter</h1>
<p>This tool converts Portuguese text into a more phonetic representation showing how words combine in natural speech.</p>
<textarea id="input" placeholder="Enter Portuguese text here..."></textarea>
<br>
<button onclick="convertText()">Convert</button>
<div id="result" class="result" style="display: none;">
<strong>Result:</strong> <span id="output"></span>
</div>
<div class="examples">
<strong>Examples:</strong>
<ul>
<li>'casa escura' → 'cazescura'</li>
<li>'como eu' → 'comoweu'</li>
<li>'muito alto' → 'muyntuwaltu'</li>
<li>'até é' → 'té'</li>
<li>'você é' → 'vocé'</li>
</ul>
</div>
<div class="github-link">
<a href="https://github.com/yourusername/portuguese-converter" target="_blank">View on GitHub</a>
</div>
</div>
<script src="converter.js"></script>
</body>
</html>