1
1
"use client" ;
2
2
3
- import { ConnectGmail } from "@/components/inbox/connect-gmail" ;
3
+ // import { ConnectGmail } from "@/components/inbox/connect-gmail";
4
4
import { useUserQuery } from "@/hooks/use-user" ;
5
5
import { getInboxEmail } from "@midday/inbox" ;
6
- import {
7
- Accordion ,
8
- AccordionContent ,
9
- AccordionItem ,
10
- AccordionTrigger ,
11
- } from "@midday/ui/accordion" ;
6
+ // import {
7
+ // Accordion,
8
+ // AccordionContent,
9
+ // AccordionItem,
10
+ // AccordionTrigger,
11
+ // } from "@midday/ui/accordion";
12
12
import { useRouter } from "next/navigation" ;
13
13
import { CopyInput } from "../copy-input" ;
14
14
import { UploadZone } from "./inbox-upload-zone" ;
@@ -27,18 +27,27 @@ export function InboxGetStarted() {
27
27
< div className = "relative z-20 m-auto flex w-full max-w-[380px] flex-col" >
28
28
< div className = "flex w-full flex-col relative" >
29
29
< div className = "pb-4 text-center" >
30
- < h2 className = "font-medium text-lg" > Connect Your Gmail</ h2 >
31
- < p className = "pb-6 text-sm text-[#878787]" >
30
+ { /* <h2 className="font-medium text-lg">Connect Your Gmail</h2> */ }
31
+ < h2 className = "font-medium text-lg" > Automatic reconciliation</ h2 >
32
+ { /* <p className="pb-6 text-sm text-[#878787]">
32
33
Connect your Gmail to automatically import receipts and
33
34
invoices. We'll extract the data and match it to your
34
35
transactions seamlessly.
36
+ </p> */ }
37
+
38
+ < p className = "pb-6 text-sm text-[#878787]" >
39
+ Forward invoices and receipts to your personalized email for
40
+ automatic reconciliation and smart transaction matching.
35
41
</ p >
36
42
</ div >
37
43
38
44
< div className = "pointer-events-auto flex flex-col space-y-4" >
39
- < ConnectGmail />
40
-
41
45
{ user ?. team ?. inboxId && (
46
+ < CopyInput value = { getInboxEmail ( user . team . inboxId ) } />
47
+ ) }
48
+ { /* <ConnectGmail /> */ }
49
+
50
+ { /* {user?.team?.inboxId && (
42
51
<Accordion
43
52
type="single"
44
53
collapsible
@@ -55,13 +64,18 @@ export function InboxGetStarted() {
55
64
</AccordionContent>
56
65
</AccordionItem>
57
66
</Accordion>
58
- ) }
67
+ )} */ }
59
68
</ div >
60
69
61
70
< div className = "text-center mt-8" >
62
- < p className = "text-xs text-[#878787]" >
71
+ { /* <p className="text-xs text-[#878787]">
63
72
You can also forward receipts to your unique Midday email or
64
73
drag and drop files here
74
+ </p> */ }
75
+
76
+ < p className = "text-xs text-[#878787]" >
77
+ You can also just drag and drop files here for automatic
78
+ reconciliation.
65
79
</ p >
66
80
</ div >
67
81
</ div >
0 commit comments