mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
- Added a new hook `useConnectorStatus` to manage connector status information. - Introduced `ConnectorStatusBadge` and `ConnectorWarningBanner` components for displaying status and warnings. - Updated `ConnectorCard` and `ConnectorAccountsListView` to utilize the new status management features, including conditional rendering based on connector status and warnings. - Created a configuration file for connector statuses to streamline status management across the application.
19 lines
355 B
TypeScript
19 lines
355 B
TypeScript
"use client";
|
|
|
|
import Image from "next/image";
|
|
import Link from "next/link";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
export const Logo = ({ className }: { className?: string }) => {
|
|
return (
|
|
<Link href="/">
|
|
<Image
|
|
src="/icon-128.svg"
|
|
className={cn("dark:invert", className)}
|
|
alt="logo"
|
|
width={128}
|
|
height={128}
|
|
/>
|
|
</Link>
|
|
);
|
|
};
|