diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-10-12 22:49:13 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-10-12 22:49:13 +0200 |
| commit | cbdb2ee1547fcfbef8c874da60b17eee80b5fa18 (patch) | |
| tree | f1adc98515c2ac7681dcd0902b9ebcc2997d6b73 /src/pages/contact.astro | |
| parent | dcc806eff41da24ee6b5984d011f62bc9f4f00ee (diff) | |
Get rid of trajectory and portfolio
Diffstat (limited to 'src/pages/contact.astro')
| -rw-r--r-- | src/pages/contact.astro | 32 |
1 files changed, 6 insertions, 26 deletions
diff --git a/src/pages/contact.astro b/src/pages/contact.astro index 9cb58a6..bd5984e 100644 --- a/src/pages/contact.astro +++ b/src/pages/contact.astro @@ -25,51 +25,31 @@ const schema = { <p> La forma más sencilla de contactar conmigo es a través de mi dirección de correo electrónico: - <a href="#" id="email-addr">ACTIVA JAVASCRIPT PARA VER ESTO</a>. También - puedes usar <a href="https://wa.me/message/W7T7L4EZAELQI1">WhatsApp</a> con el - número de teléfono - <a href="#" id="phone-number">ACTIVA JAVASCRIPT PARA VER ESTO</a>. + <a href="#" id="email-addr">ACTIVA JAVASCRIPT PARA VER ESTO</a>. </p> - <p>También puedes encontrarme en algunas redes sociales:</p> - - <dl> - <dt>GitHub</dt> - <dd><a href="https://github.com/arielcostas">@arielcostas</a></dd> - <dt>LinkedIn</dt> - <dd> - <a href="https://www.linkedin.com/in/ariel-costas/">/in/ariel-costas</a> - </dd> - <dt>BlueSky</dt> - <dd><a href="https://bsky.app/profile/costas.dev">@costas.dev</a></dd> - </dl> + <p> + También puedes encontrarme en GitHub: + <a href="https://github.com/arielcostas">@arielcostas</a> + </p> </Layout> <script> const encryptedEmail = "LygNLiMmFRo/GlQZaFIWBA=="; - const encryptedPhoneNumber = "ZWlQfX1QT0Z+XgVd"; const key = "NZdKOfvuLn5jF6sryF0Q"; const emailAddrLink = document.getElementById( "email-addr", ) as HTMLAnchorElement; - const phoneNumberLink = document.getElementById( - "phone-number", - ) as HTMLAnchorElement; - (() => { - if (emailAddrLink == null || phoneNumberLink == null) { + if (emailAddrLink == null) { return; } const emailAddress = xorData(encryptedEmail, key); - const phoneNumber = xorData(encryptedPhoneNumber, key); emailAddrLink.href = `mailto:${emailAddress}`; emailAddrLink.textContent = emailAddress; - - phoneNumberLink.href = `tel:${phoneNumber}`; - phoneNumberLink.textContent = phoneNumber; })(); function xorData(data: string, key: string): string { |
