Skip to content

Commit

Permalink
chore(maintenance): Adds logo to maintenance card.
Browse files Browse the repository at this point in the history
mango-habanero committed Jun 10, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent f719967 commit 90e4d4b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions app/ui/titles.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
import { Label } from '@/app/ui/typography';
import Image from 'next/image';
import mhLogo from '@/public/images/mh-logo.svg';

export function TitleWithLogo({ label, title }: { label: string; title: string }) {
export function TitleWithLogo({ label, title }: Readonly<{ label: string; title: string }>) {
return (
<div className="mb-4 flex flex-row items-center gap-3">
<div className="flex flex-col items-start">
<div className="h-12 w-12 flex-shrink-0 bg-zima-blue"></div>
<Image
src={mhLogo}
alt="The mango habanero logo."
className="h-12 w-12 flex-shrink-0"
></Image>
</div>
<div className="flex flex-col items-start">
<Label label={label} />

0 comments on commit 90e4d4b

Please sign in to comment.