mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-12-10 23:42:37 +01:00
refactor: components struture
This commit is contained in:
21
packages/ui/src/Home/About/AboutLogo.tsx
Normal file
21
packages/ui/src/Home/About/AboutLogo.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import { useTranslations } from "next-intl"
|
||||
import Image from "next/image"
|
||||
|
||||
export interface AboutLogoProps {}
|
||||
|
||||
export const AboutLogo: React.FC<AboutLogoProps> = () => {
|
||||
const t = useTranslations()
|
||||
|
||||
return (
|
||||
<div className="max-h-[370px] max-w-[370px] px-2 py-6">
|
||||
<Image
|
||||
quality={100}
|
||||
src="/images/logo.webp"
|
||||
alt={t("meta.title")}
|
||||
width={800}
|
||||
height={800}
|
||||
priority
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user