Update CompanyLogo component to use anchor tag for external links, enhancing accessibility and security with target and rel attributes.

This commit is contained in:
akcodez
2025-10-29 07:36:34 -07:00
parent 9dde1114ca
commit 982386d0f6

View File

@@ -237,8 +237,10 @@ function DeveloperTools() {
function CompanyLogo({ className, alt, aspectRatio, link }) {
return (
<div
onClick={() => window.open(link, "_blank")}
<a
href={link}
target="_blank"
rel="noopener noreferrer"
className={`company-logo ${className}`}
role="img"
aria-label={alt}