2026-05-11 13:01:47 +02:00
|
|
|
'use client';
|
Initial commit: Port Nimara CRM (Layers 0-4)
Full CRM rebuild with Next.js 15, TypeScript, Tailwind, Drizzle ORM,
PostgreSQL, Redis, BullMQ, MinIO, and Socket.io. Includes 461 source
files covering clients, berths, interests/pipeline, documents/EOI,
expenses/invoices, email, notifications, dashboard, admin, and
client portal. CI/CD via Gitea Actions with Docker builds.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 11:52:51 +01:00
|
|
|
|
2026-05-11 13:01:47 +02:00
|
|
|
import * as React from 'react';
|
|
|
|
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
Initial commit: Port Nimara CRM (Layers 0-4)
Full CRM rebuild with Next.js 15, TypeScript, Tailwind, Drizzle ORM,
PostgreSQL, Redis, BullMQ, MinIO, and Socket.io. Includes 461 source
files covering clients, berths, interests/pipeline, documents/EOI,
expenses/invoices, email, notifications, dashboard, admin, and
client portal. CI/CD via Gitea Actions with Docker builds.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 11:52:51 +01:00
|
|
|
|
2026-05-11 13:01:47 +02:00
|
|
|
import { cn } from '@/lib/utils';
|
Initial commit: Port Nimara CRM (Layers 0-4)
Full CRM rebuild with Next.js 15, TypeScript, Tailwind, Drizzle ORM,
PostgreSQL, Redis, BullMQ, MinIO, and Socket.io. Includes 461 source
files covering clients, berths, interests/pipeline, documents/EOI,
expenses/invoices, email, notifications, dashboard, admin, and
client portal. CI/CD via Gitea Actions with Docker builds.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 11:52:51 +01:00
|
|
|
|
|
|
|
|
const Avatar = React.forwardRef<
|
|
|
|
|
React.ElementRef<typeof AvatarPrimitive.Root>,
|
|
|
|
|
React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>
|
|
|
|
|
>(({ className, ...props }, ref) => (
|
|
|
|
|
<AvatarPrimitive.Root
|
|
|
|
|
ref={ref}
|
2026-05-11 13:01:47 +02:00
|
|
|
className={cn('relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full', className)}
|
Initial commit: Port Nimara CRM (Layers 0-4)
Full CRM rebuild with Next.js 15, TypeScript, Tailwind, Drizzle ORM,
PostgreSQL, Redis, BullMQ, MinIO, and Socket.io. Includes 461 source
files covering clients, berths, interests/pipeline, documents/EOI,
expenses/invoices, email, notifications, dashboard, admin, and
client portal. CI/CD via Gitea Actions with Docker builds.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 11:52:51 +01:00
|
|
|
{...props}
|
|
|
|
|
/>
|
2026-05-11 13:01:47 +02:00
|
|
|
));
|
|
|
|
|
Avatar.displayName = AvatarPrimitive.Root.displayName;
|
Initial commit: Port Nimara CRM (Layers 0-4)
Full CRM rebuild with Next.js 15, TypeScript, Tailwind, Drizzle ORM,
PostgreSQL, Redis, BullMQ, MinIO, and Socket.io. Includes 461 source
files covering clients, berths, interests/pipeline, documents/EOI,
expenses/invoices, email, notifications, dashboard, admin, and
client portal. CI/CD via Gitea Actions with Docker builds.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 11:52:51 +01:00
|
|
|
|
|
|
|
|
const AvatarImage = React.forwardRef<
|
|
|
|
|
React.ElementRef<typeof AvatarPrimitive.Image>,
|
|
|
|
|
React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>
|
|
|
|
|
>(({ className, ...props }, ref) => (
|
|
|
|
|
<AvatarPrimitive.Image
|
|
|
|
|
ref={ref}
|
2026-05-11 13:01:47 +02:00
|
|
|
className={cn('aspect-square h-full w-full', className)}
|
Initial commit: Port Nimara CRM (Layers 0-4)
Full CRM rebuild with Next.js 15, TypeScript, Tailwind, Drizzle ORM,
PostgreSQL, Redis, BullMQ, MinIO, and Socket.io. Includes 461 source
files covering clients, berths, interests/pipeline, documents/EOI,
expenses/invoices, email, notifications, dashboard, admin, and
client portal. CI/CD via Gitea Actions with Docker builds.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 11:52:51 +01:00
|
|
|
{...props}
|
|
|
|
|
/>
|
2026-05-11 13:01:47 +02:00
|
|
|
));
|
|
|
|
|
AvatarImage.displayName = AvatarPrimitive.Image.displayName;
|
Initial commit: Port Nimara CRM (Layers 0-4)
Full CRM rebuild with Next.js 15, TypeScript, Tailwind, Drizzle ORM,
PostgreSQL, Redis, BullMQ, MinIO, and Socket.io. Includes 461 source
files covering clients, berths, interests/pipeline, documents/EOI,
expenses/invoices, email, notifications, dashboard, admin, and
client portal. CI/CD via Gitea Actions with Docker builds.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 11:52:51 +01:00
|
|
|
|
|
|
|
|
const AvatarFallback = React.forwardRef<
|
|
|
|
|
React.ElementRef<typeof AvatarPrimitive.Fallback>,
|
|
|
|
|
React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>
|
|
|
|
|
>(({ className, ...props }, ref) => (
|
|
|
|
|
<AvatarPrimitive.Fallback
|
|
|
|
|
ref={ref}
|
|
|
|
|
className={cn(
|
2026-05-11 13:01:47 +02:00
|
|
|
'flex h-full w-full items-center justify-center rounded-full bg-muted',
|
|
|
|
|
className,
|
Initial commit: Port Nimara CRM (Layers 0-4)
Full CRM rebuild with Next.js 15, TypeScript, Tailwind, Drizzle ORM,
PostgreSQL, Redis, BullMQ, MinIO, and Socket.io. Includes 461 source
files covering clients, berths, interests/pipeline, documents/EOI,
expenses/invoices, email, notifications, dashboard, admin, and
client portal. CI/CD via Gitea Actions with Docker builds.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 11:52:51 +01:00
|
|
|
)}
|
|
|
|
|
{...props}
|
|
|
|
|
/>
|
2026-05-11 13:01:47 +02:00
|
|
|
));
|
|
|
|
|
AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
|
Initial commit: Port Nimara CRM (Layers 0-4)
Full CRM rebuild with Next.js 15, TypeScript, Tailwind, Drizzle ORM,
PostgreSQL, Redis, BullMQ, MinIO, and Socket.io. Includes 461 source
files covering clients, berths, interests/pipeline, documents/EOI,
expenses/invoices, email, notifications, dashboard, admin, and
client portal. CI/CD via Gitea Actions with Docker builds.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 11:52:51 +01:00
|
|
|
|
2026-05-11 13:01:47 +02:00
|
|
|
export { Avatar, AvatarImage, AvatarFallback };
|