Skip to content

Commit da86ae5

Browse files
committed
refactor(contact): updated radius for contact-us page
- added cursor-pointer for all buttons
1 parent b53bff2 commit da86ae5

File tree

2 files changed

+9
-33
lines changed

2 files changed

+9
-33
lines changed

src/components/blocks/contact-us/contact-form.tsx

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@ const ContactForm = () => {
1414
<div className='space-y-2'>
1515
<Label htmlFor='username'>Your Name</Label>
1616
<div className='relative'>
17-
<Input
18-
id='username'
19-
type='text'
20-
placeholder='Enter your name here...'
21-
className='peer h-10 rounded-lg pr-9'
22-
/>
17+
<Input id='username' type='text' placeholder='Enter your name here...' className='peer h-10 pr-9' />
2318
<div className='text-muted-foreground pointer-events-none absolute inset-y-0 right-0 flex items-center justify-center pr-3 peer-disabled:opacity-50'>
2419
<UserIcon className='size-4' />
2520
<span className='sr-only'>Name</span>
@@ -31,7 +26,7 @@ const ContactForm = () => {
3126
<div className='space-y-2'>
3227
<Label htmlFor='email'>Your Email</Label>
3328
<div className='relative'>
34-
<Input id='email' type='email' placeholder='Enter your email here...' className='peer h-10 rounded-lg pr-9' />
29+
<Input id='email' type='email' placeholder='Enter your email here...' className='peer h-10 pr-9' />
3530
<div className='text-muted-foreground pointer-events-none absolute inset-y-0 right-0 flex items-center justify-center pr-3 peer-disabled:opacity-50'>
3631
<MailIcon className='size-4' />
3732
<span className='sr-only'>Email</span>
@@ -43,12 +38,7 @@ const ContactForm = () => {
4338
<div className='space-y-2'>
4439
<Label htmlFor='subject'>Phone Number</Label>
4540
<div className='relative'>
46-
<Input
47-
id='subject'
48-
type='text'
49-
placeholder='Enter your phone number here...'
50-
className='peer h-10 rounded-lg pr-9'
51-
/>
41+
<Input id='subject' type='text' placeholder='Enter your phone number here...' className='peer h-10 pr-9' />
5242
<div className='text-muted-foreground pointer-events-none absolute inset-y-0 right-0 flex items-center justify-center pr-3 peer-disabled:opacity-50'>
5343
<PhoneIcon className='size-4' />
5444
<span className='sr-only'>Phone</span>
@@ -59,11 +49,11 @@ const ContactForm = () => {
5949
{/* Message Input */}
6050
<div className='space-y-2'>
6151
<Label htmlFor='message'>Message</Label>
62-
<Textarea id='message' className='h-28 resize-none rounded-xl' placeholder='Enter your message' />
52+
<Textarea id='message' className='h-28 resize-none' placeholder='Enter your message' />
6353
</div>
6454

6555
{/* Submit Button */}
66-
<Button type='submit' size='lg' className='w-full rounded-xl text-base'>
56+
<Button type='submit' size='lg' className='w-full text-base'>
6757
Send Your Message
6858
</Button>
6959
</form>

src/styles/global.css

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -171,24 +171,6 @@
171171
}
172172
}
173173

174-
.prose {
175-
h2 {
176-
@apply text-foreground mt-16 mb-4 scroll-mt-20 text-2xl font-semibold;
177-
}
178-
h3 {
179-
@apply text-foreground mb-4 scroll-mt-20 text-xl font-medium;
180-
}
181-
p {
182-
@apply text-muted-foreground mb-4 text-xl;
183-
}
184-
ul {
185-
@apply mb-4 list-inside list-disc space-y-2 pl-2;
186-
}
187-
li {
188-
@apply text-muted-foreground text-xl;
189-
}
190-
}
191-
192174
.prose {
193175
@apply max-w-none;
194176

@@ -259,3 +241,7 @@
259241
@apply my-6 rounded-lg;
260242
}
261243
}
244+
245+
button {
246+
@apply cursor-pointer;
247+
}

0 commit comments

Comments
 (0)