-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added icons and improved the post functionality (#348)
* Created grid layout for news section Event and Project Details Card added to news feed Refactored code for better readability * Fix netlify react-router issue * hotfix for auth login * Added icons and improved the post functionality
- Loading branch information
Showing
18 changed files
with
858 additions
and
133 deletions.
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,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "/* /index.html 200" >> ./build/_redirects |
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
Binary file not shown.
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,88 @@ | ||
import profileImg from '../svgs/evt-creator.svg'; | ||
import eventImg from "../svgs/event-img-1.svg"; | ||
import eventImg2 from "../svgs/event-img-2.svg"; | ||
|
||
const newsFeed = [ | ||
{ | ||
_id: 1, | ||
imgSrc: profileImg, | ||
createdBy: 'Marjorie Alexander', | ||
created: 'June 5, 2018 4:31 AM', | ||
details: 'ex sit ex laboris adipisicing enim eiusmod proident exercitation ea fugiat in mollit pariatur occaecat ut nostrud ullamco ex official', | ||
upvotes: 810, | ||
downVotes: 185, | ||
eventImage: null, | ||
type: 'Donut' | ||
}, | ||
{ | ||
_id: 2, | ||
imgSrc: profileImg, | ||
createdBy: 'Marjorie Alexander', | ||
created: 'June 5, 2018 4:31 AM', | ||
details: 'ex sit ex laboris adipisicing enim eiusmod proident exercitation ea fugiat in mollit pariatur occaecat ut nostrud ullamco ex official', | ||
upvotes: 80, | ||
downVotes: 15, | ||
eventImage: eventImg2, | ||
type: 'Project', | ||
projectName: 'Some Huge Project Name', | ||
projectOwner: 'Neilson' | ||
}, | ||
{ | ||
_id: 3, | ||
imgSrc: profileImg, | ||
createdBy: 'Marjorie Alexander', | ||
created: 'June 5, 2018 4:31 AM', | ||
details: 'ex sit ex laboris adipisicing enim eiusmod proident exercitation ea fugiat in mollit pariatur occaecat ut nostrud ullamco ex official', | ||
upvotes: 104, | ||
downVotes: 25, | ||
eventImage: null, | ||
type: 'Donut' | ||
}, | ||
{ | ||
_id: 4, | ||
imgSrc: profileImg, | ||
createdBy: 'Marjorie Alexander', | ||
created: 'June 5, 2018 4:31 AM', | ||
details: 'ex sit ex laboris adipisicing enim eiusmod proident exercitation ea fugiat in mollit pariatur occaecat ut nostrud ullamco ex official', | ||
upvotes: 810, | ||
downVotes: 185, | ||
eventImage: null, | ||
type: 'Donut' | ||
}, | ||
{ | ||
_id: 5, | ||
imgSrc: profileImg, | ||
createdBy: 'Marjorie Alexander', | ||
created: 'June 5, 2018 4:31 AM', | ||
eventName: 'Christmas Party', | ||
details: 'ex sit ex laboris adipisicing enim eiusmod proident exercitation ea fugiat in mollit pariatur occaecat ut nostrud ullamco ex official', | ||
upvotes: 80, | ||
downVotes: 15, | ||
eventImage: eventImg, | ||
type: 'Event' | ||
}, | ||
{ | ||
_id: 6, | ||
imgSrc: profileImg, | ||
createdBy: 'Marjorie Alexander', | ||
created: 'June 5, 2018 4:31 AM', | ||
details: 'ex sit ex laboris adipisicing enim eiusmod proident exercitation ea fugiat in mollit pariatur occaecat ut nostrud ullamco ex official', | ||
upvotes: 80, | ||
downVotes: 15, | ||
eventImage: null, | ||
type: 'Donut' | ||
}, | ||
{ | ||
_id: 7, | ||
imgSrc: profileImg, | ||
createdBy: 'Marjorie Alexander', | ||
created: 'June 5, 2018 4:31 AM', | ||
details: 'ex sit ex laboris adipisicing enim eiusmod proident exercitation ea fugiat in mollit pariatur occaecat ut nostrud ullamco ex official', | ||
upvotes: 810, | ||
downVotes: 185, | ||
eventImage: null, | ||
type: 'Donut' | ||
}, | ||
] | ||
|
||
export default newsFeed; |
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,36 @@ | ||
import donutIcon from '../svgs/donut-icon.svg' | ||
import icon2 from '../svgs/not-icon-2.svg' | ||
import icon3 from '../svgs/not-icon-3.svg' | ||
|
||
const customNotifications = [ | ||
{ | ||
_id: 1, | ||
imgSrc: donutIcon, | ||
heading: 'Cody Nguyen', | ||
content: 'Lorem ipsum dolor sit amet, duo esse augue torgatos te, ius an nisi deterruisset.', | ||
tag: '+1 RSVP' | ||
}, | ||
{ | ||
_id: 2, | ||
imgSrc: icon2, | ||
heading: 'Arlene Mccoy', | ||
content: 'Lorem ipsum dolor sit amet, duo esse augue torgatos te, ius an nisi deterruisset.', | ||
tag: '' | ||
}, | ||
{ | ||
_id: 3, | ||
imgSrc: icon3, | ||
heading: 'Julian Richards', | ||
content: 'Lorem ipsum dolor sit amet, duo esse augue torgatos te, ius an nisi deterruisset.', | ||
tag: 'View' | ||
}, | ||
{ | ||
_id: 4, | ||
imgSrc: donutIcon, | ||
heading: 'Julian Richards', | ||
content: 'Lorem ipsum dolor sit amet, duo esse augue torgatos te, ius an nisi deterruisset.', | ||
tag: '' | ||
}, | ||
] | ||
|
||
export default customNotifications; |
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,48 @@ | ||
import profileImg from '../svgs/profile-icon.svg'; | ||
|
||
const events = [ | ||
{ | ||
_id: 1, | ||
imgSrc: profileImg, | ||
createdBy: 'Julian Richards', | ||
description: 'Lorem ipsum dolor sit amet, duo esse augue torgatos te, ius an nisi deterruisset.', | ||
tag: '+1 RSVP' | ||
}, | ||
{ | ||
_id: 2, | ||
imgSrc: profileImg, | ||
createdBy: 'Julian Richards', | ||
description: 'Lorem ipsum dolor sit amet, duo esse augue torgatos te, ius an nisi deterruisset.', | ||
tag: '' | ||
}, | ||
{ | ||
_id: 3, | ||
imgSrc: profileImg, | ||
createdBy: 'Julian Richards', | ||
description: 'Lorem ipsum dolor sit amet, duo esse augue torgatos te, ius an nisi deterruisset.', | ||
tag: '+1 RSVP' | ||
}, | ||
{ | ||
_id: 4, | ||
imgSrc: profileImg, | ||
createdBy: 'Julian Richards', | ||
description: 'Lorem ipsum dolor sit amet, duo esse augue torgatos te, ius an nisi deterruisset.', | ||
tag: '' | ||
}, | ||
{ | ||
_id: 5, | ||
imgSrc: profileImg, | ||
createdBy: 'Julian Richards', | ||
description: 'Lorem ipsum dolor sit amet, duo esse augue torgatos te, ius an nisi deterruisset.', | ||
tag: '' | ||
}, | ||
{ | ||
_id: 6, | ||
imgSrc: profileImg, | ||
createdBy: 'Julian Richards', | ||
description: 'Lorem ipsum dolor sit amet, duo esse augue torgatos te, ius an nisi deterruisset.', | ||
tag: '' | ||
} | ||
] | ||
|
||
export default events; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.