A Andres Hernandez
Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
127

Filtered Posts (Clear all)

Hardening the rifasvelez-web Gallery: Protecting Against XSS and Attribute Injection

A recurring challenge in web development is securely integrating external content into dynamic user interfaces. For the rifasvelez-web project, which features an interactive image gallery, this challenge became a focal point when handling metadata from remote Cloudinary JSON fields. The risk? Unsanitized data could lead to dangerous Cross-Site Scripting (XSS) vulnerabilities and attribute injection attacks when rendered into elements like Fancybox captions.

The Threat: DOM XSS and

Building Resilient Frontends: Mastering Error Handling and UI Fallbacks in Astro

Even the most carefully crafted applications can encounter unexpected issues, especially when relying on external data sources. For the rifasvelez-web project, we recently tackled a crucial area often overlooked: robust error handling and user-friendly fallback UIs for our image gallery, powered by Cloudinary.

The Situation

Previously, our image gallery component directly fetched data from Cloudinary. While this worked flawlessly most of the time, any hiccup – be it a network issue, an

Refining Visuals: Ensuring a Flawless Masonry Gallery in Astro

Introduction

In the rifasvelez-web project, we showcase community achievements through a dedicated winners gallery. This visual feature is crucial for celebrating milestones and engaging users. For this, we opted for a masonry layout, a popular choice that creates a dynamic, visually appealing grid by fitting items of varying heights into columns with minimal gaps, similar to how a stonemason arranges bricks.

The Masonry Challenge

While aesthetically pleasing, implementing a robust

Boosting Web Performance: Optimizing Images in Astro

Introduction

Ever visited a website that felt sluggish, taking ages to load its vibrant visuals? More often than not, unoptimized images are the culprits, silently dragging down user experience and search rankings. In the competitive landscape of web development, speed is not just a feature; it's a necessity.

The Performance Imperative

For the rifasvelez-web project, a core objective is to deliver content at lightning speed. Unoptimized images can act like bulky luggage on a trip:

Enhancing Web Presence: Fixing SEO Schema in Astro Projects

The Project Context

Our rifasvelez-web project, built with Astro, is dedicated to providing a fast and modern web experience. A crucial aspect of any public-facing website is its discoverability and presentation in search engine results. This led us to address a key area: Search Engine Optimization (SEO), specifically structured data schema.

The Problem: Incomplete or Incorrect SEO Schema

Effective SEO goes beyond just keywords; it involves helping search engines understand the

Seamless Interaction: Unpacking Responsive UI Improvements in the pqrs Project

In the fast-evolving digital landscape, providing a consistent and intuitive user experience across all devices is paramount. The pqrs project, a web-based application, recently underwent a significant overhaul to its user interface, focusing on making key areas fully responsive for mobile and tablet users.

The Challenge of Varied Screens

Imagine designing a single room layout that needs to seamlessly adapt for a large family gathering, a small intimate dinner, or a solo work session.

Prioritizing Stability: Reverting Responsive UI Changes in pqrs

Introduction

The pqrs project is continuously evolving to enhance user experience and streamline workflows. A recent initiative aimed to modernize the filter forms across key areas like the dashboard, sidebar, and settings by introducing a responsive design. The goal was to ensure a consistent and optimized experience for users across various devices and screen sizes.

The Challenge

While the intent behind implementing a responsive filter form was to improve usability, the initial

The Hidden Cost of Hardcoding: Managing External Links in PHP

It seems innocuous, doesn't it? A quick tag here, a direct URL there. "Just adding a developer's LinkedIn link," you might say. But what happens when that link changes? Or when you need to add another ten social profiles? What starts as a simple, one-off addition can quickly turn into a maintainability nightmare, scattering static URLs across your codebase like digital confetti.

This was the exact scenario we tackled recently in the pqrs project. The task was straightforward: integrate a

Optimizing Performance in rifasvelez-web: A Refactoring Deep Dive

The Optimization Imperative

In the fast-paced world of web development, a slow application is a forgotten one. For rifasvelez-web, our core project, maintaining peak performance isn't just a nice-to-have; it's critical for user engagement and overall success. A snappy user experience translates directly into happier users and better conversion rates. With this in mind, we recently embarked on a focused refactoring effort aimed squarely at boosting the application's speed and efficiency.

Mastering Your Social Presence: The Impact of an Optimized og:image

The internet is a vast place, and in the blink of an eye, your content can be shared across countless social platforms. But what makes it stand out? Often, it's the og:image – the visual ambassador of your page. A blurry, slow-loading, or incorrectly sized og:image is a missed opportunity, potentially leaving your content lost in the endless scroll.

The Invisible Problem: Unoptimized Open Graph Images

For the rifasvelez-web project, we recently tackled a crucial detail often

Andres Hernandez

Andres Hernandez

Product-focused Software Developer specializing in the React ecosystem (Next.js, TypeScript). Proven experience contributing to high-impact open source projects and building scalable web applications. Committed to clean code, UI/UX design principles, and SOLID architecture to solve complex problems.