diff --git a/app/(home)/_pages/page.en.tsx b/app/(home)/_pages/page.en.tsx index 9f3fed78..b154c09d 100644 --- a/app/(home)/_pages/page.en.tsx +++ b/app/(home)/_pages/page.en.tsx @@ -16,7 +16,7 @@ import { RustIcon, TSIcon, } from '@/components/ui/icon'; -import SteelLogo from '@/public/images/logo.png'; +import SteelMark from '@/public/images/steel-mark.png'; export default function HomePage() { return ( @@ -27,7 +27,7 @@ export default function HomePage() {
- + diff --git a/components/callout.tsx b/components/callout.tsx index 0f36eaea..f2750fe0 100644 --- a/components/callout.tsx +++ b/components/callout.tsx @@ -1,5 +1,6 @@ import { AlertTriangle, Info, Star } from 'lucide-react'; import { forwardRef, type HTMLAttributes, type ReactNode } from 'react'; +import { SteelMark } from '@/components/ui/icon'; import { cn } from '@/lib/utils'; type CalloutProps = Omit, 'title' | 'type' | 'icon'> & { @@ -36,10 +37,7 @@ export const Callout = forwardRef( warn: , help: (
- +
), }[type]} @@ -54,18 +52,7 @@ export const Callout = forwardRef( warn: , help: (
- - - +
), }[type]} diff --git a/components/ui/icon.tsx b/components/ui/icon.tsx index 40cd5691..34398f1e 100644 --- a/components/ui/icon.tsx +++ b/components/ui/icon.tsx @@ -203,19 +203,34 @@ export function Bug(props: any) { export function DocsLogo(props: any) { return ( - + ); } +export function SteelMark(props: SVGProps): JSX.Element { + return ( + + + + ); +} + export function API(props: SVGProps): JSX.Element { return ( - + + \`\`\` ### Logo with wordmark \`\`\`svg - + - - - - - - + + + + + + - + diff --git a/public/images/logo.png b/public/images/logo.png index e05e70ef..9a3b619b 100644 Binary files a/public/images/logo.png and b/public/images/logo.png differ diff --git a/public/images/steel-mark.png b/public/images/steel-mark.png new file mode 100644 index 00000000..587fd5ea Binary files /dev/null and b/public/images/steel-mark.png differ diff --git a/scripts/changelog/imagegen/assets/steel-logo.svg b/scripts/changelog/imagegen/assets/steel-logo.svg index ac803120..8fc06fee 100644 --- a/scripts/changelog/imagegen/assets/steel-logo.svg +++ b/scripts/changelog/imagegen/assets/steel-logo.svg @@ -1,3 +1,3 @@ - - + + diff --git a/scripts/changelog/imagegen/template.ts b/scripts/changelog/imagegen/template.ts index 1bf7b6fa..cb4b3725 100644 --- a/scripts/changelog/imagegen/template.ts +++ b/scripts/changelog/imagegen/template.ts @@ -109,7 +109,7 @@ export function renderCardHtml(content: CardContent): string { .logo { display: block; - width: 54.286px; + width: 40px; height: 40px; }