Formatted whole project

This commit is contained in:
2025-12-18 21:44:23 +01:00
parent 6a7b08a30b
commit f314a0672a
11 changed files with 297 additions and 189 deletions

View File

@@ -1,19 +1,19 @@
import React from 'react';
export const ObfuscatedMail = ({ email, className, children, title }) => {
const handleClick = (e) => {
e.preventDefault();
window.location.href = `mailto:${email}`;
};
export const ObfuscatedMail = ({email, className, children, title}) => {
const handleClick = (e) => {
e.preventDefault();
window.location.href = `mailto:${email}`;
};
return (
<button
onClick={handleClick}
className={className}
title={title || "Send email"}
type="button"
>
{children}
</button>
);
return (
<button
onClick={handleClick}
className={className}
title={title || "Send email"}
type="button"
>
{children}
</button>
);
};