Skip to content

Commit

Permalink
Merge pull request #4 from isurudayananda/main
Browse files Browse the repository at this point in the history
CSS update
  • Loading branch information
dilshankarunarathne authored May 17, 2024
2 parents 816a76c + f253b09 commit 76bd911
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 0 deletions.
12 changes: 12 additions & 0 deletions frontend/src/components/pages/Navbar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react'

export const Navbar = () => {
return (
<section>
<button>Sign In</button>
<button>Sign Up</button>
</section>

)
}

45 changes: 45 additions & 0 deletions frontend/src/components/pages/UpdateAdmin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import React from 'react'
import './UpdateAdmin'

const UpdateAdmin = () => {
return (
<div id ='UpdateAdmin' className='UpdateAdmin' >
<form onSubmit={onSubmit} action="" className="AddAdmin">

<label htmlFor="">first</label>
<input type="text" id='name' name='name'/>

<label htmlFor="">last</label>
<input type="text" id='name' name='name'/><br/>

<label htmlFor="">User Name</label>
<input type="text" id='name' name='name'/>

<label htmlFor="">Mobile Number</label>
<input type="text" id='name' name='name'/><br/>

<label htmlFor="">Email</label>
<input type="text" id='name' name='name'/>

<label htmlFor="">Admin Type</label>
<input type="text" id='name' name='name'/>

<label htmlFor="">Password</label>
<input type="text" id='name' name='name'/>

<label htmlFor="">Confirm your Password</label>
<input type="text" id='name' name='name'/><br/>

<label htmlFor="">Add Admin</label>
<input type="text" id='name' name='name'/>




</form>

</div>
)
}

export default UpdateAdmin
20 changes: 20 additions & 0 deletions frontend/src/components/pages/navbar.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
:root{
--PrimaryColor: hsl(199, 100%, 33%);
--secondaryColor: hsl(187, 85%, 43%);
--gradientColor: linear-gradient(to right, hsl(187, 85%, 43%),
hsl(199, 100%, 33%));
--whiteColor: hsl(0, 0%, 100%);
--blackColor: hsl(201, 33%, 16%);
--textColor: hsl(240, 4%, 36%);
--whiteColorDeam: hsl(0, 0%, 93%);
--greyText: rgb(190, 190, 190);
--inputColor: rgb(239, 239, 239);
--bodyColor: rgb(240, 240, 246);
--cardBG: rgb(225, 225, 235);
}

section{
background-color: var(--whiteColor);
width: 400px;
height: 30px;
}

0 comments on commit 76bd911

Please sign in to comment.