mirror of
https://github.com/warmbly/warmbly.git
synced 2026-08-19 00:01:14 +00:00
feat: restore site header logo in repo docs
Use the same Warmbly paper-plane mark from the site header in the README and docs header.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
<p align="center">
|
||||
<img src="docs/public/logo.svg" alt="Warmbly" width="64" height="66" />
|
||||
</p>
|
||||
|
||||
<h1 align="center">Warmbly</h1>
|
||||
|
||||
<p align="center">
|
||||
|
||||
@@ -1,10 +1,18 @@
|
||||
import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared';
|
||||
import Image from 'next/image';
|
||||
|
||||
export function baseOptions(): BaseLayoutProps {
|
||||
return {
|
||||
nav: {
|
||||
title: (
|
||||
<div className="flex items-center gap-2">
|
||||
<Image
|
||||
src="/logo.svg"
|
||||
alt="Warmbly"
|
||||
width={24}
|
||||
height={25}
|
||||
className="dark:invert"
|
||||
/>
|
||||
<span className="font-semibold">Warmbly</span>
|
||||
</div>
|
||||
),
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<svg width="746" height="764" viewBox="0 0 746 764" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="title">
|
||||
<title id="title">Warmbly</title>
|
||||
<path d="M222.805 644.772L186.274 108.881L704.5 451.158L484.5 451.158L245.5 196.158L444 463.5L222.805 644.772Z" fill="#0F172A"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 309 B |
Reference in New Issue
Block a user