Tab Constant is added
This commit is contained in:
@@ -1,17 +1,14 @@
|
||||
import { useState } from 'react';
|
||||
|
||||
import {
|
||||
ClipboardCheck,
|
||||
Clock,
|
||||
AlertTriangle,
|
||||
Activity,
|
||||
Building2,
|
||||
Users,
|
||||
MapPin,
|
||||
Grid,
|
||||
ArrowRight,
|
||||
Sparkles
|
||||
|
||||
} from "lucide-react";
|
||||
import StatCard from "@/components/common/dashStatCard";
|
||||
import Button from "@/components/common/button";
|
||||
|
||||
export default function AdminOverviewPortal() {
|
||||
// Sample data for the recent audits table below
|
||||
@@ -37,10 +34,11 @@ export default function AdminOverviewPortal() {
|
||||
{/* --- HEADER SECTION --- */}
|
||||
<div className="flex flex-col md:flex-row md:items-start md:justify-between gap-4 mb-6">
|
||||
<div>
|
||||
<div className="flex items-center gap-2 text-[10px] font-bold tracking-widest uppercase font-mono">
|
||||
<span className="text-teal-400">PLATFORM</span>
|
||||
<span className="text-slate-500">•</span>
|
||||
<span className="text-slate-500">KAFM</span>
|
||||
<div className="flex items-center gap-2 text-[12px]
|
||||
font-bold tracking-widest uppercase font-mono">
|
||||
<span className="text-gray-400">PLATFORM</span>
|
||||
<span className="text-gray-600">•</span>
|
||||
<span className="text-gray-400">KAFM</span>
|
||||
</div>
|
||||
<h1 className="text-2xl font-bold text-white tracking-tight mt-1">
|
||||
Platform overview
|
||||
@@ -52,7 +50,7 @@ export default function AdminOverviewPortal() {
|
||||
|
||||
{/* Top Right Status Badge */}
|
||||
<div className="flex items-center gap-2 px-3 py-1.5 rounded-full bg-slate-900/80 border border-teal-500/30 text-teal-400 text-xs font-mono w-fit">
|
||||
<span className="h-2 w-2 rounded-full bg-teal-400 animate-pulse" />
|
||||
<span className="h-2 w-2 text-teal-400 rounded-full animate-pulse" />
|
||||
<span>PRODUCTION</span>
|
||||
<span className="text-slate-600">•</span>
|
||||
<span className="text-teal-300/80">region us-east-1</span>
|
||||
@@ -117,9 +115,9 @@ export default function AdminOverviewPortal() {
|
||||
<h2 className="text-base font-semibold text-white">Recently onboarded tenants</h2>
|
||||
<p className="text-xs text-slate-400 font-mono mt-0.5">Newest organizations on the platform</p>
|
||||
</div>
|
||||
<button className="text-teal-400 hover:text-teal-300 text-xs font-semibold flex items-center gap-1 transition-colors">
|
||||
<Button className="text-teal-400 hover:text-teal-300 text-xs font-semibold flex items-center gap-1 transition-colors">
|
||||
View all <ArrowRight className="w-3.5 h-3.5" />
|
||||
</button>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
{/* Table Header */}
|
||||
|
||||
Reference in New Issue
Block a user