feat: add MkSaaS logo component and update blog image references

This commit is contained in:
javayhu 2025-03-01 16:31:57 +08:00
parent 4ffb5adfed
commit e4ec7e1a5e
7 changed files with 19 additions and 4 deletions

View File

@ -64,7 +64,7 @@ Something a wise person once told me about typography is:
It's probably important that images look okay here by default as well:
<Image
src="/images/blog/mkdirs-opengraph.png"
src="/images/blog/mksaas-og.png"
width="718"
height="404"
alt="Image"

BIN
public/images/avatars/mksaas.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 690 KiB

After

Width:  |  Height:  |  Size: 646 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

Before

Width:  |  Height:  |  Size: 92 KiB

After

Width:  |  Height:  |  Size: 92 KiB

View File

@ -0,0 +1,15 @@
import { cn } from "@/lib/utils";
import Image from "next/image";
export function MkSaaSLogo({ className }: { className?: string }) {
return (
<Image
src="/mksaas.png"
alt="Logo of MkSaaS"
title="Logo of MkSaaS"
width={96}
height={96}
className={cn("size-8 rounded-md", className)}
/>
);
}

View File

@ -1,7 +1,7 @@
import { buttonVariants } from "@/components/ui/button";
import { cn } from "@/lib/utils";
import Link from "next/link";
import { Logo } from "@/components/logo";
import { buttonVariants } from "@/components/ui/button";
import { MkSaaSLogo } from "@/components/logo-mksaas";
export default function BuiltWithButton() {
return (
@ -15,7 +15,7 @@ export default function BuiltWithButton() {
>
<span>Built with</span>
<span>
<Logo className="size-5 rounded-full" />
<MkSaaSLogo className="size-5 rounded-full" />
</span>
<span className="font-semibold">MkSaaS</span>
</Link>