-
Notifications
You must be signed in to change notification settings - Fork 0
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 #54 from skye8-tech/Volunteer
create a different branch for the volunteer page
- Loading branch information
Showing
3 changed files
with
178 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import React from 'react' | ||
import Header from '../../components/layout/Header' | ||
import Footer from '../../components/layout/Footer' | ||
import StatisticsSection from '../../components/layout/StatisticsSection' | ||
import VolunteerForm from './components/VolunteerForm' | ||
import Hero1 from '../../components/layout/Hero1' | ||
|
||
const Volunteer = () => { | ||
return ( | ||
<div> | ||
<Header/> | ||
<Hero1 | ||
title="Become Volunteer" | ||
text="Home" | ||
span="Become Volunteer" | ||
/> | ||
|
||
|
||
<VolunteerForm | ||
text="Jion With Us As A Volunteer " | ||
info="Personal" | ||
fN=" First Name" | ||
LN="Last Name" | ||
Email="Email Address" | ||
number="Phone Number" | ||
age ="Age" | ||
region="Region" | ||
message="Message" | ||
|
||
|
||
|
||
/> | ||
|
||
<StatisticsSection/> | ||
<Footer></Footer> | ||
</div> | ||
) | ||
} | ||
|
||
export default Volunteer |
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,132 @@ | ||
import React from "react"; | ||
|
||
function VolunteerForm (props){ | ||
const text = props.text | ||
const info = props.info | ||
const fN = props.fN | ||
const LN = props.LN | ||
const Email = props.Email | ||
const number = props.number | ||
const age = props.age | ||
const region = props.region | ||
const message = props.message | ||
|
||
|
||
|
||
return ( | ||
|
||
|
||
<div className="bg-primary-color mt-20 mx-[420px] w-[900px] h-[700px] text-slate-200"> | ||
<h1 className="font-bold text-3xl pt-6 mx-14 ">{text}</h1> | ||
<h2 className="font-semibold text-xl mt-3 mb-3 mx-14">{info}</h2> | ||
|
||
<div className=" mx-14"> | ||
<form className="flex-col"> | ||
<div className="flex gap-5"> | ||
<div className=""> | ||
<label className="text-xl">{fN}</label> | ||
<div className="pt-3"> | ||
<input | ||
type=" text" | ||
name="name" | ||
placeholder="First Name " | ||
className="bg-primary-color w-96 text-sm p-1 border rounded-md px-2 focus:outline-none" | ||
/> | ||
</div> | ||
</div> | ||
|
||
<div className=""> | ||
<label className="inline-block text-xl">{LN}</label> | ||
<div className="pt-3"> | ||
<input | ||
type=" text" | ||
name="name" | ||
placeholder="Last Name" | ||
className="bg-primary-color w-96 text-sm p-1 border rounded-md px-2 focus:outline-none" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div className="flex gap-5 pt-6"> | ||
<div> | ||
<label className="text-xl">{Email}</label> | ||
<div className="pt-3"> | ||
<input | ||
type=" text" | ||
name="email" | ||
placeholder="Email Address " | ||
className="bg-primary-color w-96 text-sm p-1 border rounded-md px-2 focus:outline-none" | ||
/> | ||
</div> | ||
</div> | ||
|
||
<div> | ||
<label className="inline-block text-xl">{number}</label> | ||
<div className="pt-3"> | ||
<input | ||
type=" text" | ||
name="" | ||
placeholder="Phone Number " | ||
className="bg-primary-color w-96 text-sm p-1 border rounded-md px-2 focus:outline-none" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div className="flex gap-5 pt-6"> | ||
<div> | ||
<label className="text-xl">{age}</label> | ||
<div className="pt-3"> | ||
<input | ||
type=" text" | ||
name="" | ||
placeholder="Age " | ||
className="bg-primary-color w-96 text-sm p-1 border rounded-md px-2 focus:outline-none" | ||
/> | ||
</div> | ||
</div> | ||
|
||
<div> | ||
<label className="inline-block text-xl">{region}</label> | ||
<div className="pt-3"> | ||
<input | ||
type=" text" | ||
name="" | ||
placeholder="Region " | ||
className="bg-primary-color w-96 text-sm p-1 border rounded-md px-2 focus:outline-none" | ||
/> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
<div className="grid pt-6"> | ||
<label form="message" className="text-xl"> | ||
{message} | ||
</label> | ||
|
||
<div className="inline-block pt-3"> | ||
<textarea | ||
name="message" | ||
placeholder="message....." | ||
className=" bg-primary-color w-full h-40 text-sm p-1 border rounded-md px-2 focus:outline-none" | ||
></textarea> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
|
||
|
||
<a href="#" className="border w-20 p-1 rounded mt-5 mb-3 flex"> | ||
Submit | ||
<i className="fa fa-angle-right pr-2 px-2 pt-1"></i> | ||
</a> | ||
</form> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default VolunteerForm; |