+
+
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..d3413111
--- /dev/null
+++ b/app/components/pub/base/summary-card.vue
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ props.stat.title }}
+
+
+
+
+ {{ props.stat.metric.toLocaleString('id-ID') }}
+
+
+
+
+ {{ props.stat.trend.toFixed(1) }}%
+
+
+ {{ timeFrame }}
+
+
+
+
+
+