app icon in navbar
This commit is contained in:
@ -6,6 +6,7 @@
|
|||||||
"nip05Domain": "snort.social",
|
"nip05Domain": "snort.social",
|
||||||
"favicon": "public/favicon.ico",
|
"favicon": "public/favicon.ico",
|
||||||
"appleTouchIconUrl": "/nostrich_512.png",
|
"appleTouchIconUrl": "/nostrich_512.png",
|
||||||
|
"navLogo": "/nostrich_256.png",
|
||||||
"publicDir": "public/snort",
|
"publicDir": "public/snort",
|
||||||
"httpCache": "",
|
"httpCache": "",
|
||||||
"animalNamePlaceholders": false,
|
"animalNamePlaceholders": false,
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
"nip05Domain": "iris.to",
|
"nip05Domain": "iris.to",
|
||||||
"favicon": "public/iris/favicon.ico",
|
"favicon": "public/iris/favicon.ico",
|
||||||
"appleTouchIconUrl": "/img/apple-touch-icon.png",
|
"appleTouchIconUrl": "/img/apple-touch-icon.png",
|
||||||
|
"navLogo": "/img/icon128.png",
|
||||||
"publicDir": "public/iris",
|
"publicDir": "public/iris",
|
||||||
"httpCache": "https://api.iris.to",
|
"httpCache": "https://api.iris.to",
|
||||||
"animalNamePlaceholders": true,
|
"animalNamePlaceholders": true,
|
||||||
|
1
packages/app/custom.d.ts
vendored
1
packages/app/custom.d.ts
vendored
@ -48,6 +48,7 @@ declare const CONFIG: {
|
|||||||
nip05Domain: string;
|
nip05Domain: string;
|
||||||
favicon: string;
|
favicon: string;
|
||||||
appleTouchIconUrl: string;
|
appleTouchIconUrl: string;
|
||||||
|
navLogo: string;
|
||||||
httpCache: string;
|
httpCache: string;
|
||||||
animalNamePlaceholders: boolean;
|
animalNamePlaceholders: boolean;
|
||||||
defaultZapPoolFee?: number;
|
defaultZapPoolFee?: number;
|
||||||
|
BIN
packages/app/public/iris/img/icon128.png
Normal file
BIN
packages/app/public/iris/img/icon128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
@ -15,9 +15,12 @@ export function LogoHeader() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Link to="/" className="logo">
|
<Link to="/" className="logo">
|
||||||
<h1>
|
<h1 className="flex flex-row items-center">
|
||||||
|
<img src={CONFIG.navLogo} className="w-8 h-8" />
|
||||||
|
<div className="md:hidden xl:inline ml-2">
|
||||||
{extra()}
|
{extra()}
|
||||||
{CONFIG.appName}
|
{CONFIG.appName}
|
||||||
|
</div>
|
||||||
</h1>
|
</h1>
|
||||||
{currentSubscription && (
|
{currentSubscription && (
|
||||||
<div className="flex items-center g4 text-sm font-semibold tracking-wider">
|
<div className="flex items-center g4 text-sm font-semibold tracking-wider">
|
||||||
|
Reference in New Issue
Block a user