-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from abinth11/features-about-contact-pages
Features about contact pages
- Loading branch information
Showing
18 changed files
with
271 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="https://res.cloudinary.com/dwucedjmy/image/upload/v1689655073/logo-no-background_avwjsd.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="manifest" href="manifest.json"/><title>TutorTrek</title><script defer="defer" src="/static/js/main.14926365.js"></script><link href="/static/css/main.8cb7bdf5.css" rel="stylesheet"></head><body class="bg-slate-700"><div id="root"></div></body></html> | ||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="https://res.cloudinary.com/dwucedjmy/image/upload/v1689655073/logo-no-background_avwjsd.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="manifest" href="manifest.json"/><title>TutorTrek</title><script defer="defer" src="/static/js/main.c52d4754.js"></script><link href="/static/css/main.8cb7bdf5.css" rel="stylesheet"></head><body class="bg-slate-700"><div id="root"></div></body></html> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
import React from "react"; | ||
|
||
const AboutUs: React.FC = () => { | ||
return ( | ||
<div className=' p-12'> | ||
<h1 className='text-3xl ml-5 font-semibold mb-4'>About Tutortrek</h1> | ||
<div className='flex flex-col md:flex-row space-x-0 md:space-x-8'> | ||
<div className='md:w-1/2 ml-5 '> | ||
<img | ||
src='https://res.cloudinary.com/dwucedjmy/image/upload/v1691134082/photo-1524178232363-1fb2b075b655_enawoh.avif' | ||
alt='About Tutortrek' | ||
className='rounded-lg w-10/12 shadow-md' | ||
/> | ||
</div> | ||
<div className='md:w-1/2'> | ||
<p className='text-gray-600 mb-4'> | ||
Welcome to Tutortrek, your ultimate destination for online learning | ||
and growth. We're on a mission to bring education to your | ||
fingertips, connecting passionate teachers with eager learners from | ||
around the world. | ||
</p> | ||
<p className='text-gray-600 mb-4'> | ||
Our platform offers a diverse range of courses, both free and paid, | ||
to cater to your learning needs. From mastering new skills to | ||
advancing your career, Tutortrek provides you with a dynamic | ||
learning experience that fits your schedule. | ||
</p> | ||
<p className='text-gray-600 mb-4'> | ||
What sets us apart is our thriving community. Engage in lively | ||
discussions with fellow learners and instructors, dive into | ||
collaborative projects, and exchange insights in our dedicated | ||
community spaces. And for those seeking a more interactive | ||
experience, our live channels provide real-time communication with | ||
teachers and peers. | ||
</p> | ||
<p className='text-gray-600'> | ||
Join Tutortrek today and embark on a journey of knowledge, | ||
empowerment, and connection. Let's explore, learn, and grow | ||
together! | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default AboutUs; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React from 'react'; | ||
|
||
const CommunityHome: React.FC = () => { | ||
return ( | ||
<div className="flex items-start justify-center min-h-screen mt-5 "> | ||
<div className="bg-white mt-5 p-8 rounded-lg"> | ||
<h1 className="text-2xl font-semibold mb-4">Coming Soon!</h1> | ||
<p className="text-gray-600">We're working on creating an awesome community for you.</p> | ||
<p className="text-gray-600">Stay tuned for updates and exciting features!</p> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default CommunityHome; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
import React, { useState } from "react"; | ||
|
||
const ContactUs: React.FC = () => { | ||
const [name, setName] = useState(""); | ||
const [email, setEmail] = useState(""); | ||
const [message, setMessage] = useState(""); | ||
const [submitted, setSubmitted] = useState(false); | ||
|
||
const handleSubmit = (e: React.FormEvent) => { | ||
e.preventDefault(); | ||
// TODO: Add logic to submit the form data to your backend or handle it as needed | ||
// For demonstration purposes, we'll just set the submitted state to true | ||
setSubmitted(true); | ||
}; | ||
|
||
return ( | ||
<div className="flex justify-center items-center p-10"> | ||
<div className="px-4 py-8 w-3/4"> | ||
<h1 className="text-3xl font-semibold mb-4">Contact Us</h1> | ||
{submitted ? ( | ||
<p className="text-green-500 mb-4"> | ||
Your message has been submitted. We'll get back to you soon! | ||
</p> | ||
) : ( | ||
<form onSubmit={handleSubmit}> | ||
<div className="mb-4"> | ||
<label | ||
htmlFor="name" | ||
className="block text-gray-700 font-medium mb-2" | ||
> | ||
Your Name | ||
</label> | ||
<input | ||
type="text" | ||
id="name" | ||
className="w-full border rounded px-3 py-2 ring-1 ring-inset ring-gray-100 focus:ring-2 focus:ring-inset focus:ring-indigo-700 focus-visible:outline-none focus-visible:ring-blue-600 sm:text-sm sm:leading-6" | ||
value={name} | ||
onChange={(e) => setName(e.target.value)} | ||
required | ||
/> | ||
</div> | ||
<div className="mb-4"> | ||
<label | ||
htmlFor="email" | ||
className="block text-gray-700 font-medium mb-2" | ||
> | ||
Your Email | ||
</label> | ||
<input | ||
type="email" | ||
id="email" | ||
className="w-full border rounded px-3 py-2 ring-1 ring-inset ring-gray-100 focus:ring-2 focus:ring-inset focus:ring-indigo-700 focus-visible:outline-none focus-visible:ring-blue-600 sm:text-sm sm:leading-6" | ||
value={email} | ||
onChange={(e) => setEmail(e.target.value)} | ||
required | ||
/> | ||
</div> | ||
<div className="mb-4"> | ||
<label | ||
htmlFor="message" | ||
className="block text-gray-700 font-medium mb-2" | ||
> | ||
Your Message | ||
</label> | ||
<textarea | ||
id="message" | ||
className="w-full border rounded px-3 py-2 ring-1 ring-inset ring-gray-100 focus:ring-2 focus:ring-inset focus:ring-indigo-700 focus-visible:outline-none focus-visible:ring-blue-600 sm:text-sm sm:leading-6" | ||
rows={4} | ||
value={message} | ||
onChange={(e) => setMessage(e.target.value)} | ||
required | ||
/> | ||
</div> | ||
<button | ||
type="submit" | ||
className="bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600" | ||
> | ||
Submit | ||
</button> | ||
</form> | ||
)} | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ContactUs; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.