Consolidate component folders

This commit is contained in:
adilallo
2025-09-04 21:13:18 -06:00
parent 3a4b2d44c2
commit 3cca30ae28
5 changed files with 2 additions and 2 deletions
+37
View File
@@ -0,0 +1,37 @@
"use client";
import React from "react";
/**
* Simple image placeholder component for testing
* Generates colored backgrounds with text overlays
*/
const ImagePlaceholder = ({
width = 260,
height = 390,
text = "Blog Image",
color = "blue",
className = "",
}) => {
const colors = {
blue: "bg-blue-500",
green: "bg-green-500",
purple: "bg-purple-500",
red: "bg-red-500",
orange: "bg-orange-500",
teal: "bg-teal-500",
};
const bgColor = colors[color] || colors.blue;
return (
<div
className={`${bgColor} flex items-center justify-center text-white font-bold text-lg ${className}`}
style={{ width: `${width}px`, height: `${height}px` }}
>
{text}
</div>
);
};
export default ImagePlaceholder;