vikingrancoroso commited on
Commit
aa5109e
·
verified ·
1 Parent(s): 3cc40ef

Add 2 files

Browse files
Files changed (2) hide show
  1. index.html +19 -5
  2. prompts.txt +1 -3
index.html CHANGED
@@ -134,6 +134,20 @@
134
  border-radius: 50%;
135
  border: 3px solid #7c3aed;
136
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  </style>
138
  </head>
139
  <body class="flex items-center justify-center p-4">
@@ -204,7 +218,7 @@
204
  <div id="currency-calc" class="p-4 hidden">
205
  <div class="mb-4">
206
  <label class="block text-gray-400 text-sm mb-2">Valor</label>
207
- <input type="number" id="currency-amount" class="w-full bg-gray-7 rounded-lg p-3 text-white focus:outline-none focus:ring-2 focus:ring-purple-500" placeholder="Digite o valor" value="1">
208
  </div>
209
 
210
  <div class="grid grid-cols-2 gap-4 mb-4">
@@ -688,7 +702,7 @@
688
  if (fromCurrency === toCurrency) {
689
  convertedAmount.textContent = amount.toFixed(2);
690
  conversionRate.textContent = `1 ${fromCurrency} = 1 ${toCurrency}`;
691
- } else {
692
  // Convert via USD as base if needed (since free API often has USD as base)
693
  let rate;
694
 
@@ -795,7 +809,7 @@
795
  // Calculate férias
796
  function calculateFerias(salary) {
797
  const serviceTime = parseInt(document.getElementById('service-time').value);
798
- const abono = parseInt(document.getElementById('abono').value);
799
 
800
  // Validate service time (1-12 months)
801
  const months = Math.min(Math.max(serviceTime, 1), 12);
@@ -821,7 +835,7 @@
821
  } else if (grossValue <= 4000.03) {
822
  inss = (1412.00 * 0.075) + ((2666.68 - 1412.00) * 0.09) + ((grossValue - 2666.68) * 0.12);
823
  } else if (grossValue <= 7786.02) {
824
- inss = (1412.00 * 0.075) + ((2666.68 - 1412.00) * 0.09) + ((4000.03 - 2666.68) * 0.12) + ((grossValue - 4000.03) * 0.14);
825
  } else {
826
  inss = 7786.02 * 0.14;
827
  }
@@ -1065,5 +1079,5 @@
1065
  }
1066
  });
1067
  </script>
1068
- <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=vikingrancoroso/meus-estudos" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
1069
  </html>
 
134
  border-radius: 50%;
135
  border: 3px solid #7c3aed;
136
  }
137
+
138
+ /* Novo estilo para o campo de valor na aba de Câmbio */
139
+ .currency-input {
140
+ background-color: #0f172a !important;
141
+ border: 1px solid #334155;
142
+ color: #ffffff !important;
143
+ font-weight: bold;
144
+ font-size: 16px;
145
+ }
146
+
147
+ .currency-input:focus {
148
+ border-color: #7c3aed;
149
+ box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.5);
150
+ }
151
  </style>
152
  </head>
153
  <body class="flex items-center justify-center p-4">
 
218
  <div id="currency-calc" class="p-4 hidden">
219
  <div class="mb-4">
220
  <label class="block text-gray-400 text-sm mb-2">Valor</label>
221
+ <input type="number" id="currency-amount" class="w-full currency-input rounded-lg p-3 focus:outline-none" placeholder="Digite o valor" value="1">
222
  </div>
223
 
224
  <div class="grid grid-cols-2 gap-4 mb-4">
 
702
  if (fromCurrency === toCurrency) {
703
  convertedAmount.textContent = amount.toFixed(2);
704
  conversionRate.textContent = `1 ${fromCurrency} = 1 ${toCurrency}`;
705
+ else {
706
  // Convert via USD as base if needed (since free API often has USD as base)
707
  let rate;
708
 
 
809
  // Calculate férias
810
  function calculateFerias(salary) {
811
  const serviceTime = parseInt(document.getElementById('service-time').value);
812
+ const abono = parseInt document.getElementById('abono').value;
813
 
814
  // Validate service time (1-12 months)
815
  const months = Math.min(Math.max(serviceTime, 1), 12);
 
835
  } else if (grossValue <= 4000.03) {
836
  inss = (1412.00 * 0.075) + ((2666.68 - 1412.00) * 0.09) + ((grossValue - 2666.68) * 0.12);
837
  } else if (grossValue <= 7786.02) {
838
+ inss = (1412.00 * 0.075) + ((2666.68 - 1412.00) * 0.09) + ((4000.03 - 2666.68) * 0.12) + ((g grossValue - 4000.03) * 0.14);
839
  } else {
840
  inss = 7786.02 * 0.14;
841
  }
 
1079
  }
1080
  });
1081
  </script>
1082
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=vikingrancoroso/meus-estudos" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p><p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=vikingrancoroso/HiTechCalc" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
1083
  </html>
prompts.txt CHANGED
@@ -1,3 +1 @@
1
- adicione também cálculos trabalhistas, como simulaçÃO de férias, demissão, aposentadoria de acordo com as regras brasileiras atualizadas
2
- Adicione essa imagem https://drive.google.com/file/d/10aKazr1szDD8wQux_paD_asbPifq8dmL/view?usp=sharing no topo do site, ligo acima do texto TECHCALC PRO
3
- Altere a imagem enviada anteriormente para essa https://raw.githubusercontent.com/DiegoShadow/meu-lab-devops/refs/heads/main/DevDog.png
 
1
+ Faça com que o campo digitavel abaixo de VALOR na aba CÂMBIO, seja mais escura permitindo mais destaque nos números digitados.