Skip to content

🎥 Make videos programmatically with React

example form set

JonnyBurgeraa6b69541694
diff --git a/packages/design/src/Input.tsx b/packages/design/src/Input.tsx
index f61ebe2d60..f9d9d1aac3 100644
--- a/packages/design/src/Input.tsx
+++ b/packages/design/src/Input.tsx
@@ -9,7 +9,7 @@ export const Input = React.forwardRef<HTMLInputElement, InputProps>(
<input
ref={ref}
className={cn(
- 'w-full dark:bg-[#121212] md:max-w-[400px] rounded-lg border-effect border-black outline-none h-14 px-3 fontbrand text-lg box-border',
+ 'w-full dark:bg-[#121212] rounded-lg border-2 border-b-4 border-black outline-none h-14 px-3 fontbrand text-lg box-border',
className,
)}
{...props}
diff --git a/packages/promo-pages/src/components/design.tsx b/packages/promo-pages/src/components/design.tsx
index a9cbec3cc5..c8981611a3 100644
--- a/packages/promo-pages/src/components/design.tsx
+++ b/packages/promo-pages/src/components/design.tsx
@@ -2,6 +2,7 @@ import {
Button,
Card,
Counter,
+ Input,
Select,
SelectContent,
SelectItem,
@@ -98,6 +99,24 @@ export const DesignPage: React.FC = () => {
<SelectItem value="option3">Option 3</SelectItem>
</SelectContent>
</Select>
+ <br />
+ <h2 className="text-brand">&lt;Input /&gt;</h2>
+ <Input placeholder="Enter your email" />
+ <br />
+ <br />
+ <br />
+ <h1>Example form set</h1>
+ <br />
+ <h2>Change email</h2>
+ <p className="font-brand">
+ A email will be sent to the new email address. You will need to click
+ on the link in the email to confirm the change.
+ </p>
+ <Input placeholder="Enter your email" className="w-full block" />
+ <div className="h-2" />
+ <div className="flex flex-row justify-end">
+ <Button className="bg-brand text-white">Change</Button>
+ </div>
</div>
</div>
);
diff --git a/packages/promo-pages/src/components/homepage/NewsletterButton.tsx b/packages/promo-pages/src/components/homepage/NewsletterButton.tsx
index b3dfff431c..56a638a3ef 100644
--- a/packages/promo-pages/src/components/homepage/NewsletterButton.tsx
+++ b/packages/promo-pages/src/components/homepage/NewsletterButton.tsx
@@ -58,9 +58,9 @@ export const NewsletterButton: React.FC<{}> = () => {
</div>
<div className="flex flex-col md:flex-row gap-2 justify-center">
<Input
- className="w-full dark:bg-[#121212] md:max-w-[400px] rounded-lg border-effect border-black outline-none h-14 px-3 fontbrand text-lg box-border"
disabled={submitting}
value={email}
+ className="md:max-w-[400px]"
onChange={(e) => setEmail(e.target.value)}
type={'email'}
required