+ {/* Container for positioning */}
+
+
+
{
+ e.currentTarget.src = "logo.webp";
e.currentTarget.style.objectFit = "contain";
- } else {
- e.currentTarget.style.objectFit = "cover";
- }
- }}
- />
+ }}
+ onLoad={(e) => {
+ if (e.currentTarget.src.endsWith("logo.webp")) {
+ e.currentTarget.style.objectFit = "contain";
+ } else {
+ e.currentTarget.style.objectFit = "cover";
+ }
+ }}
+ >
+
+
+ );
+}
+
+function SantaHat(props: { class?: string }) {
+ return (
+