Commit b1d0480 1 parent 02dedae commit b1d0480 Copy full SHA for b1d0480
File tree 2 files changed +121
-7
lines changed
2 files changed +121
-7
lines changed Original file line number Diff line number Diff line change 1
1
import { Contributors } from '@/app/contributors'
2
2
import { StatsDisplay } from '@/app/stats-display'
3
3
import { TrackPage } from '@/components/track-page'
4
+ import { Badge } from '@/components/ui/badge'
4
5
import { Button } from '@/components/ui/button'
5
6
import {
6
7
BarChartHorizontalBig ,
@@ -11,9 +12,9 @@ import {
11
12
Github ,
12
13
List ,
13
14
LucideIcon ,
14
- Share ,
15
15
ShieldX ,
16
16
Users ,
17
+ Wand2 ,
17
18
} from 'lucide-react'
18
19
import Link from 'next/link'
19
20
import { ReactNode } from 'react'
@@ -84,16 +85,17 @@ export default function HomePage() {
84
85
name = "Receipts"
85
86
description = "Attach receipt images to expenses."
86
87
/>
88
+ < Feature
89
+ Icon = { Wand2 }
90
+ name = "AI Scan"
91
+ description = "Scan receipts to create expenses faster."
92
+ beta
93
+ />
87
94
< Feature
88
95
Icon = { Divide }
89
96
name = "Advanced split"
90
97
description = "Split expenses by percentage, shares or amount."
91
98
/>
92
- < Feature
93
- Icon = { Share }
94
- name = "Share"
95
- description = "Send the group link to participants."
96
- />
97
99
< Feature
98
100
Icon = { BarChartHorizontalBig }
99
101
name = "Balances"
@@ -157,13 +159,20 @@ function Feature({
157
159
name,
158
160
Icon,
159
161
description,
162
+ beta = false ,
160
163
} : {
161
164
name : ReactNode
162
165
Icon : LucideIcon
163
166
description : ReactNode
167
+ beta ?: boolean
164
168
} ) {
165
169
return (
166
- < div className = "bg-card border rounded-md p-4 flex flex-col gap-2" >
170
+ < div className = "bg-card border rounded-md p-4 flex flex-col gap-2 relative" >
171
+ { beta && (
172
+ < Badge className = "absolute top-4 right-4 bg-pink-700 hover:bg-pink-600 dark:bg-pink-500 dark:hover:bg-pink-600" >
173
+ Beta
174
+ </ Badge >
175
+ ) }
167
176
< Icon className = "w-8 h-8" />
168
177
< div >
169
178
< strong > { name } </ strong >
You can’t perform that action at this time.
0 commit comments