From e2f2224741cb63beb0b570585098eb4b9009e72d Mon Sep 17 00:00:00 2001 From: prateek-pareek <97360950+prateek-pareek@users.noreply.github.com> Date: Tue, 9 Jul 2024 22:38:57 +0530 Subject: [PATCH 1/4] push code --- components/ui/form-create.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/components/ui/form-create.tsx b/components/ui/form-create.tsx index 9ab073d..2f9a41b 100644 --- a/components/ui/form-create.tsx +++ b/components/ui/form-create.tsx @@ -52,7 +52,6 @@ export default function Form({ channels }: { channels: any[] }) { if (uploadedFile) { formDataObj.append('uploadedFileId', uploadedFile.id); } - console.log('Form data:', Array.from(formDataObj.entries())); try { const validatedData = schema.parse({ ...formData, From 4ea0c933355f494ed532458ce2a6578fe722e4cb Mon Sep 17 00:00:00 2001 From: prateek-pareek <97360950+prateek-pareek@users.noreply.github.com> Date: Wed, 10 Jul 2024 04:01:57 +0530 Subject: [PATCH 2/4] fix --- app/(auth)/layout.tsx | 38 + app/(auth)/signin-popup/page.tsx | 30 + app/(root)/connect/page.tsx | 8 + app/(root)/forget-passwd/page.tsx | 9 + app/(root)/payment/page.tsx | 5 + app/(root)/settings/company-details/page.tsx | 119 + app/(root)/settings/layout.tsx | 18 + app/(root)/settings/linked-accounts/page.tsx | 10 + app/(root)/settings/page.tsx | 4 + app/(root)/settings/password/page.tsx | 49 + app/(root)/settings/profile/page.tsx | 98 + app/(root)/settings/referral-program/page.tsx | 5 + app/(root)/team-members/page.tsx | 8 + components/component/billing-page.tsx | 78 + .../component/forget-password-page-view.tsx | 33 + components/component/recaptcha-dialog.tsx | 46 + .../component/reset-password-page-view.tsx | 32 + .../component/search-financial-dialog.tsx | 55 + .../component/sigin_page_simple_card.tsx | 226 + .../component/team-members-page-view.tsx | 283 + .../component/user-connect-page-view.tsx | 189 + .../user-satting-page-view-stacked.tsx | 211 + .../component/user-setting-page-view.tsx | 139 + components/ui/BillingCard.tsx | 38 + components/ui/PhoneInput.tsx | 467 ++ components/ui/SettingsButton.tsx | 19 + components/ui/SettingsContainer.tsx | 15 + components/ui/SettingsInput.tsx | 25 + components/ui/SettingsTitle.tsx | 11 + components/ui/Sidebar.tsx | 69 + components/ui/campaigns/campaigns.tsx | 2 +- components/ui/dialog.tsx | 123 + components/ui/form-create.tsx | 19 +- lib/financial-data.ts | 59 + next.config.js | 1 - package.json | 29 +- pages/_app.tsx | 19 + pages/error.tsx | 118 + pages/new-user.tsx | 136 + pages/signin.tsx | 28 + pages/signout.tsx | 80 + pages/signup.tsx | 36 + pages/verify-request.tsx | 41 + public/financial_logos/atb.png | Bin 0 -> 9761 bytes public/financial_logos/cibc.png | Bin 0 -> 4037 bytes public/financial_logos/desjardin.png | Bin 0 -> 18510 bytes public/financial_logos/hsbc.png | Bin 0 -> 41606 bytes public/financial_logos/manulife.png | Bin 0 -> 1570 bytes public/financial_logos/meridian.png | Bin 0 -> 4919 bytes public/financial_logos/paypal.png | Bin 0 -> 6888 bytes public/financial_logos/scotia.png | Bin 0 -> 5973 bytes public/financial_logos/tangerine.png | Bin 0 -> 83081 bytes public/financial_logos/tdbank.png | Bin 0 -> 2420 bytes yarn.lock | 4861 +++++++++++++++++ 54 files changed, 7870 insertions(+), 19 deletions(-) create mode 100644 app/(auth)/layout.tsx create mode 100644 app/(auth)/signin-popup/page.tsx create mode 100644 app/(root)/connect/page.tsx create mode 100644 app/(root)/forget-passwd/page.tsx create mode 100644 app/(root)/payment/page.tsx create mode 100644 app/(root)/settings/company-details/page.tsx create mode 100644 app/(root)/settings/layout.tsx create mode 100644 app/(root)/settings/linked-accounts/page.tsx create mode 100644 app/(root)/settings/page.tsx create mode 100644 app/(root)/settings/password/page.tsx create mode 100644 app/(root)/settings/profile/page.tsx create mode 100644 app/(root)/settings/referral-program/page.tsx create mode 100644 app/(root)/team-members/page.tsx create mode 100644 components/component/billing-page.tsx create mode 100644 components/component/forget-password-page-view.tsx create mode 100644 components/component/recaptcha-dialog.tsx create mode 100644 components/component/reset-password-page-view.tsx create mode 100644 components/component/search-financial-dialog.tsx create mode 100644 components/component/sigin_page_simple_card.tsx create mode 100644 components/component/team-members-page-view.tsx create mode 100644 components/component/user-connect-page-view.tsx create mode 100644 components/component/user-satting-page-view-stacked.tsx create mode 100644 components/component/user-setting-page-view.tsx create mode 100644 components/ui/BillingCard.tsx create mode 100644 components/ui/PhoneInput.tsx create mode 100644 components/ui/SettingsButton.tsx create mode 100644 components/ui/SettingsContainer.tsx create mode 100644 components/ui/SettingsInput.tsx create mode 100644 components/ui/SettingsTitle.tsx create mode 100644 components/ui/Sidebar.tsx create mode 100644 components/ui/dialog.tsx create mode 100644 lib/financial-data.ts create mode 100644 pages/_app.tsx create mode 100644 pages/error.tsx create mode 100644 pages/new-user.tsx create mode 100644 pages/signin.tsx create mode 100644 pages/signout.tsx create mode 100644 pages/signup.tsx create mode 100644 pages/verify-request.tsx create mode 100644 public/financial_logos/atb.png create mode 100644 public/financial_logos/cibc.png create mode 100644 public/financial_logos/desjardin.png create mode 100644 public/financial_logos/hsbc.png create mode 100644 public/financial_logos/manulife.png create mode 100644 public/financial_logos/meridian.png create mode 100644 public/financial_logos/paypal.png create mode 100644 public/financial_logos/scotia.png create mode 100644 public/financial_logos/tangerine.png create mode 100644 public/financial_logos/tdbank.png create mode 100644 yarn.lock diff --git a/app/(auth)/layout.tsx b/app/(auth)/layout.tsx new file mode 100644 index 0000000..5f8db33 --- /dev/null +++ b/app/(auth)/layout.tsx @@ -0,0 +1,38 @@ +import '../globals.css'; + +import { Analytics } from '@vercel/analytics/react'; +import { SessionProvider } from 'next-auth/react'; +import { SpeedInsights } from "@vercel/speed-insights/next" +import { NextUIProvider } from '@nextui-org/react'; +import { ThemeProvider as NextThemesProvider } from "next-themes"; + +export const metadata = { + title: 'Welcome to Mitech', + description: + 'A user admin dashboard configured with Next.js, Postgres, NextAuth, Tailwind CSS, TypeScript, ESLint, and Prettier.' +}; + +export default async function RootLayout({ + children +}: { + children: React.ReactNode; +}) { + + return ( + +
+Photo
++ Choose your financial to get started +
++ Don't see your financial? We support over 14,000 financial + institution.{' '} + +
++ Financial import is available with any paid plan. By connecting + your financial you agree to our{' '} + + Terms of service + +
++ Enter your email address below and we'll send you a link to reset your password. +
++ To connect a financial, please confirm you are 100% human. +
+ + +Enter your email below to reset your password.
++ Not a member?{' '} + + Start a 14 day free trial + +
++ Manage Team Member information for free. You can also assign roles + to collaborate more efficiently.{' '} + + View Roles + +
++ Save time and maintain digital campaigns with team members + + Learn More + +
++ Take advantage of automatically share reports between members of + your team. + + Explore Payroll + +
++ + | ++ Name + | ++ Job Title + | ++ Role + | +
---|---|---|---|
+ + | ++ {item.name} + | ++ {item.jobTitle} + | ++ {item.role} + | +
+ We'd like to hear your thoughts on how we can make working with your + team better.{' '} + + Share Feedback + +
+Manage your account settings and preferences.
+Manage the third-party accounts connected to your profile.
+Add a new third-party account to your profile.
++ This information will be displayed publicly so be careful what you share. +
+ +Connect bank accounts to your account.
+ +Connect applications to your account.
+ ++ Choose what language and date format to use throughout your account. +
+ +Update your profile information.
+Customize your settings and preferences.
+Phone
+ +{title}
+ ++ {item.key} +
++ + {url?.host} + +
+ ), + }, + Configuration: { + status: 500, + heading: "Server error", + message: ( +There is a problem with the server configuration.
+Check the server logs for more information.
+You do not have permission to sign in.
++ + Sign in + +
+The sign in link is no longer valid.
+It may have been used already or it may have expired.
++ {"Compile your account information below."} +
+Are you sure you want to sign out?
++ We've sent instructions to your email address. Please check your inbox and follow the steps to complete your + registration. +
++ + {url.host} + +
+j-~yr5gg1Aiw5vHF;YNZ|1on9OIu41CmO$J{t|6^k!9CbM@I!
zjgPY8%Rfc`&8|R~CP6>TQ?zmwx}3Cy-tCoMRlT@ji!svP`MQIfwkLNirScWA=E$_a
znN&I4(St$0o)iPUuFm}FrOPY#`#tr#Mk#?Z^udzsg`6vY`-gy)HbGBwn!ipBuoxs6
zZZ8JTGy(sSR7~-*=wB)Q#m_6fhN>8@xaP}V` Qg&`kvdH8OjDeoRvS{)4@nJA!
z>M?`E-e*f#rf7jfyb@;XXjqe0D_W_NLybGc-8`-!Ws4)f@){(1-gQswL~1gCU(q-Q
z7lPl1QoGmqX)|L^405g*W1nUnnp)F+gR!f|jWeIgml@4_*j3O>Lu~D022n4py_85R
z)~*f}{+9Eph8CPSm&}lKy_YC{(PLMRDYKe<-hRP>U-=Siqgdmlhi;>$7H^hXG@KD6
z>8@?}=AEi=5Q4womXmf-b%l-{Rm#Z``+Cit`(TEcu}hX&;*liHBnPyT{3ZUAR#xTD
zC1>0waCc3%2~3fc&y6|dZXyLKO__ml2b65q1(p$Yt6aGM=Dn!2E4&^!I%
zZ1^zr?6}*=&Ij4IA9>rQaQrD5?SlQofG>a*2Ysx3jdhHN%PE1rI$u9lD(_Me9dz_!
zNJPA(x_{h5wi_uyx1i^!=t01GZ$+&~5i-36!o8n8JQ{DzKif7jRd1dY|5e=Zf`F!_
z7U<^W_{q%rK$QJKc)~K;&6meXyO#`a36m0i2|DQ;32`*H$Dg@4npu^m7MBwnc@V
z-?U&ZLuHZ``S