This commit is contained in:
2026-01-21 16:28:08 +09:00
65 changed files with 3361 additions and 3007 deletions
@@ -274,10 +274,10 @@ export function Header({ viewOnly }: { viewOnly?: boolean }) {
<SidebarTrigger className="size-12 !bg-transparent p-2 hover:!bg-accent [&>svg]:!size-full [&>svg]:text-foreground" />
<h1 className="flex flex-col items-center gap-2">
{mounted ? (
<img
<img
ref={logoRef}
src={getLogoImage()}
className="h-[3rem]"
src={getLogoImage()}
className="h-[3rem]"
alt="logo"
onLoad={() => {
if (logoRef.current) {
@@ -288,7 +288,7 @@ export function Header({ viewOnly }: { viewOnly?: boolean }) {
) : (
<Skeleton className="h-[3rem] w-[15rem]" />
)}
<span
<span
className="text-[1.2rem] font-semibold text-foreground"
style={{
letterSpacing: logoWidth > 0 ? `${(logoWidth - 120) / (siteInfo?.siteNm?.length || 1)}px` : '0.05em'