aboutsummaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-10-12 22:49:13 +0200
committerAriel Costas Guerrero <ariel@costas.dev>2025-10-12 22:49:13 +0200
commitcbdb2ee1547fcfbef8c874da60b17eee80b5fa18 (patch)
treef1adc98515c2ac7681dcd0902b9ebcc2997d6b73 /src/pages
parentdcc806eff41da24ee6b5984d011f62bc9f4f00ee (diff)
Get rid of trajectory and portfolio
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/contact.astro32
-rw-r--r--src/pages/portfolio/[id].astro17
-rw-r--r--src/pages/portfolio/index.astro5
-rw-r--r--src/pages/trajectory.astro5
4 files changed, 6 insertions, 53 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 {
diff --git a/src/pages/portfolio/[id].astro b/src/pages/portfolio/[id].astro
deleted file mode 100644
index 7424b91..0000000
--- a/src/pages/portfolio/[id].astro
+++ /dev/null
@@ -1,17 +0,0 @@
----
-import type { GetStaticPaths } from "astro";
-import { getCollection } from "astro:content";
-import PortfolioSingleLayout from "@/layouts/PortfolioSingleLayout.astro";
-
-export const getStaticPaths: GetStaticPaths = async () => {
- const entries = await getCollection("portfolio");
- return entries.map((entry: any) => ({
- params: { id: entry.id },
- props: { entry },
- }));
-};
-
-const { entry } = Astro.props;
----
-
-<PortfolioSingleLayout entry={entry} />
diff --git a/src/pages/portfolio/index.astro b/src/pages/portfolio/index.astro
deleted file mode 100644
index c12ab23..0000000
--- a/src/pages/portfolio/index.astro
+++ /dev/null
@@ -1,5 +0,0 @@
----
-import PortfolioListLayout from "@/layouts/PortfolioListLayout.astro";
----
-
-<PortfolioListLayout />
diff --git a/src/pages/trajectory.astro b/src/pages/trajectory.astro
deleted file mode 100644
index b1366e6..0000000
--- a/src/pages/trajectory.astro
+++ /dev/null
@@ -1,5 +0,0 @@
----
-import TrajectoryPageLayout from "../layouts/TrajectoryPageLayout.astro";
----
-
-<TrajectoryPageLayout />