File tree Expand file tree Collapse file tree 2 files changed +25
-3
lines changed
examples/demo-section-blog/src Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change
1
+ export function Contact ( ) {
2
+ return (
3
+ < section className = "py-8 lg:py-16 mx-auto" >
4
+ < form action = "#" className = "space-y-8" >
5
+ < div >
6
+ < label htmlFor = "email" className = "block mb-2 text-sm font-medium" > Your email</ label >
7
+ < input type = "email" id = "email" className = "shadow-sm border border-gray-300 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500 dark:shadow-sm-light" placeholder = "[email protected] " required = { true } />
8
+ </ div >
9
+ < div >
10
+ < label htmlFor = "subject" className = "block mb-2 text-sm font-medium" > Subject</ label >
11
+ < input type = "text" id = "subject" className = "block p-3 w-full text-sm rounded-lg border border-gray-300 shadow-sm focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500 dark:shadow-sm-light" placeholder = "Let us know how we can help you" required = { true } />
12
+ </ div >
13
+ < div className = "sm:col-span-2" >
14
+ < label htmlFor = "message" className = "block mb-2 text-sm font-medium" > Your message</ label >
15
+ < textarea id = "message" rows = { 6 } className = "block p-2.5 w-full text-sm rounded-lg shadow-sm border border-gray-300 focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500" placeholder = "Leave a message..." > </ textarea >
16
+ </ div >
17
+ < button type = "submit" className = "py-3 px-5 text-sm font-medium text-center rounded-lg sm:w-fit focus:ring-4 focus:outline-none " > Submit.</ button >
18
+ </ form >
19
+ </ section >
20
+ )
21
+ }
Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ title: Contact us
4
4
description : Lorem ipsum dolor sit amet, consectetur adipisicing elit.
5
5
image : https://cdn.pixabay.com/photo/2016/05/31/10/52/contact-us-1426589_1280.png
6
6
---
7
+ import { Contact } from " @/components/Contact"
7
8
8
- # Contact
9
- #### Lorem ipsum dolor sit amet, qui minim labore adipisicing minim sint cillum sint consectetur cupidatat .
9
+ ## Contact Us
10
+ Got a technical issue? Want to send feedback about a beta feature? Need details about our Business plan? Let us know .
10
11
11
- Lorem ipsum dolor sit amet, qui minim labore adipisicing minim sint cillum sint consectetur cupidatat.
12
+ < Contact />
You can’t perform that action at this time.
0 commit comments