Update icons/colors on cards
This commit is contained in:
@@ -19,13 +19,17 @@ import { Skeleton } from "@/components/ui/skeleton";
|
|||||||
import {
|
import {
|
||||||
Clock,
|
Clock,
|
||||||
Star,
|
Star,
|
||||||
Users,
|
|
||||||
MessageSquare,
|
MessageSquare,
|
||||||
Mail,
|
Mail,
|
||||||
Send,
|
Send,
|
||||||
Loader2,
|
Loader2,
|
||||||
ArrowUp,
|
ArrowUp,
|
||||||
ArrowDown,
|
ArrowDown,
|
||||||
|
Zap,
|
||||||
|
Timer,
|
||||||
|
BarChart3,
|
||||||
|
Bot,
|
||||||
|
ClipboardCheck,
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|
||||||
@@ -345,7 +349,7 @@ const GorgiasOverview = () => {
|
|||||||
title="First Response"
|
title="First Response"
|
||||||
value={formatDuration(stats.median_first_response_time?.value)}
|
value={formatDuration(stats.median_first_response_time?.value)}
|
||||||
delta={stats.median_first_response_time?.delta}
|
delta={stats.median_first_response_time?.delta}
|
||||||
icon={Clock}
|
icon={Zap}
|
||||||
colorClass="purple"
|
colorClass="purple"
|
||||||
more_is_better={false}
|
more_is_better={false}
|
||||||
loading={loading}
|
loading={loading}
|
||||||
@@ -357,7 +361,7 @@ const GorgiasOverview = () => {
|
|||||||
value={stats.total_one_touch_tickets?.value}
|
value={stats.total_one_touch_tickets?.value}
|
||||||
delta={stats.total_one_touch_tickets?.delta}
|
delta={stats.total_one_touch_tickets?.delta}
|
||||||
suffix="%"
|
suffix="%"
|
||||||
icon={MessageSquare}
|
icon={BarChart3}
|
||||||
colorClass="indigo"
|
colorClass="indigo"
|
||||||
loading={loading}
|
loading={loading}
|
||||||
/>
|
/>
|
||||||
@@ -381,7 +385,8 @@ const GorgiasOverview = () => {
|
|||||||
value={satisfactionStats.response_rate?.value}
|
value={satisfactionStats.response_rate?.value}
|
||||||
delta={satisfactionStats.response_rate?.delta}
|
delta={satisfactionStats.response_rate?.delta}
|
||||||
suffix="%"
|
suffix="%"
|
||||||
colorClass="orange"
|
icon={ClipboardCheck}
|
||||||
|
colorClass="pink"
|
||||||
loading={loading}
|
loading={loading}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -390,7 +395,7 @@ const GorgiasOverview = () => {
|
|||||||
title="Resolution Time"
|
title="Resolution Time"
|
||||||
value={formatDuration(stats.median_resolution_time?.value)}
|
value={formatDuration(stats.median_resolution_time?.value)}
|
||||||
delta={stats.median_resolution_time?.delta}
|
delta={stats.median_resolution_time?.delta}
|
||||||
icon={Clock}
|
icon={Timer}
|
||||||
colorClass="teal"
|
colorClass="teal"
|
||||||
more_is_better={false}
|
more_is_better={false}
|
||||||
loading={loading}
|
loading={loading}
|
||||||
@@ -402,6 +407,7 @@ const GorgiasOverview = () => {
|
|||||||
value={selfServiceStats.self_service_automation_rate?.value}
|
value={selfServiceStats.self_service_automation_rate?.value}
|
||||||
delta={selfServiceStats.self_service_automation_rate?.delta}
|
delta={selfServiceStats.self_service_automation_rate?.delta}
|
||||||
suffix="%"
|
suffix="%"
|
||||||
|
icon={Bot}
|
||||||
colorClass="cyan"
|
colorClass="cyan"
|
||||||
loading={loading}
|
loading={loading}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user