refactor: modularize envelope reveal and logo components for easier usage across the site
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
import { DotIcon } from "@phosphor-icons/react";
|
||||
import "@fontsource/knewave/400.css";
|
||||
|
||||
export default function Logo() {
|
||||
export default function Logo({ scale = 2 }) {
|
||||
return (
|
||||
<span
|
||||
<div
|
||||
role="img"
|
||||
aria-label="Pi Ku"
|
||||
className="inline-flex items-baseline justify-center leading-none select-none"
|
||||
style={{ fontFamily: "'Knewave', serif" }}
|
||||
style={{ fontFamily: "'Knewave', serif", scale }}
|
||||
>
|
||||
<span className="text-2xl font-light text-accent"> Pi</span>
|
||||
<span className={`text-xl font-light text-accent`}> Pi</span>
|
||||
<DotIcon
|
||||
weight="fill"
|
||||
size={12}
|
||||
className="text-accent translate-y-[0.3em] -mx-px"
|
||||
size={6}
|
||||
className={`text-primary translate-y-1 -mx-px`}
|
||||
/>
|
||||
<span className="text-2xl font-light text-accent"> Ku</span>
|
||||
<span className={`text-xl font-light text-accent`}> Ku</span>
|
||||
<DotIcon
|
||||
weight="fill"
|
||||
size={12}
|
||||
className="text-accent translate-y-[0.3em] -mx-px"
|
||||
size={6}
|
||||
className={`text-primary translate-y-1 -mx-px`}
|
||||
/>
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user