|
1 | | -"use client"; |
2 | 1 | import React from "react"; |
3 | 2 | import { Label } from "./ui/label"; |
4 | 3 | import { Input } from "./ui/input"; |
5 | 4 | import { cn } from "./lib/utils"; |
6 | | -import { |
7 | | - IconBrandGithub, |
8 | | - IconBrandGoogle, |
9 | | - IconBrandOnlyfans, |
10 | | -} from "@tabler/icons-react"; |
11 | 5 |
|
12 | 6 | export function Contact() { |
13 | 7 | const handleSubmit = (e: React.FormEvent<HTMLFormElement>) => { |
14 | 8 | e.preventDefault(); |
15 | 9 | console.log("Form submitted"); |
16 | 10 | }; |
17 | | - return ( |
18 | | - <div className="w-3/4 mx-auto rounded-none md:rounded-2xl p-4 md:p-8 shadow-input bg-white dark:bg-black"> |
19 | | - <h2 className="font-bold text-xl text-neutral-800 dark:text-neutral-200"> |
20 | | - Join Metal |
21 | | - </h2> |
22 | | - <p className="text-neutral-600 text-sm w-full mt-2 dark:text-neutral-300"> |
23 | | - Reach out to learn more about how Horizon Metal can help you |
24 | | - </p> |
25 | 11 |
|
26 | | - <form className="my-8" onSubmit={handleSubmit}> |
27 | | - <div className="flex flex-col md:flex-row space-y-2 md:space-y-0 md:space-x-2 mb-4"> |
28 | | - <LabelInputContainer> |
29 | | - <Label htmlFor="firstname">First name</Label> |
30 | | - <Input id="firstname" placeholder="Tyler" type="text" /> |
| 12 | + return ( |
| 13 | + <div className="relative w-3/4 mx-auto rounded-none md:rounded-2xl p-4 md:p-8 shadow-input bg-white dark:bg-black overflow-hidden"> |
| 14 | + {/* Original content (now blurred) */} |
| 15 | + <div className="filter blur-[5px]"> |
| 16 | + <h2 className="font-bold text-xl text-neutral-800 dark:text-neutral-200"> |
| 17 | + Join Metal |
| 18 | + </h2> |
| 19 | + <p className="text-neutral-600 text-sm w-full mt-2 dark:text-neutral-300"> |
| 20 | + Reach out to learn more about how Horizon Metal can help you |
| 21 | + </p> |
| 22 | + <form className="my-8" onSubmit={handleSubmit}> |
| 23 | + <div className="flex flex-col md:flex-row space-y-2 md:space-y-0 md:space-x-2 mb-4"> |
| 24 | + <LabelInputContainer> |
| 25 | + <Label htmlFor="firstname">First name</Label> |
| 26 | + <Input id="firstname" placeholder="Tyler" type="text" /> |
| 27 | + </LabelInputContainer> |
| 28 | + <LabelInputContainer> |
| 29 | + <Label htmlFor="lastname">Last name</Label> |
| 30 | + <Input id="lastname" placeholder="Durden" type="text" /> |
| 31 | + </LabelInputContainer> |
| 32 | + </div> |
| 33 | + <LabelInputContainer className="mb-4"> |
| 34 | + <Label htmlFor="email">Work Email Address</Label> |
| 35 | + <Input id="email" placeholder="example@farbeyond.dev" type="email" /> |
31 | 36 | </LabelInputContainer> |
32 | | - <LabelInputContainer> |
33 | | - <Label htmlFor="lastname">Last name</Label> |
34 | | - <Input id="lastname" placeholder="Durden" type="text" /> |
| 37 | + <LabelInputContainer className="mb-4"> |
| 38 | + <Label htmlFor="company">Company Name</Label> |
| 39 | + <Input id="company" placeholder="Far Beyond LLC" type="company" /> |
35 | 40 | </LabelInputContainer> |
36 | | - </div> |
37 | | - <LabelInputContainer className="mb-4"> |
38 | | - <Label htmlFor="email">Work Email Address</Label> |
39 | | - <Input id="email" placeholder="example@farbeyond.dev" type="email" /> |
40 | | - </LabelInputContainer> |
41 | | - <LabelInputContainer className="mb-4"> |
42 | | - <Label htmlFor="company">Company Name</Label> |
43 | | - <Input id="company" placeholder="Far Beyond LLC" type="company" /> |
44 | | - </LabelInputContainer> |
| 41 | + <button |
| 42 | + className="bg-gradient-to-br relative group/btn from-black dark:from-zinc-900 dark:to-zinc-900 to-neutral-600 block dark:bg-zinc-800 w-full text-white rounded-md h-10 font-medium shadow-[0px_1px_0px_0px_#ffffff40_inset,0px_-1px_0px_0px_#ffffff40_inset] dark:shadow-[0px_1px_0px_0px_var(--zinc-800)_inset,0px_-1px_0px_0px_var(--zinc-800)_inset]" |
| 43 | + type="submit" |
| 44 | + > |
| 45 | + Request Consultation → |
| 46 | + <BottomGradient /> |
| 47 | + </button> |
| 48 | + </form> |
| 49 | + </div> |
45 | 50 |
|
46 | | - <button |
47 | | - className="bg-gradient-to-br relative group/btn from-black dark:from-zinc-900 dark:to-zinc-900 to-neutral-600 block dark:bg-zinc-800 w-full text-white rounded-md h-10 font-medium shadow-[0px_1px_0px_0px_#ffffff40_inset,0px_-1px_0px_0px_#ffffff40_inset] dark:shadow-[0px_1px_0px_0px_var(--zinc-800)_inset,0px_-1px_0px_0px_var(--zinc-800)_inset]" |
48 | | - type="submit" |
49 | | - > |
50 | | - Request Consultation → |
51 | | - <BottomGradient /> |
52 | | - </button> |
53 | | - </form> |
| 51 | + {/* Semi-transparent overlay */} |
| 52 | + <div className="absolute inset-0 bg-white/50 dark:bg-black/50"></div> |
| 53 | + |
| 54 | + {/* Coming Soon text */} |
| 55 | + <div className="absolute inset-0 flex items-center justify-center"> |
| 56 | + <h1 className="text-4xl font-bold text-black dark:text-white z-10">Coming Soon</h1> |
| 57 | + </div> |
54 | 58 | </div> |
55 | 59 | ); |
56 | 60 | } |
|
0 commit comments