diff --git a/app/components/pub/base/summary-card.type.ts b/app/components/pub/base/summary-card.type.ts new file mode 100644 index 00000000..64304eaf --- /dev/null +++ b/app/components/pub/base/summary-card.type.ts @@ -0,0 +1,7 @@ +export interface Summary { + title: string + icon: Component + metric: number + trend: number + timeframe: 'yearly' | 'monthly' | 'weekly' | 'daily' +} diff --git a/app/components/pub/base/summary-card.vue b/app/components/pub/base/summary-card.vue new file mode 100644 index 00000000..411bb6fc --- /dev/null +++ b/app/components/pub/base/summary-card.vue @@ -0,0 +1,71 @@ + + + + +