-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
136 additions
and
26 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
Express/Projects/Unknown/Frontend/unknown/src/Components/Admin/Allusers/AllUsers.css
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,44 @@ | ||
.all-users-main{ | ||
padding: 20px; | ||
} | ||
.al-users-header{ | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
} | ||
.all-users-title{ | ||
display: flex; | ||
align-items: center; | ||
} | ||
.al-users-header h3{ | ||
font-weight: var(--h3-font-weight); | ||
font-size: var(--h3-font-size); | ||
} | ||
.users-icon{ | ||
font-size: var(--icon-size); | ||
margin-right: 10px; | ||
} | ||
.all-users-input{ | ||
padding: 10px; | ||
background-color: var(--body-color); | ||
display: flex; | ||
border-radius: 10px; | ||
} | ||
.all-users-input input{ | ||
background-color: var(--body-color); | ||
border: none; | ||
outline: none; | ||
max-width: 300px; | ||
width: 250px; | ||
} | ||
|
||
.al-users-body{ | ||
display: flex; | ||
flex-direction: column; | ||
margin-top: 30px; | ||
} | ||
.user-cards{ | ||
background-color: var(--body-color); | ||
width: 100%; | ||
height: 20px; | ||
} |
31 changes: 31 additions & 0 deletions
31
Express/Projects/Unknown/Frontend/unknown/src/Components/Admin/Allusers/AllUsers.jsx
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,31 @@ | ||
import React from 'react' | ||
import './AllUsers.css' | ||
import { GrGroup } from "react-icons/gr"; | ||
import { IoSearch } from "react-icons/io5"; | ||
|
||
|
||
const AllUsers = () => { | ||
return ( | ||
<div> | ||
<div className="all-users-main"> | ||
<div className="al-users-header"> | ||
<div className='all-users-title'> | ||
<GrGroup className='users-icon' /> | ||
<h3>Users</h3> | ||
</div> | ||
<div className='all-users-input'> | ||
<input type="text" /> | ||
<IoSearch /> | ||
</div> | ||
</div> | ||
<div className="al-users-body"> | ||
<div className="user-cards"> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default AllUsers |
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
31 changes: 21 additions & 10 deletions
31
.../Projects/Unknown/Frontend/unknown/src/Components/Admin/Notification/SendNotification.jsx
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,24 +1,35 @@ | ||
import React from 'react' | ||
import './SendNotification.css' | ||
import { LuBellPlus } from "react-icons/lu"; | ||
import React, { useState } from 'react'; | ||
import './SendNotification.css'; | ||
import { LuBellPlus } from 'react-icons/lu'; | ||
|
||
const SendNotification = () => { | ||
const [notification, setNotification] = useState(''); | ||
|
||
const handleTextareaChange = (event) => { | ||
setNotification(event.target.value); | ||
}; | ||
|
||
const handleSendClick = () => { | ||
console.log('Notification data:', notification); | ||
alert("Message sent successfully") | ||
}; | ||
|
||
return ( | ||
<div> | ||
<div className="send-notification-main"> | ||
<div className='send-notification-header'> | ||
<LuBellPlus className='bell-plus-icon' /> | ||
<div className="send-notification-header"> | ||
<LuBellPlus className="bell-plus-icon" /> | ||
<h3>Notification</h3> | ||
</div> | ||
<div className="send-notification-body"> | ||
<div> | ||
<textarea name="" id="" cols="30" rows="10"></textarea> | ||
<textarea name="notification" cols="30" rows="10" value={notification} onChange={handleTextareaChange} ></textarea> | ||
</div> | ||
<button>send</button> | ||
<button onClick={handleSendClick}>Send</button> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} | ||
); | ||
}; | ||
|
||
export default SendNotification | ||
export default SendNotification; |
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