Update favicon
This commit is contained in:
parent
59bd8521fa
commit
e93c4fc477
Binary file not shown.
|
Before Width: | Height: | Size: 8.3 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 445 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1001 B |
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB |
|
|
@ -22,30 +22,7 @@ const Meta = (props: IMetaProps) => {
|
||||||
content="width=device-width,initial-scale=1"
|
content="width=device-width,initial-scale=1"
|
||||||
key="viewport"
|
key="viewport"
|
||||||
/>
|
/>
|
||||||
<link
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🗳</text></svg>" />
|
||||||
rel="apple-touch-icon"
|
|
||||||
href={`${router.basePath}/apple-touch-icon.png`}
|
|
||||||
key="apple"
|
|
||||||
/>
|
|
||||||
<link
|
|
||||||
rel="icon"
|
|
||||||
type="image/png"
|
|
||||||
sizes="32x32"
|
|
||||||
href={`${router.basePath}/favicon-32x32.png`}
|
|
||||||
key="icon32"
|
|
||||||
/>
|
|
||||||
<link
|
|
||||||
rel="icon"
|
|
||||||
type="image/png"
|
|
||||||
sizes="16x16"
|
|
||||||
href={`${router.basePath}/favicon-16x16.png`}
|
|
||||||
key="icon16"
|
|
||||||
/>
|
|
||||||
<link
|
|
||||||
rel="icon"
|
|
||||||
href={`${router.basePath}/favicon.ico`}
|
|
||||||
key="favicon"
|
|
||||||
/>
|
|
||||||
</Head>
|
</Head>
|
||||||
<NextSeo
|
<NextSeo
|
||||||
title={props.title}
|
title={props.title}
|
||||||
|
|
|
||||||
|
|
@ -5,32 +5,13 @@ type ILogoProps = {
|
||||||
};
|
};
|
||||||
|
|
||||||
const Logo = (props: ILogoProps) => {
|
const Logo = (props: ILogoProps) => {
|
||||||
const size = props.xl ? '44' : '32';
|
|
||||||
const fontStyle = props.xl
|
const fontStyle = props.xl
|
||||||
? 'font-semibold text-3xl'
|
? 'font-semibold text-3xl'
|
||||||
: 'font-semibold text-xl';
|
: 'font-semibold text-xl';
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<span className={`text-gray-900 inline-flex items-center ${fontStyle}`}>
|
<span className={`text-gray-900 inline-flex items-center ${fontStyle}`}>
|
||||||
<svg
|
🗳 {AppConfig.site_name}
|
||||||
className="text-primary-500 stroke-current mr-1"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
width={size}
|
|
||||||
height={size}
|
|
||||||
viewBox="0 0 24 24"
|
|
||||||
strokeWidth="1.5"
|
|
||||||
fill="none"
|
|
||||||
strokeLinecap="round"
|
|
||||||
strokeLinejoin="round"
|
|
||||||
>
|
|
||||||
<path d="M0 0h24v24H0z" stroke="none" />
|
|
||||||
<rect x="3" y="12" width="6" height="8" rx="1" />
|
|
||||||
<rect x="9" y="8" width="6" height="12" rx="1" />
|
|
||||||
<rect x="15" y="4" width="6" height="16" rx="1" />
|
|
||||||
<path d="M4 20h14" />
|
|
||||||
</svg>
|
|
||||||
|
|
||||||
{AppConfig.site_name}
|
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue