feat: set c2logo.png as favicon and remove hosting guide buttons

This commit is contained in:
2026-10-15 12:57:32 -03:00
parent 8b3d72aefd
commit bdb781ed01
5 changed files with 6 additions and 34 deletions
+4 -3
View File
@@ -2,10 +2,11 @@
<html lang="pt-BR"> <html lang="pt-BR">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ea5e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/><path d='m9 12 2 2 4-4'/></svg>" /> <link rel="icon" type="image/png" href="/c2logo.png" />
<link rel="apple-touch-icon" href="/c2logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CertConverter PFX - Conversor de Certificados Digitais (.pfx para .crt, .pem, .key)</title> <title>InflavioApps - Central de Acessos & Ferramentas C2</title>
<meta name="description" content="Converta certificados digitais do formato PKCS#12 (.pfx/.p12) para .crt, .pem e .key de forma 100% segura e offline no navegador." /> <meta name="description" content="InflavioApps - Central de Acessos, Gerenciador WPPConnect e Conversor de Certificados Digitais PFX." />
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

-17
View File
@@ -17,7 +17,6 @@ import PasswordInput from './components/PasswordInput';
import CertificateInfo from './components/CertificateInfo'; import CertificateInfo from './components/CertificateInfo';
import OutputFiles from './components/OutputFiles'; import OutputFiles from './components/OutputFiles';
import OpenSslReference from './components/OpenSslReference'; import OpenSslReference from './components/OpenSslReference';
import HostGuideModal from './components/HostGuideModal';
import AppWPP from './components/wpp/AppWPP'; import AppWPP from './components/wpp/AppWPP';
import CustomerPortal from './components/portal/CustomerPortal'; import CustomerPortal from './components/portal/CustomerPortal';
import { convertPfx } from './utils/certConverter'; import { convertPfx } from './utils/certConverter';
@@ -31,7 +30,6 @@ export default function App() {
const [isConverting, setIsConverting] = useState(false); const [isConverting, setIsConverting] = useState(false);
const [conversionResult, setConversionResult] = useState(null); const [conversionResult, setConversionResult] = useState(null);
const [errorMessage, setErrorMessage] = useState(''); const [errorMessage, setErrorMessage] = useState('');
const [isHostingGuideOpen, setIsHostingGuideOpen] = useState(false);
// Manipula seleção de arquivo .pfx // Manipula seleção de arquivo .pfx
const handleFileSelected = (selectedFile) => { const handleFileSelected = (selectedFile) => {
@@ -101,7 +99,6 @@ export default function App() {
<Header <Header
activeTab={activeTab} activeTab={activeTab}
onSelectTab={setActiveTab} onSelectTab={setActiveTab}
onOpenHostingGuide={() => setIsHostingGuideOpen(true)}
/> />
{/* Conteúdo Principal Dinâmico */} {/* Conteúdo Principal Dinâmico */}
@@ -228,26 +225,12 @@ export default function App() {
{activeTab === 'wpp' && 'InflavioApps — Gerenciador de Sessões WPPConnect integrado ao portal.'} {activeTab === 'wpp' && 'InflavioApps — Gerenciador de Sessões WPPConnect integrado ao portal.'}
</p> </p>
<div className="footer-links"> <div className="footer-links">
<button
type="button"
className="link-plain"
onClick={() => setIsHostingGuideOpen(true)}
>
Como Hospedar esta Aplicação
</button>
<span>•</span>
<span className="footer-shield"> <span className="footer-shield">
<ShieldCheck size={14} /> 100% no cliente (Executa em qualquer navegador) <ShieldCheck size={14} /> 100% no cliente (Executa em qualquer navegador)
</span> </span>
</div> </div>
</div> </div>
</footer> </footer>
{/* Modal com Guia Passo a Passo de Hospedagem */}
<HostGuideModal
isOpen={isHostingGuideOpen}
onClose={() => setIsHostingGuideOpen(false)}
/>
</div> </div>
); );
} }
Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

+2 -14
View File
@@ -1,7 +1,7 @@
import React from 'react'; import React from 'react';
import { ShieldCheck, MessageSquare, Bookmark, Server } from 'lucide-react'; import { ShieldCheck, MessageSquare, Bookmark } from 'lucide-react';
export default function Header({ activeTab, onSelectTab, onOpenHostingGuide }) { export default function Header({ activeTab, onSelectTab }) {
const getBrandDetails = () => { const getBrandDetails = () => {
switch (activeTab) { switch (activeTab) {
case 'cert': case 'cert':
@@ -80,18 +80,6 @@ export default function Header({ activeTab, onSelectTab, onOpenHostingGuide }) {
<span className="nav-badge-pill pill-portal">23</span> <span className="nav-badge-pill pill-portal">23</span>
</button> </button>
</div> </div>
<div className="header-actions">
<button
type="button"
className="guide-button"
onClick={onOpenHostingGuide}
title="Ver instruções de hospedagem da aplicação"
>
<Server size={17} />
<span>Hospedagem</span>
</button>
</div>
</div> </div>
</header> </header>
); );