Skip to content
Snippets Groups Projects
Commit 8945b5cb authored by Ismail's avatar Ismail
Browse files

Notification component added and designed!

parent 28ab0809
No related branches found
No related tags found
No related merge requests found
const functions = require('firebase-functions');
// // Create and Deploy Your First Cloud Functions
// // https://firebase.google.com/docs/functions/write-firebase-functions
//
// exports.helloWorld = functions.https.onRequest((request, response) => {
// functions.logger.info("Hello logs!", {structuredData: true});
// response.send("Hello from Firebase!");
// });
......@@ -7,6 +7,7 @@ import { Redirect } from 'react-router-dom';
import { firestoreConnect } from 'react-redux-firebase';
import { compose } from 'redux';
import moment from 'moment';
import Notification from '../layout/Notification';
class Dashboard extends Component {
render() {
......@@ -27,8 +28,15 @@ class Dashboard extends Component {
return (
<div id="content">
<Navbar profile = { profile } />
<ManageShift uid={ auth.uid } todayList={ todayList } />
<ShiftReport workList={ list } schedule={ schedule } />
<div className="row">
<div className="col-9">
<ManageShift uid={ auth.uid } todayList={ todayList } />
<ShiftReport workList={ list } schedule={ schedule } />
</div>
<div className="col-3">
<Notification />
</div>
</div>
</div>
)
}
......
import React from 'react'
import React from 'react';
import { connect } from 'react-redux';
import { signOut } from '../../store/actions/authAction';
import { Link } from 'react-router-dom';
......
import React from 'react';
const notify = (props) => {
return(
<nav className="bg-primary pt-3 pb-3">
<div className="container text-white">
<h4 className="text-center">Notifications</h4>
<ul className="text-decoration-none">
<li>notification notification</li>
<li>notification</li>
<li>notification</li>
</ul>
</div>
</nav>
)
}
export default notify;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment