Back to Projects

Corporate Responsibility

Generates random corporate responsibility statements paired with thematically matched backgrounds. Powered by a C# / ASP.NET Core 10 API and React 19 frontend.

About this Project

This interactive web application generates original corporate responsibility statements paired with matching background photos. A custom C# / ASP.NET Core 10 Minimal API generates each phrase, extracts visual themes, and resolves cached Pixabay imagery server-side while the React 19 frontend delivers smooth two-layer crossfades and instant click transitions.

Features

  • Custom C# / ASP.NET Core 10 Minimal API for corporate phrase generation
  • Server-side keyword extraction and IMemoryCache-backed Pixabay integration
  • Two-layer background crossfade with background prefetching for instant clicks
  • Responsive design with frosted-glass UI controls and shimmer loading state
  • Graceful partial-API fallback when external image lookups are unavailable

Challenges & Solutions

The Challenge

Coordinating phrase generation and image matching without exposing API keys in the browser, avoiding Pixabay rate limits, and eliminating jarring flashes between background transitions.

The Solution

I built an ASP.NET Core 10 backend with IHttpClientFactory and 6-hour IMemoryCache caching that extracts visual corporate themes from generated phrases and resolves Pixabay photos server-side. On the frontend, I implemented a two-layer crossfade and background prefetching so consecutive clicks transition smoothly without white flashes.