feat: add header icons to all dashboard panels
Consistent icon treatment across Pages, Referrers, Locations, Technology, Campaigns, Peak Hours, Goals, and Search panels.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import Link from 'next/link'
|
||||
import { formatNumber } from '@ciphera-net/ui'
|
||||
import { Target } from '@phosphor-icons/react'
|
||||
import { BookOpenIcon, ArrowRightIcon } from '@ciphera-net/ui'
|
||||
import type { GoalCountStat } from '@/lib/api/stats'
|
||||
|
||||
@@ -21,9 +22,12 @@ export default function GoalStats({ goalCounts, onSelectEvent }: GoalStatsProps)
|
||||
return (
|
||||
<div className="bg-white dark:bg-neutral-900 border border-neutral-200 dark:border-neutral-800 rounded-2xl p-6 h-full flex flex-col">
|
||||
<div className="flex items-center justify-between mb-4">
|
||||
<h3 className="text-lg font-semibold text-neutral-900 dark:text-white">
|
||||
Goals & Events
|
||||
</h3>
|
||||
<div className="flex items-center gap-2">
|
||||
<Target className="w-5 h-5 text-neutral-400 dark:text-neutral-500" weight="bold" />
|
||||
<h3 className="text-lg font-semibold text-neutral-900 dark:text-white">
|
||||
Goals & Events
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{hasData ? (
|
||||
|
||||
Reference in New Issue
Block a user