Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced Feedback form #245

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions src/components/shared/customerreviews.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ export default function Review() {
</p>
<ReviewCarousel items={testimonials2} direction="left" speed="slow" />
</div>
<div className="flex w-full text-2xl flex-col items-center p-10 md:text-sm">
<p className="text-xl md:text-2xl py-5 opacity-75">
<p className=" text-4xl md:text-6xl font-bold mb-5 bg-gradient-to-b from-zinc-100 via-orange-400 to-orange-500 bg-clip-text text-transparent text-center mt-4">
Loved our product?
</p>
<p className="text-3xl md:text-5xl font-bold py-2 bg-gradient-to-r bg-clip-text text-transparent from-muted-foreground via-primary-foreground to-muted-foreground">
<div className="flex w-[80vw] flex-col items-center justify-center lg:w-[50vw] md:w[50vw] gap-6 mx-auto mb-6 pt-10 pb-6 bg-opacity-8 px-4 rounded-lg gradient2 dark:gradient1 shadow shadow-orange-600 dark:shadow-orange-900 border border-secondary">

<p className="text-center text-3xl md:text-5xl font-bold py-2 bg-gradient-to-r bg-clip-text text-transparent from-muted-foreground via-primary-foreground to-muted-foreground">
Leave a Review 👇
</p>
</div>
<div className="w-full max-w-lg p-4 md:p-10">
<Form {...form}>
<form
Expand All @@ -106,6 +106,7 @@ export default function Review() {
<FormControl>
<Input
placeholder="Manav Malhotra"
className="flex h-10 w-full rounded-md border border-orange-500 dark:border-orange-900 placeholder:text-muted-foreground bg-background/75 px-3 py-2 text-sm shadow-inner shadow-orange-400 dark:shadow-orange-900 hover:border-orange-600 hover:transition-all focus:border-orange-600 dark:focus:border-orange-900 focus:outline-none focus:ring-1 focus-within:ring-1 focus-within:ring-orange-500"
type="text"
{...field}
/>
Expand All @@ -125,7 +126,7 @@ export default function Review() {
<FormLabel>Email Address</FormLabel>
<FormControl>
<Input
placeholder="[email protected]"
className="flex h-10 w-full rounded-md border border-orange-500 dark:border-orange-900 placeholder:text-muted-foreground bg-background/75 px-3 py-2 text-sm shadow-inner shadow-orange-400 dark:shadow-orange-900 hover:border-orange-600 hover:transition-all focus:border-orange-600 dark:focus:border-orange-900 focus:outline-none focus:ring-1 focus-within:ring-1 focus-within:ring-orange-500" placeholder="[email protected]"
type="email"
{...field}
/>
Expand All @@ -135,7 +136,6 @@ export default function Review() {
);
}}
/>

<FormField
control={form.control}
name="feedback"
Expand All @@ -146,7 +146,7 @@ export default function Review() {
<FormControl>
<Textarea
placeholder="Tell us what you loved about our product"
className="resize-none"
className="flex h-10 w-full rounded-md border border-orange-500 dark:border-orange-900 placeholder:text-muted-foreground bg-background/75 px-3 py-2 text-sm shadow-inner shadow-orange-400 dark:shadow-orange-900 hover:border-orange-600 hover:transition-all focus:border-orange-600 dark:focus:border-orange-900 focus:outline-none focus:ring-1 focus-within:ring-1 focus-within:ring-orange-500 resize-none"
{...field}
/>
</FormControl>
Expand All @@ -161,6 +161,7 @@ export default function Review() {
</form>
</Form>
</div>
</div>
</main>
);
}