no navLogo for snort
This commit is contained in:
@ -3,6 +3,7 @@ import { getCurrentSubscription } from "../../Subscription";
|
||||
import { isChristmas, isHalloween, isStPatricksDay } from "../../SnortUtils";
|
||||
import { Link } from "react-router-dom";
|
||||
import { mapPlanName } from "../subscribe";
|
||||
import Icon from "@/Icons/Icon";
|
||||
export function LogoHeader({ showText = false }) {
|
||||
const { subscriptions } = useLogin();
|
||||
const currentSubscription = getCurrentSubscription(subscriptions);
|
||||
@ -20,7 +21,12 @@ export function LogoHeader({ showText = false }) {
|
||||
return (
|
||||
<Link to="/" className="logo" onClick={handleLogoClick}>
|
||||
<h1 className="flex flex-row items-center">
|
||||
<img src={CONFIG.navLogo} className="w-8" />
|
||||
{CONFIG.navLogo && <img src={CONFIG.navLogo} className="w-8" />}
|
||||
{!CONFIG.navLogo && (
|
||||
<span className="text-2xl p-5 hidden md:flex xl:hidden w-8 h-8 rounded-xl bg-dark text-xl font-bold flex items-center justify-center">
|
||||
{CONFIG.appName[0]}
|
||||
</span>
|
||||
)}
|
||||
{showText && (
|
||||
<div className="md:hidden xl:inline ml-2">
|
||||
{extra()}
|
||||
|
Reference in New Issue
Block a user