@meghpatel-007/next-starter 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +27 -0
- package/README.md +131 -2
- package/bin/index.js +8 -0
- package/package.json +44 -4
- package/src/cli.js +242 -0
- package/src/git.js +25 -0
- package/src/install.js +55 -0
- package/src/scaffold.js +110 -0
- package/src/utils.js +70 -0
- package/template/AGENTS.md +9 -0
- package/template/LICENSE +28 -0
- package/template/README.md +36 -0
- package/template/_gitignore +41 -0
- package/template/components.json +25 -0
- package/template/eslint.config.mjs +11 -0
- package/template/next-env.d.ts +7 -0
- package/template/next.config.ts +59 -0
- package/template/package.json +49 -0
- package/template/postcss.config.mjs +6 -0
- package/template/public/apps.png +0 -0
- package/template/public/customizer.png +0 -0
- package/template/public/dashboard-dark.png +0 -0
- package/template/public/dashboard-light.png +0 -0
- package/template/public/dashboard.png +0 -0
- package/template/public/favicon-dark.png +0 -0
- package/template/public/favicon.png +0 -0
- package/template/public/feature-1-dark.png +0 -0
- package/template/public/feature-1-light.png +0 -0
- package/template/public/feature-2-dark.png +0 -0
- package/template/public/feature-2-light.png +0 -0
- package/template/public/file.svg +1 -0
- package/template/public/globe.svg +1 -0
- package/template/public/hero-images-container.png +0 -0
- package/template/public/next.svg +1 -0
- package/template/public/vercel.svg +1 -0
- package/template/public/window.svg +1 -0
- package/template/src/app/(auth)/errors/forbidden/components/forbidden-error.tsx +36 -0
- package/template/src/app/(auth)/errors/forbidden/page.tsx +5 -0
- package/template/src/app/(auth)/errors/internal-server-error/components/internal-server-error.tsx +36 -0
- package/template/src/app/(auth)/errors/internal-server-error/page.tsx +5 -0
- package/template/src/app/(auth)/errors/not-found/components/not-found-error.tsx +36 -0
- package/template/src/app/(auth)/errors/not-found/page.tsx +5 -0
- package/template/src/app/(auth)/errors/unauthorized/components/unauthorized-error.tsx +36 -0
- package/template/src/app/(auth)/errors/unauthorized/page.tsx +5 -0
- package/template/src/app/(auth)/errors/under-maintenance/components/under-maintenance-error.tsx +33 -0
- package/template/src/app/(auth)/errors/under-maintenance/page.tsx +5 -0
- package/template/src/app/(auth)/forgot-password/components/forgot-password-form-1.tsx +61 -0
- package/template/src/app/(auth)/forgot-password/page.tsx +22 -0
- package/template/src/app/(auth)/forgot-password-2/components/forgot-password-form-2.tsx +38 -0
- package/template/src/app/(auth)/forgot-password-2/page.tsx +25 -0
- package/template/src/app/(auth)/forgot-password-3/components/forgot-password-form-3.tsx +66 -0
- package/template/src/app/(auth)/forgot-password-3/page.tsx +9 -0
- package/template/src/app/(auth)/layout.tsx +14 -0
- package/template/src/app/(auth)/sign-in/components/login-form-1.tsx +143 -0
- package/template/src/app/(auth)/sign-in/page.tsx +22 -0
- package/template/src/app/(auth)/sign-in-2/components/login-form-2.tsx +78 -0
- package/template/src/app/(auth)/sign-in-2/page.tsx +25 -0
- package/template/src/app/(auth)/sign-in-3/components/login-form-3.tsx +130 -0
- package/template/src/app/(auth)/sign-in-3/page.tsx +11 -0
- package/template/src/app/(auth)/sign-up/components/signup-form-1.tsx +245 -0
- package/template/src/app/(auth)/sign-up/page.tsx +22 -0
- package/template/src/app/(auth)/sign-up-2/components/signup-form-2.tsx +89 -0
- package/template/src/app/(auth)/sign-up-2/page.tsx +25 -0
- package/template/src/app/(auth)/sign-up-3/components/signup-form-3.tsx +152 -0
- package/template/src/app/(auth)/sign-up-3/page.tsx +9 -0
- package/template/src/app/(dashboard)/calendar/components/calendar-main.tsx +446 -0
- package/template/src/app/(dashboard)/calendar/components/calendar-sidebar.tsx +78 -0
- package/template/src/app/(dashboard)/calendar/components/calendar-unified.tsx +431 -0
- package/template/src/app/(dashboard)/calendar/components/calendar.tsx +90 -0
- package/template/src/app/(dashboard)/calendar/components/calendars.tsx +265 -0
- package/template/src/app/(dashboard)/calendar/components/date-picker.tsx +56 -0
- package/template/src/app/(dashboard)/calendar/components/event-form.tsx +468 -0
- package/template/src/app/(dashboard)/calendar/components/quick-actions.tsx +159 -0
- package/template/src/app/(dashboard)/calendar/data/calendars.json +37 -0
- package/template/src/app/(dashboard)/calendar/data/event-dates.json +30 -0
- package/template/src/app/(dashboard)/calendar/data/events.json +62 -0
- package/template/src/app/(dashboard)/calendar/data.ts +55 -0
- package/template/src/app/(dashboard)/calendar/page.tsx +10 -0
- package/template/src/app/(dashboard)/calendar/types.ts +20 -0
- package/template/src/app/(dashboard)/calendar/use-calendar.ts +93 -0
- package/template/src/app/(dashboard)/chat/components/chat-header.tsx +266 -0
- package/template/src/app/(dashboard)/chat/components/chat.tsx +212 -0
- package/template/src/app/(dashboard)/chat/components/conversation-list-new.tsx +248 -0
- package/template/src/app/(dashboard)/chat/components/conversation-list.tsx +242 -0
- package/template/src/app/(dashboard)/chat/components/message-input.tsx +235 -0
- package/template/src/app/(dashboard)/chat/components/message-list.tsx +325 -0
- package/template/src/app/(dashboard)/chat/data/conversations.json +92 -0
- package/template/src/app/(dashboard)/chat/data/messages.json +224 -0
- package/template/src/app/(dashboard)/chat/data/users.json +47 -0
- package/template/src/app/(dashboard)/chat/page.tsx +49 -0
- package/template/src/app/(dashboard)/chat/use-chat.ts +149 -0
- package/template/src/app/(dashboard)/dashboard/components/chart-area-interactive.tsx +304 -0
- package/template/src/app/(dashboard)/dashboard/components/data-table.tsx +1156 -0
- package/template/src/app/(dashboard)/dashboard/components/section-cards.tsx +102 -0
- package/template/src/app/(dashboard)/dashboard/data/data.json +614 -0
- package/template/src/app/(dashboard)/dashboard/data/focus-documents-data.json +47 -0
- package/template/src/app/(dashboard)/dashboard/data/key-personnel-data.json +47 -0
- package/template/src/app/(dashboard)/dashboard/data/past-performance-data.json +47 -0
- package/template/src/app/(dashboard)/dashboard/page.tsx +37 -0
- package/template/src/app/(dashboard)/dashboard/schemas/task-schema.ts +13 -0
- package/template/src/app/(dashboard)/dashboard-2/components/customer-insights.tsx +390 -0
- package/template/src/app/(dashboard)/dashboard-2/components/dashboard-header.tsx +103 -0
- package/template/src/app/(dashboard)/dashboard-2/components/metrics-overview.tsx +95 -0
- package/template/src/app/(dashboard)/dashboard-2/components/quick-actions.tsx +50 -0
- package/template/src/app/(dashboard)/dashboard-2/components/recent-transactions.tsx +164 -0
- package/template/src/app/(dashboard)/dashboard-2/components/revenue-breakdown.tsx +269 -0
- package/template/src/app/(dashboard)/dashboard-2/components/sales-chart.tsx +170 -0
- package/template/src/app/(dashboard)/dashboard-2/components/top-products.tsx +140 -0
- package/template/src/app/(dashboard)/dashboard-2/data/dashboard-data.json +39 -0
- package/template/src/app/(dashboard)/dashboard-2/page.tsx +49 -0
- package/template/src/app/(dashboard)/faqs/components/faq-list.tsx +148 -0
- package/template/src/app/(dashboard)/faqs/components/features-grid.tsx +46 -0
- package/template/src/app/(dashboard)/faqs/data/categories.json +10 -0
- package/template/src/app/(dashboard)/faqs/data/faqs.json +278 -0
- package/template/src/app/(dashboard)/faqs/data/features.ts +37 -0
- package/template/src/app/(dashboard)/faqs/page.tsx +16 -0
- package/template/src/app/(dashboard)/layout.tsx +83 -0
- package/template/src/app/(dashboard)/mail/components/account-switcher.tsx +69 -0
- package/template/src/app/(dashboard)/mail/components/mail-display.tsx +290 -0
- package/template/src/app/(dashboard)/mail/components/mail-list.tsx +94 -0
- package/template/src/app/(dashboard)/mail/components/mail.tsx +226 -0
- package/template/src/app/(dashboard)/mail/components/nav.tsx +83 -0
- package/template/src/app/(dashboard)/mail/data.tsx +300 -0
- package/template/src/app/(dashboard)/mail/index.tsx +6 -0
- package/template/src/app/(dashboard)/mail/page.tsx +18 -0
- package/template/src/app/(dashboard)/mail/use-mail.ts +20 -0
- package/template/src/app/(dashboard)/pricing/components/faq-section.tsx +79 -0
- package/template/src/app/(dashboard)/pricing/components/features-grid.tsx +51 -0
- package/template/src/app/(dashboard)/pricing/data/faqs.json +32 -0
- package/template/src/app/(dashboard)/pricing/data/features.ts +61 -0
- package/template/src/app/(dashboard)/pricing/page.tsx +24 -0
- package/template/src/app/(dashboard)/settings/account/page.tsx +276 -0
- package/template/src/app/(dashboard)/settings/appearance/page.tsx +313 -0
- package/template/src/app/(dashboard)/settings/billing/components/billing-history-card.tsx +53 -0
- package/template/src/app/(dashboard)/settings/billing/components/current-plan-card.tsx +82 -0
- package/template/src/app/(dashboard)/settings/billing/data/billing-history.json +23 -0
- package/template/src/app/(dashboard)/settings/billing/data/current-plan.json +12 -0
- package/template/src/app/(dashboard)/settings/billing/page.tsx +57 -0
- package/template/src/app/(dashboard)/settings/connections/page.tsx +366 -0
- package/template/src/app/(dashboard)/settings/notifications/page.tsx +845 -0
- package/template/src/app/(dashboard)/settings/user/page.tsx +415 -0
- package/template/src/app/(dashboard)/tasks/components/add-task-modal.tsx +291 -0
- package/template/src/app/(dashboard)/tasks/components/columns.tsx +159 -0
- package/template/src/app/(dashboard)/tasks/components/data-table-column-header.tsx +46 -0
- package/template/src/app/(dashboard)/tasks/components/data-table-faceted-filter.tsx +164 -0
- package/template/src/app/(dashboard)/tasks/components/data-table-pagination.tsx +107 -0
- package/template/src/app/(dashboard)/tasks/components/data-table-row-actions.tsx +72 -0
- package/template/src/app/(dashboard)/tasks/components/data-table-toolbar.tsx +189 -0
- package/template/src/app/(dashboard)/tasks/components/data-table-view-options.tsx +67 -0
- package/template/src/app/(dashboard)/tasks/components/data-table.tsx +122 -0
- package/template/src/app/(dashboard)/tasks/components/user-nav.tsx +70 -0
- package/template/src/app/(dashboard)/tasks/data/data.tsx +66 -0
- package/template/src/app/(dashboard)/tasks/data/schema.ts +13 -0
- package/template/src/app/(dashboard)/tasks/data/tasks.json +352 -0
- package/template/src/app/(dashboard)/tasks/page.tsx +204 -0
- package/template/src/app/(dashboard)/users/components/data-table.tsx +600 -0
- package/template/src/app/(dashboard)/users/components/stat-cards.tsx +91 -0
- package/template/src/app/(dashboard)/users/components/user-form-dialog.tsx +291 -0
- package/template/src/app/(dashboard)/users/data.json +182 -0
- package/template/src/app/(dashboard)/users/page.tsx +84 -0
- package/template/src/app/favicon.ico +0 -0
- package/template/src/app/globals.css +193 -0
- package/template/src/app/landing/components/about-section.tsx +125 -0
- package/template/src/app/landing/components/blog-section.tsx +86 -0
- package/template/src/app/landing/components/contact-section.tsx +299 -0
- package/template/src/app/landing/components/cta-section.tsx +121 -0
- package/template/src/app/landing/components/faq-section.tsx +125 -0
- package/template/src/app/landing/components/features-section.tsx +221 -0
- package/template/src/app/landing/components/footer.tsx +273 -0
- package/template/src/app/landing/components/hero-section.tsx +121 -0
- package/template/src/app/landing/components/landing-theme-customizer.tsx +563 -0
- package/template/src/app/landing/components/logo-carousel.tsx +130 -0
- package/template/src/app/landing/components/navbar.tsx +367 -0
- package/template/src/app/landing/components/pricing-section.tsx +214 -0
- package/template/src/app/landing/components/stats-section.tsx +71 -0
- package/template/src/app/landing/components/team-section.tsx +224 -0
- package/template/src/app/landing/components/testimonials-section.tsx +148 -0
- package/template/src/app/landing/landing-page-content.tsx +60 -0
- package/template/src/app/landing/page.tsx +6 -0
- package/template/src/app/layout.tsx +31 -0
- package/template/src/app/loading.tsx +10 -0
- package/template/src/app/not-found.tsx +20 -0
- package/template/src/app/page.tsx +32 -0
- package/template/src/assets/react.svg +1 -0
- package/template/src/components/app-sidebar.tsx +241 -0
- package/template/src/components/color-picker.tsx +91 -0
- package/template/src/components/command-search.tsx +251 -0
- package/template/src/components/dot-pattern.tsx +131 -0
- package/template/src/components/dynamic-imports.ts +28 -0
- package/template/src/components/icons/brand-icons.tsx +114 -0
- package/template/src/components/image-3d.tsx +90 -0
- package/template/src/components/landing/mega-menu.tsx +143 -0
- package/template/src/components/layouts/base-layout.tsx +109 -0
- package/template/src/components/logo.tsx +44 -0
- package/template/src/components/mode-toggle.tsx +76 -0
- package/template/src/components/nav-main.tsx +121 -0
- package/template/src/components/nav-secondary.tsx +43 -0
- package/template/src/components/nav-user.tsx +122 -0
- package/template/src/components/pricing-plans.tsx +181 -0
- package/template/src/components/sidebar-notification.tsx +59 -0
- package/template/src/components/site-footer.tsx +30 -0
- package/template/src/components/site-header.tsx +87 -0
- package/template/src/components/theme-customizer/circular-transition.css +115 -0
- package/template/src/components/theme-customizer/import-modal.tsx +128 -0
- package/template/src/components/theme-customizer/index.tsx +229 -0
- package/template/src/components/theme-customizer/layout-tab.tsx +274 -0
- package/template/src/components/theme-customizer/main.tsx +7 -0
- package/template/src/components/theme-customizer/theme-tab.tsx +403 -0
- package/template/src/components/theme-customizer.tsx +6 -0
- package/template/src/components/theme-provider.tsx +62 -0
- package/template/src/components/ui/accordion.tsx +77 -0
- package/template/src/components/ui/alert.tsx +75 -0
- package/template/src/components/ui/avatar.tsx +108 -0
- package/template/src/components/ui/badge.tsx +51 -0
- package/template/src/components/ui/breadcrumb.tsx +121 -0
- package/template/src/components/ui/button.tsx +57 -0
- package/template/src/components/ui/calendar.tsx +228 -0
- package/template/src/components/ui/card-decorator.tsx +20 -0
- package/template/src/components/ui/card.tsx +102 -0
- package/template/src/components/ui/chart.tsx +372 -0
- package/template/src/components/ui/checkbox.tsx +27 -0
- package/template/src/components/ui/collapsible.tsx +21 -0
- package/template/src/components/ui/command.tsx +193 -0
- package/template/src/components/ui/dialog.tsx +156 -0
- package/template/src/components/ui/drawer.tsx +224 -0
- package/template/src/components/ui/dropdown-menu.tsx +271 -0
- package/template/src/components/ui/field.tsx +238 -0
- package/template/src/components/ui/hover-card.tsx +50 -0
- package/template/src/components/ui/input-group.tsx +158 -0
- package/template/src/components/ui/input.tsx +19 -0
- package/template/src/components/ui/kbd.tsx +26 -0
- package/template/src/components/ui/label.tsx +19 -0
- package/template/src/components/ui/loading-spinner.tsx +31 -0
- package/template/src/components/ui/navigation-menu.tsx +170 -0
- package/template/src/components/ui/popover.tsx +89 -0
- package/template/src/components/ui/progress.tsx +82 -0
- package/template/src/components/ui/radio-group.tsx +37 -0
- package/template/src/components/ui/resizable.tsx +49 -0
- package/template/src/components/ui/scroll-area.tsx +54 -0
- package/template/src/components/ui/select.tsx +201 -0
- package/template/src/components/ui/separator.tsx +24 -0
- package/template/src/components/ui/sheet.tsx +134 -0
- package/template/src/components/ui/sidebar.tsx +726 -0
- package/template/src/components/ui/skeleton.tsx +13 -0
- package/template/src/components/ui/switch.tsx +31 -0
- package/template/src/components/ui/table.tsx +115 -0
- package/template/src/components/ui/tabs.tsx +81 -0
- package/template/src/components/ui/textarea.tsx +17 -0
- package/template/src/components/ui/toast.tsx +229 -0
- package/template/src/components/ui/toggle-group.tsx +89 -0
- package/template/src/components/ui/toggle.tsx +44 -0
- package/template/src/components/ui/tooltip.tsx +65 -0
- package/template/src/components/upgrade-to-pro-button.tsx +107 -0
- package/template/src/config/site.ts +8 -0
- package/template/src/config/theme-customizer-constants.ts +56 -0
- package/template/src/config/theme-data.ts +29 -0
- package/template/src/contexts/sidebar-config.ts +16 -0
- package/template/src/contexts/sidebar-context.tsx +33 -0
- package/template/src/contexts/theme-context.ts +16 -0
- package/template/src/hooks/use-circular-transition.ts +83 -0
- package/template/src/hooks/use-fullscreen.ts +43 -0
- package/template/src/hooks/use-mobile.ts +18 -0
- package/template/src/hooks/use-sidebar-config.ts +15 -0
- package/template/src/hooks/use-theme-manager.ts +218 -0
- package/template/src/hooks/use-theme.ts +11 -0
- package/template/src/lib/data-table.ts +54 -0
- package/template/src/lib/fonts.ts +8 -0
- package/template/src/lib/utils.ts +7 -0
- package/template/src/proxy.ts +38 -0
- package/template/src/types/theme-customizer.ts +45 -0
- package/template/src/types/theme.ts +58 -0
- package/template/src/utils/shadcn-ui-theme-presets.ts +741 -0
- package/template/src/utils/tweakcn-theme-presets.ts +3425 -0
- package/template/tsconfig.json +41 -0
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
|
|
3
|
+
import { zodResolver } from "@hookform/resolvers/zod"
|
|
4
|
+
import { Controller, useForm } from "react-hook-form"
|
|
5
|
+
import { z } from "zod"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
import {
|
|
8
|
+
Field,
|
|
9
|
+
FieldError,
|
|
10
|
+
FieldGroup,
|
|
11
|
+
FieldLabel,
|
|
12
|
+
} from "@/components/ui/field"
|
|
13
|
+
import { Button } from "@/components/ui/button"
|
|
14
|
+
import {
|
|
15
|
+
Card,
|
|
16
|
+
CardContent,
|
|
17
|
+
CardDescription,
|
|
18
|
+
CardHeader,
|
|
19
|
+
CardTitle,
|
|
20
|
+
} from "@/components/ui/card"
|
|
21
|
+
import { Input } from "@/components/ui/input"
|
|
22
|
+
import { Checkbox } from "@/components/ui/checkbox"
|
|
23
|
+
|
|
24
|
+
const signupFormSchema = z
|
|
25
|
+
.object({
|
|
26
|
+
firstName: z.string().min(1, "First name is required"),
|
|
27
|
+
lastName: z.string().min(1, "Last name is required"),
|
|
28
|
+
email: z.string().email("Invalid email address"),
|
|
29
|
+
password: z.string().min(6, "Password must be at least 6 characters"),
|
|
30
|
+
confirmPassword: z.string().min(6, "Please confirm your password"),
|
|
31
|
+
terms: z
|
|
32
|
+
.boolean()
|
|
33
|
+
.refine((val) => val === true, "You must agree to the terms"),
|
|
34
|
+
})
|
|
35
|
+
.refine((data) => data.password === data.confirmPassword, {
|
|
36
|
+
message: "Passwords don't match",
|
|
37
|
+
path: ["confirmPassword"],
|
|
38
|
+
})
|
|
39
|
+
|
|
40
|
+
type SignupFormValues = z.infer<typeof signupFormSchema>
|
|
41
|
+
|
|
42
|
+
export function SignupForm1({
|
|
43
|
+
className,
|
|
44
|
+
...props
|
|
45
|
+
}: React.ComponentProps<"div">) {
|
|
46
|
+
const form = useForm<SignupFormValues>({
|
|
47
|
+
resolver: zodResolver(signupFormSchema),
|
|
48
|
+
defaultValues: {
|
|
49
|
+
firstName: "",
|
|
50
|
+
lastName: "",
|
|
51
|
+
email: "",
|
|
52
|
+
password: "",
|
|
53
|
+
confirmPassword: "",
|
|
54
|
+
terms: false,
|
|
55
|
+
},
|
|
56
|
+
})
|
|
57
|
+
|
|
58
|
+
function onSubmit(data: SignupFormValues) {
|
|
59
|
+
console.log("Signup attempt:", data)
|
|
60
|
+
// Here you would typically handle the signup
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return (
|
|
64
|
+
<div className={cn("flex flex-col gap-6", className)} {...props}>
|
|
65
|
+
<Card>
|
|
66
|
+
<CardHeader className="text-center">
|
|
67
|
+
<CardTitle className="text-xl">Create Account</CardTitle>
|
|
68
|
+
<CardDescription>
|
|
69
|
+
Enter your information to create a new account
|
|
70
|
+
</CardDescription>
|
|
71
|
+
</CardHeader>
|
|
72
|
+
<CardContent>
|
|
73
|
+
<form onSubmit={form.handleSubmit(onSubmit)}>
|
|
74
|
+
<div className="grid gap-6">
|
|
75
|
+
<FieldGroup className="grid gap-4">
|
|
76
|
+
<FieldGroup className="grid grid-cols-2 gap-3">
|
|
77
|
+
<Controller
|
|
78
|
+
control={form.control}
|
|
79
|
+
name="firstName"
|
|
80
|
+
render={({ field, fieldState }) => (
|
|
81
|
+
<Field data-invalid={fieldState.invalid}>
|
|
82
|
+
<FieldLabel htmlFor="signup-form-1-first-name">
|
|
83
|
+
First Name
|
|
84
|
+
</FieldLabel>
|
|
85
|
+
|
|
86
|
+
<Input
|
|
87
|
+
id="signup-form-1-first-name"
|
|
88
|
+
aria-invalid={fieldState.invalid}
|
|
89
|
+
placeholder="John"
|
|
90
|
+
{...field}
|
|
91
|
+
/>
|
|
92
|
+
{fieldState.invalid && (
|
|
93
|
+
<FieldError errors={[fieldState.error]} />
|
|
94
|
+
)}
|
|
95
|
+
</Field>
|
|
96
|
+
)}
|
|
97
|
+
/>
|
|
98
|
+
<Controller
|
|
99
|
+
control={form.control}
|
|
100
|
+
name="lastName"
|
|
101
|
+
render={({ field, fieldState }) => (
|
|
102
|
+
<Field data-invalid={fieldState.invalid}>
|
|
103
|
+
<FieldLabel htmlFor="signup-form-1-last-name">
|
|
104
|
+
Last Name
|
|
105
|
+
</FieldLabel>
|
|
106
|
+
|
|
107
|
+
<Input
|
|
108
|
+
id="signup-form-1-last-name"
|
|
109
|
+
aria-invalid={fieldState.invalid}
|
|
110
|
+
placeholder="Doe"
|
|
111
|
+
{...field}
|
|
112
|
+
/>
|
|
113
|
+
{fieldState.invalid && (
|
|
114
|
+
<FieldError errors={[fieldState.error]} />
|
|
115
|
+
)}
|
|
116
|
+
</Field>
|
|
117
|
+
)}
|
|
118
|
+
/>
|
|
119
|
+
</FieldGroup>
|
|
120
|
+
<Controller
|
|
121
|
+
control={form.control}
|
|
122
|
+
name="email"
|
|
123
|
+
render={({ field, fieldState }) => (
|
|
124
|
+
<Field data-invalid={fieldState.invalid}>
|
|
125
|
+
<FieldLabel htmlFor="signup-form-1-email">
|
|
126
|
+
Email
|
|
127
|
+
</FieldLabel>
|
|
128
|
+
|
|
129
|
+
<Input
|
|
130
|
+
id="signup-form-1-email"
|
|
131
|
+
aria-invalid={fieldState.invalid}
|
|
132
|
+
type="email"
|
|
133
|
+
placeholder="m@example.com"
|
|
134
|
+
{...field}
|
|
135
|
+
/>
|
|
136
|
+
{fieldState.invalid && (
|
|
137
|
+
<FieldError errors={[fieldState.error]} />
|
|
138
|
+
)}
|
|
139
|
+
</Field>
|
|
140
|
+
)}
|
|
141
|
+
/>
|
|
142
|
+
<Controller
|
|
143
|
+
control={form.control}
|
|
144
|
+
name="password"
|
|
145
|
+
render={({ field, fieldState }) => (
|
|
146
|
+
<Field data-invalid={fieldState.invalid}>
|
|
147
|
+
<FieldLabel htmlFor="signup-form-1-password">
|
|
148
|
+
Password
|
|
149
|
+
</FieldLabel>
|
|
150
|
+
|
|
151
|
+
<Input
|
|
152
|
+
id="signup-form-1-password"
|
|
153
|
+
aria-invalid={fieldState.invalid}
|
|
154
|
+
type="password"
|
|
155
|
+
{...field}
|
|
156
|
+
/>
|
|
157
|
+
{fieldState.invalid && (
|
|
158
|
+
<FieldError errors={[fieldState.error]} />
|
|
159
|
+
)}
|
|
160
|
+
</Field>
|
|
161
|
+
)}
|
|
162
|
+
/>
|
|
163
|
+
<Controller
|
|
164
|
+
control={form.control}
|
|
165
|
+
name="confirmPassword"
|
|
166
|
+
render={({ field, fieldState }) => (
|
|
167
|
+
<Field data-invalid={fieldState.invalid}>
|
|
168
|
+
<FieldLabel htmlFor="signup-form-1-confirm-password">
|
|
169
|
+
Confirm Password
|
|
170
|
+
</FieldLabel>
|
|
171
|
+
|
|
172
|
+
<Input
|
|
173
|
+
id="signup-form-1-confirm-password"
|
|
174
|
+
aria-invalid={fieldState.invalid}
|
|
175
|
+
type="password"
|
|
176
|
+
{...field}
|
|
177
|
+
/>
|
|
178
|
+
{fieldState.invalid && (
|
|
179
|
+
<FieldError errors={[fieldState.error]} />
|
|
180
|
+
)}
|
|
181
|
+
</Field>
|
|
182
|
+
)}
|
|
183
|
+
/>
|
|
184
|
+
<Controller
|
|
185
|
+
control={form.control}
|
|
186
|
+
name="terms"
|
|
187
|
+
render={({ field, fieldState }) => (
|
|
188
|
+
<Field
|
|
189
|
+
data-invalid={fieldState.invalid}
|
|
190
|
+
orientation="horizontal"
|
|
191
|
+
>
|
|
192
|
+
<Checkbox
|
|
193
|
+
id="signup-form-1-terms"
|
|
194
|
+
aria-invalid={fieldState.invalid}
|
|
195
|
+
checked={field.value}
|
|
196
|
+
onCheckedChange={field.onChange}
|
|
197
|
+
className="mt-0.5"
|
|
198
|
+
/>
|
|
199
|
+
<FieldLabel
|
|
200
|
+
htmlFor="signup-form-1-terms"
|
|
201
|
+
className="text-sm"
|
|
202
|
+
>
|
|
203
|
+
I agree to the terms of service and privacy policy
|
|
204
|
+
</FieldLabel>
|
|
205
|
+
</Field>
|
|
206
|
+
)}
|
|
207
|
+
/>
|
|
208
|
+
<Button type="submit" className="w-full cursor-pointer">
|
|
209
|
+
Create Account
|
|
210
|
+
</Button>
|
|
211
|
+
|
|
212
|
+
<Button
|
|
213
|
+
variant="outline"
|
|
214
|
+
className="w-full cursor-pointer"
|
|
215
|
+
type="button"
|
|
216
|
+
>
|
|
217
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
218
|
+
<path
|
|
219
|
+
d="M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"
|
|
220
|
+
fill="currentColor"
|
|
221
|
+
/>
|
|
222
|
+
</svg>
|
|
223
|
+
Sign up with Google
|
|
224
|
+
</Button>
|
|
225
|
+
</FieldGroup>
|
|
226
|
+
<div className="text-center text-sm">
|
|
227
|
+
Already have an account?{" "}
|
|
228
|
+
<a
|
|
229
|
+
href="/auth/sign-in"
|
|
230
|
+
className="underline underline-offset-4"
|
|
231
|
+
>
|
|
232
|
+
Sign in
|
|
233
|
+
</a>
|
|
234
|
+
</div>
|
|
235
|
+
</div>
|
|
236
|
+
</form>
|
|
237
|
+
</CardContent>
|
|
238
|
+
</Card>
|
|
239
|
+
<div className="text-muted-foreground *:[a]:hover:text-primary text-center text-xs text-balance *:[a]:underline *:[a]:underline-offset-4">
|
|
240
|
+
By clicking continue, you agree to our <a href="#">Terms of Service</a>{" "}
|
|
241
|
+
and <a href="#">Privacy Policy</a>.
|
|
242
|
+
</div>
|
|
243
|
+
</div>
|
|
244
|
+
)
|
|
245
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SignupForm1 } from "./components/signup-form-1"
|
|
2
|
+
import { Logo } from "@/components/logo"
|
|
3
|
+
import Link from "next/link"
|
|
4
|
+
|
|
5
|
+
export default function SignUpPage() {
|
|
6
|
+
return (
|
|
7
|
+
<div className="bg-muted flex min-h-svh flex-col items-center justify-center gap-6 p-6 md:p-10">
|
|
8
|
+
<div className="flex w-full max-w-sm flex-col gap-6">
|
|
9
|
+
<Link
|
|
10
|
+
href="/"
|
|
11
|
+
className="flex items-center gap-2 self-center font-medium"
|
|
12
|
+
>
|
|
13
|
+
<div className="bg-primary text-primary-foreground flex size-9 items-center justify-center rounded-md">
|
|
14
|
+
<Logo size={24} />
|
|
15
|
+
</div>
|
|
16
|
+
Next-starter
|
|
17
|
+
</Link>
|
|
18
|
+
<SignupForm1 />
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
)
|
|
22
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
|
|
3
|
+
import { cn } from "@/lib/utils"
|
|
4
|
+
import { Field, FieldGroup, FieldLabel } from "@/components/ui/field"
|
|
5
|
+
import { Button } from "@/components/ui/button"
|
|
6
|
+
import { Input } from "@/components/ui/input"
|
|
7
|
+
import { Checkbox } from "@/components/ui/checkbox"
|
|
8
|
+
|
|
9
|
+
export function SignupForm2({
|
|
10
|
+
className,
|
|
11
|
+
...props
|
|
12
|
+
}: React.ComponentProps<"form">) {
|
|
13
|
+
return (
|
|
14
|
+
<form className={cn("flex flex-col gap-6", className)} {...props}>
|
|
15
|
+
<div className="flex flex-col items-center gap-2 text-center">
|
|
16
|
+
<h1 className="text-2xl font-bold">Create your account</h1>
|
|
17
|
+
<p className="text-muted-foreground text-sm text-balance">
|
|
18
|
+
Enter your information to create a new account
|
|
19
|
+
</p>
|
|
20
|
+
</div>
|
|
21
|
+
<FieldGroup className="grid gap-6">
|
|
22
|
+
<FieldGroup className="grid grid-cols-2 gap-3">
|
|
23
|
+
<Field>
|
|
24
|
+
<FieldLabel htmlFor="firstName">First Name</FieldLabel>
|
|
25
|
+
<Input id="firstName" placeholder="John" required />
|
|
26
|
+
</Field>
|
|
27
|
+
<Field>
|
|
28
|
+
<FieldLabel htmlFor="lastName">Last Name</FieldLabel>
|
|
29
|
+
<Input id="lastName" placeholder="Doe" required />
|
|
30
|
+
</Field>
|
|
31
|
+
</FieldGroup>
|
|
32
|
+
<Field>
|
|
33
|
+
<FieldLabel htmlFor="email">Email</FieldLabel>
|
|
34
|
+
<Input id="email" type="email" placeholder="m@example.com" required />
|
|
35
|
+
</Field>
|
|
36
|
+
<Field>
|
|
37
|
+
<FieldLabel htmlFor="password">Password</FieldLabel>
|
|
38
|
+
<Input id="password" type="password" required />
|
|
39
|
+
</Field>
|
|
40
|
+
<Field>
|
|
41
|
+
<FieldLabel htmlFor="confirmPassword">Confirm Password</FieldLabel>
|
|
42
|
+
<Input id="confirmPassword" type="password" required />
|
|
43
|
+
</Field>
|
|
44
|
+
<Field orientation="horizontal">
|
|
45
|
+
<Checkbox id="terms" required />
|
|
46
|
+
<FieldLabel htmlFor="terms" className="text-sm">
|
|
47
|
+
I agree to the{" "}
|
|
48
|
+
<a
|
|
49
|
+
href="#"
|
|
50
|
+
className="underline underline-offset-4 hover:text-primary"
|
|
51
|
+
>
|
|
52
|
+
Terms of Service
|
|
53
|
+
</a>{" "}
|
|
54
|
+
and{" "}
|
|
55
|
+
<a
|
|
56
|
+
href="#"
|
|
57
|
+
className="underline underline-offset-4 hover:text-primary"
|
|
58
|
+
>
|
|
59
|
+
Privacy Policy
|
|
60
|
+
</a>
|
|
61
|
+
</FieldLabel>
|
|
62
|
+
</Field>
|
|
63
|
+
<Button type="submit" className="w-full cursor-pointer">
|
|
64
|
+
Create Account
|
|
65
|
+
</Button>
|
|
66
|
+
<div className="after:border-border relative text-center text-sm after:absolute after:inset-0 after:top-1/2 after:z-0 after:flex after:items-center after:border-t">
|
|
67
|
+
<span className="bg-background text-muted-foreground relative z-10 px-2">
|
|
68
|
+
Or continue with
|
|
69
|
+
</span>
|
|
70
|
+
</div>
|
|
71
|
+
<Button variant="outline" className="w-full cursor-pointer">
|
|
72
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
73
|
+
<path
|
|
74
|
+
d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"
|
|
75
|
+
fill="currentColor"
|
|
76
|
+
/>
|
|
77
|
+
</svg>
|
|
78
|
+
Sign up with GitHub
|
|
79
|
+
</Button>
|
|
80
|
+
</FieldGroup>
|
|
81
|
+
<div className="text-center text-sm">
|
|
82
|
+
Already have an account?{" "}
|
|
83
|
+
<a href="/auth/sign-in-2" className="underline underline-offset-4">
|
|
84
|
+
Sign in
|
|
85
|
+
</a>
|
|
86
|
+
</div>
|
|
87
|
+
</form>
|
|
88
|
+
)
|
|
89
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SignupForm2 } from "./components/signup-form-2"
|
|
2
|
+
import { Logo } from "@/components/logo"
|
|
3
|
+
import Link from "next/link"
|
|
4
|
+
|
|
5
|
+
export default function SignUp2Page() {
|
|
6
|
+
return (
|
|
7
|
+
<div className="min-h-svh">
|
|
8
|
+
<div className="flex flex-col gap-4 p-6 md:p-10">
|
|
9
|
+
<div className="flex justify-center gap-2 md:justify-start">
|
|
10
|
+
<Link href="/" className="flex items-center gap-2 font-medium">
|
|
11
|
+
<div className="bg-primary text-primary-foreground flex size-8 items-center justify-center rounded-md">
|
|
12
|
+
<Logo size={24} />
|
|
13
|
+
</div>
|
|
14
|
+
Next-starter
|
|
15
|
+
</Link>
|
|
16
|
+
</div>
|
|
17
|
+
<div className="flex flex-1 items-center justify-center">
|
|
18
|
+
<div className="w-full max-w-md">
|
|
19
|
+
<SignupForm2 />
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
)
|
|
25
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
|
|
3
|
+
import { cn } from "@/lib/utils"
|
|
4
|
+
import { Field, FieldGroup, FieldLabel } from "@/components/ui/field"
|
|
5
|
+
import { Button } from "@/components/ui/button"
|
|
6
|
+
import { Card, CardContent } from "@/components/ui/card"
|
|
7
|
+
import { Input } from "@/components/ui/input"
|
|
8
|
+
import { Checkbox } from "@/components/ui/checkbox"
|
|
9
|
+
import { Logo } from "@/components/logo"
|
|
10
|
+
import Link from "next/link"
|
|
11
|
+
|
|
12
|
+
export function SignupForm3({
|
|
13
|
+
className,
|
|
14
|
+
...props
|
|
15
|
+
}: React.ComponentProps<"div">) {
|
|
16
|
+
return (
|
|
17
|
+
<div className={cn("flex flex-col gap-6", className)} {...props}>
|
|
18
|
+
<Card className="overflow-hidden p-0">
|
|
19
|
+
<CardContent className="p-0">
|
|
20
|
+
<form className="p-6 md:p-8">
|
|
21
|
+
<FieldGroup className="flex flex-col gap-6">
|
|
22
|
+
<div className="flex justify-center mb-2">
|
|
23
|
+
<Link href="/" className="flex items-center gap-2 font-medium">
|
|
24
|
+
<div className="bg-primary text-primary-foreground flex size-8 items-center justify-center rounded-md">
|
|
25
|
+
<Logo size={24} />
|
|
26
|
+
</div>
|
|
27
|
+
<span className="text-xl">Next-starter</span>
|
|
28
|
+
</Link>
|
|
29
|
+
</div>
|
|
30
|
+
<div className="flex flex-col items-center text-center">
|
|
31
|
+
<h1 className="text-2xl font-bold">Create your account</h1>
|
|
32
|
+
<p className="text-muted-foreground text-balance">
|
|
33
|
+
Enter your information to create a new account
|
|
34
|
+
</p>
|
|
35
|
+
</div>
|
|
36
|
+
<FieldGroup className="grid grid-cols-2 gap-3">
|
|
37
|
+
<Field>
|
|
38
|
+
<FieldLabel htmlFor="firstName">First Name</FieldLabel>
|
|
39
|
+
<Input id="firstName" placeholder="John" required />
|
|
40
|
+
</Field>
|
|
41
|
+
<Field>
|
|
42
|
+
<FieldLabel htmlFor="lastName">Last Name</FieldLabel>
|
|
43
|
+
<Input id="lastName" placeholder="Doe" required />
|
|
44
|
+
</Field>
|
|
45
|
+
</FieldGroup>
|
|
46
|
+
<Field>
|
|
47
|
+
<FieldLabel htmlFor="email">Email</FieldLabel>
|
|
48
|
+
<Input
|
|
49
|
+
id="email"
|
|
50
|
+
type="email"
|
|
51
|
+
placeholder="m@example.com"
|
|
52
|
+
required
|
|
53
|
+
/>
|
|
54
|
+
</Field>
|
|
55
|
+
<Field>
|
|
56
|
+
<FieldLabel htmlFor="password">Password</FieldLabel>
|
|
57
|
+
<Input id="password" type="password" required />
|
|
58
|
+
</Field>
|
|
59
|
+
<Field>
|
|
60
|
+
<FieldLabel htmlFor="confirmPassword">
|
|
61
|
+
Confirm Password
|
|
62
|
+
</FieldLabel>
|
|
63
|
+
<Input id="confirmPassword" type="password" required />
|
|
64
|
+
</Field>
|
|
65
|
+
<Field orientation="horizontal">
|
|
66
|
+
<Checkbox id="terms" required />
|
|
67
|
+
<FieldLabel htmlFor="terms" className="text-sm">
|
|
68
|
+
I agree to the{" "}
|
|
69
|
+
<a
|
|
70
|
+
href="#"
|
|
71
|
+
className="underline underline-offset-4 hover:text-primary"
|
|
72
|
+
>
|
|
73
|
+
Terms of Service
|
|
74
|
+
</a>{" "}
|
|
75
|
+
and{" "}
|
|
76
|
+
<a
|
|
77
|
+
href="#"
|
|
78
|
+
className="underline underline-offset-4 hover:text-primary"
|
|
79
|
+
>
|
|
80
|
+
Privacy Policy
|
|
81
|
+
</a>
|
|
82
|
+
</FieldLabel>
|
|
83
|
+
</Field>
|
|
84
|
+
<Button type="submit" className="w-full cursor-pointer">
|
|
85
|
+
Create Account
|
|
86
|
+
</Button>
|
|
87
|
+
<div className="after:border-border relative text-center text-sm after:absolute after:inset-0 after:top-1/2 after:z-0 after:flex after:items-center after:border-t">
|
|
88
|
+
<span className="bg-card text-muted-foreground relative z-10 px-2">
|
|
89
|
+
Or continue with
|
|
90
|
+
</span>
|
|
91
|
+
</div>
|
|
92
|
+
<div className="grid grid-cols-3 gap-4">
|
|
93
|
+
<Button
|
|
94
|
+
variant="outline"
|
|
95
|
+
type="button"
|
|
96
|
+
className="w-full cursor-pointer"
|
|
97
|
+
>
|
|
98
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
99
|
+
<path
|
|
100
|
+
d="M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701"
|
|
101
|
+
fill="currentColor"
|
|
102
|
+
/>
|
|
103
|
+
</svg>
|
|
104
|
+
<span className="sr-only">Sign up with Apple</span>
|
|
105
|
+
</Button>
|
|
106
|
+
<Button
|
|
107
|
+
variant="outline"
|
|
108
|
+
type="button"
|
|
109
|
+
className="w-full cursor-pointer"
|
|
110
|
+
>
|
|
111
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
112
|
+
<path
|
|
113
|
+
d="M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"
|
|
114
|
+
fill="currentColor"
|
|
115
|
+
/>
|
|
116
|
+
</svg>
|
|
117
|
+
<span className="sr-only">Sign up with Google</span>
|
|
118
|
+
</Button>
|
|
119
|
+
<Button
|
|
120
|
+
variant="outline"
|
|
121
|
+
type="button"
|
|
122
|
+
className="w-full cursor-pointer"
|
|
123
|
+
>
|
|
124
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
125
|
+
<path
|
|
126
|
+
d="M6.915 4.03c-1.968 0-3.683 1.28-4.871 3.113C.704 9.208 0 11.883 0 14.449c0 .706.07 1.369.21 1.973a6.624 6.624 0 0 0 .265.86 5.297 5.297 0 0 0 .371.761c.696 1.159 1.818 1.927 3.593 1.927 1.497 0 2.633-.671 3.965-2.444.76-1.012 1.144-1.626 2.663-4.32l.756-1.339.186-.325c.061.1.121.196.183.3l2.152 3.595c.724 1.21 1.665 2.556 2.47 3.314 1.046.987 1.992 1.22 3.06 1.22 1.075 0 1.876-.355 2.455-.843a3.743 3.743 0 0 0 .81-.973c.542-.939.861-2.127.861-3.745 0-2.72-.681-5.357-2.084-7.45-1.282-1.912-2.957-2.93-4.716-2.93-1.047 0-2.088.467-3.053 1.308-.652.57-1.257 1.29-1.82 2.05-.69-.875-1.335-1.547-1.958-2.056-1.182-.966-2.315-1.303-3.454-1.303zm10.16 2.053c1.147 0 2.188.758 2.992 1.999 1.132 1.748 1.647 4.195 1.647 6.4 0 1.548-.368 2.9-1.839 2.9-.58 0-1.027-.23-1.664-1.004-.496-.601-1.343-1.878-2.832-4.358l-.617-1.028a44.908 44.908 0 0 0-1.255-1.98c.07-.109.141-.224.211-.327 1.12-1.667 2.118-2.602 3.358-2.602zm-10.201.553c1.265 0 2.058.791 2.675 1.446.307.327.737.871 1.234 1.579l-1.02 1.566c-.757 1.163-1.882 3.017-2.837 4.338-1.191 1.649-1.81 1.817-2.486 1.817-.524 0-1.038-.237-1.383-.794-.263-.426-.464-1.13-.464-2.046 0-2.221.63-4.535 1.66-6.088.454-.687.964-1.226 1.533-1.533a2.264 2.264 0 0 1 1.088-.285z"
|
|
127
|
+
fill="currentColor"
|
|
128
|
+
/>
|
|
129
|
+
</svg>
|
|
130
|
+
<span className="sr-only">Sign up with Meta</span>
|
|
131
|
+
</Button>
|
|
132
|
+
</div>
|
|
133
|
+
<div className="text-center text-sm">
|
|
134
|
+
Already have an account?{" "}
|
|
135
|
+
<a
|
|
136
|
+
href="/auth/sign-in-3"
|
|
137
|
+
className="underline underline-offset-4"
|
|
138
|
+
>
|
|
139
|
+
Sign in
|
|
140
|
+
</a>
|
|
141
|
+
</div>
|
|
142
|
+
</FieldGroup>
|
|
143
|
+
</form>
|
|
144
|
+
</CardContent>
|
|
145
|
+
</Card>
|
|
146
|
+
<div className="text-muted-foreground *:[a]:hover:text-primary text-center text-xs text-balance *:[a]:underline *:[a]:underline-offset-4">
|
|
147
|
+
By clicking continue, you agree to our <a href="#">Terms of Service</a>{" "}
|
|
148
|
+
and <a href="#">Privacy Policy</a>.
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
151
|
+
)
|
|
152
|
+
}
|