Blog
astro · frontend · portfolio

Por qué he reconstruido mi portfolio con Astro

He pasado de una web de una sola página con mucho JavaScript a un modelo más rápido y fácil de mantener. Aquí explico los motivos del cambio.

Hasta hace poco, mi portfolio era una sola página con mucho JavaScript y efectos visuales. Estaba bien, pero a nivel técnico se me estaba quedando corto y era difícil de mantener. He reconstruido todo desde cero con Astro para que la web cargue rápido, se posicione mejor en Google y para poder subir contenido sin complicaciones.

Aquí van los tres motivos principales del cambio.

El problema de las webs de una sola página

El mayor problema de tenerlo todo en una sola URL es que para Google apenas existes. Si alguien busca uno de mis proyectos específicos, es muy difícil que lo encuentre. Ahora cada proyecto tiene su propia página y, por fin, he podido añadir este blog. Si quieres que te encuentren en internet, necesitas una web con páginas de verdad, no solo una URL con secciones.

Menos animaciones y más velocidad

En mi web anterior tenía fondos con partículas en Three.js y animaciones que consumían recursos sin necesidad. He decidido simplificar la parte visual para que la web cargue rápido. Ahora el JavaScript solo está donde hace falta de verdad, como en el menú del móvil. Menos código significa una web más ligera y con menos errores.

Ahora añadir contenido es fácil

Antes, para subir un proyecto nuevo tenía que copiar y pegar bloques de HTML. Era un proceso lento y siempre acababa rompiendo alguna etiqueta por el camino. Ahora uso MDX, que me permite escribir en texto plano y dejar que Astro haga el trabajo. Esto me permite organizar mejor los proyectos y las notas del blog, y tardo mucho menos tiempo en actualizar el sitio.

Este cambio no es solo por usar una tecnología nueva, es porque quería una web sólida que fuera fácil de mantener al día.

Until recently, my portfolio was a single page with a lot of JavaScript and visual effects. It was fine, but technically it was falling short and was difficult to maintain. I have rebuilt everything from scratch with Astro so that the web loads fast, ranks better on Google, and so I can upload content without complications.

Here are the three main reasons for the change.

The problem with single-page sites

The biggest problem with having everything on a single URL is that for Google, you barely exist. If someone searches for one of my specific projects, it is very difficult for them to find it. Now each project has its own page and, finally, I have been able to add this blog. If you want to be found on the internet, you need a web with real pages, not just a URL with sections.

Fewer animations and more speed

In my previous web, I had backgrounds with Three.js particles and animations that consumed resources unnecessarily. I have decided to simplify the visual part so that the web loads fast. Now JavaScript is only where it is truly needed, like in the mobile menu. Less code means a lighter web with fewer errors.

Now adding content is easy

Before, to upload a new project I had to copy and paste HTML blocks. It was a slow process and I always ended up breaking some tag along the way. Now I use MDX, which allows me to write in plain text and let Astro do the work. This allows me to better organize projects and blog posts, and it takes much less time to update the site.

This change isn’t just about using a new technology; it’s because I wanted a solid web that was easy to keep up to date.