22import { Button } from ' abckit/shadcn/button'
33import { Card , CardContent , CardDescription , CardHeader , CardTitle } from ' abckit/shadcn/card'
44import { Select , SelectContent , SelectItem , SelectTrigger , SelectValue } from ' abckit/shadcn/select'
5- import { BarChart3 , CheckCircle , RefreshCw , Send , XCircle } from ' lucide-vue-next'
65import { useAnalyticsSummary } from ' ~/graphql/analytics'
76
87definePageMeta ({
@@ -140,7 +139,7 @@ function refreshData() {
140139 <Card >
141140 <CardHeader class =" flex flex-row items-center justify-between space-y-0 pb-2" >
142141 <CardTitle class =" text-sm font-medium" >Total Sent</CardTitle >
143- <Send class = " h-4 w -4 text-muted-foreground" />
142+ <Icon name = " lucide:send " class = " size -4 text-muted-foreground" />
144143 </CardHeader >
145144 <CardContent >
146145 <div class =" text-2xl font-bold" >{{ metrics.totalSent.toLocaleString() }}</div >
@@ -153,7 +152,7 @@ function refreshData() {
153152 <Card >
154153 <CardHeader class =" flex flex-row items-center justify-between space-y-0 pb-2" >
155154 <CardTitle class =" text-sm font-medium" >Delivered</CardTitle >
156- <CheckCircle class = " h-4 w -4 text-muted-foreground" />
155+ <Icon name = " lucide:check-circle " class = " size -4 text-muted-foreground" />
157156 </CardHeader >
158157 <CardContent >
159158 <div class =" text-2xl font-bold" >{{ metrics.delivered.toLocaleString() }}</div >
@@ -166,7 +165,7 @@ function refreshData() {
166165 <Card >
167166 <CardHeader class =" flex flex-row items-center justify-between space-y-0 pb-2" >
168167 <CardTitle class =" text-sm font-medium" >Opened</CardTitle >
169- <CheckCircle class = " h-4 w -4 text-muted-foreground" />
168+ <Icon name = " lucide:check-circle " class = " size -4 text-muted-foreground" />
170169 </CardHeader >
171170 <CardContent >
172171 <div class =" text-2xl font-bold" >{{ metrics.opened.toLocaleString() }}</div >
@@ -179,7 +178,7 @@ function refreshData() {
179178 <Card >
180179 <CardHeader class =" flex flex-row items-center justify-between space-y-0 pb-2" >
181180 <CardTitle class =" text-sm font-medium" >Clicked</CardTitle >
182- <XCircle class = " h-4 w -4 text-muted-foreground" />
181+ <Icon name = " lucide:x-circle " class = " size -4 text-muted-foreground" />
183182 </CardHeader >
184183 <CardContent >
185184 <div class =" text-2xl font-bold" >{{ metrics.clicked.toLocaleString() }}</div >
@@ -200,7 +199,7 @@ function refreshData() {
200199 <CardContent >
201200 <div class =" h-80 flex items-center justify-center text-muted-foreground" >
202201 <div class =" text-center" >
203- <BarChart3 class =" h-12 w-12 mx-auto mb-4" />
202+ <Icon name = " lucide:bar-chart-3 " class =" h-12 w-12 mx-auto mb-4" />
204203 <p >Chart visualization would go here</p >
205204 <p class =" text-sm" >Integration with chart library needed</p >
206205 </div >
@@ -242,14 +241,14 @@ function refreshData() {
242241 <CardDescription >Latest sent notifications and their status</CardDescription >
243242 </div >
244243 <Button variant =" outline" @click =" refreshData" >
245- <RefreshCw class = " w-4 h -4 mr-2" />
244+ <Icon name = " lucide:refresh-cw " class = " size -4 mr-2" />
246245 Refresh
247246 </Button >
248247 </div >
249248 </CardHeader >
250249 <CardContent >
251250 <div class =" text-center py-8 text-muted-foreground" >
252- <BarChart3 class =" h-12 w-12 mx-auto mb-4" />
251+ <Icon name = " lucide:bar-chart-3 " class =" h-12 w-12 mx-auto mb-4" />
253252 <p >Recent notifications feature</p >
254253 <p class =" text-sm" >Coming soon...</p >
255254 </div >
0 commit comments