-
Notifications
You must be signed in to change notification settings - Fork 70
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 #36 from SYLVIANNORUKA/institution-page
feat: Implemented the institution page
- Loading branch information
Showing
4 changed files
with
93 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
"use client"; | ||
import Input from "@/components/Forms/Input"; | ||
import React from "react"; | ||
import TextArea from "@/components/Forms/TextArea"; | ||
import Checkbox from "@/components/Forms/Checkbox"; | ||
import Button from "@/components/Forms/Button"; | ||
|
||
|
||
|
||
function Institution() { | ||
const handleContinue = () => {}; | ||
|
||
return ( | ||
<div className="grid grid-cols-1 md:grid-cols-5 h-screen"> | ||
<div className="hidden md:block hexagon-img border-r-2 border-[#1D1E2B] md:col-span-2 h-screen"></div> | ||
<div className="col-span-1 md:col-span-3 h-screen overflow-y-auto py-10 md:py-20 px-5 md:px-8"> | ||
<div className="flex flex-col justify-center items-center px-3 md:px-0"> | ||
<div className="header-details text-center"> | ||
<h2 className="text-white font-UbuntuBold text-[1.5rem] mb-2"> | ||
Build your profile as institution | ||
</h2> | ||
<p className="text-grayText text-[0.875rem]"> | ||
Enter your professional details | ||
</p> | ||
</div> | ||
<div className="flex flex-col gap-6 w-full max-w-md"> | ||
<div className="mt-5 md:mt-10 w-full"> | ||
<Input | ||
type="text" | ||
name="Title" | ||
placeholder="Enter name of institution" | ||
label="Name of institution" | ||
onChange={()=>{}} | ||
value="" | ||
/> | ||
</div> | ||
<div className="w-full"> | ||
<TextArea | ||
name="bio" | ||
placeholder="Description...." | ||
label="Brief Bio" | ||
onChange={()=>{}} | ||
value="" | ||
/> | ||
</div> | ||
<div className="w-full"> | ||
<Input | ||
type="email" | ||
name="email" | ||
placeholder="Enter your email" | ||
label="Email" | ||
onChange={()=>{}} | ||
value="" | ||
/> | ||
</div> | ||
|
||
<div className="my-2"> | ||
<Checkbox isAgreement={true} privacyUrl="" termsUrl="" /> | ||
</div> | ||
<div className="my-2 w-full"> | ||
<Button label="CONTINUE" onButtonClick={handleContinue} /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default Institution; |
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,10 @@ | ||
const Layout = ({ children }: { children: React.ReactNode }) => { | ||
return ( | ||
<> | ||
<main className="grow">{children}</main> | ||
</> | ||
); | ||
}; | ||
|
||
export default Layout; | ||
|
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,12 @@ | ||
import React from 'react' | ||
import Institution from './institution' | ||
|
||
function Page() { | ||
return ( | ||
<div> | ||
<Institution /> | ||
</div> | ||
) | ||
} | ||
|
||
export default Page |
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