Skip to content

Commit

Permalink
add routes
Browse files Browse the repository at this point in the history
relates #90
  • Loading branch information
rehabas committed Apr 10, 2020
1 parent f889ccb commit f865156
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion client/lessVariables.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module.exports = {
'@primary-color': '#E8505B',
'@white': '#FFFFFF',
'@btn-font-weight': '400',
'@btn-primary-color': '@primary-color',
'@btn-danger-bg': '@primary-color',
Expand Down
6 changes: 4 additions & 2 deletions client/src/components/AdminCard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,17 @@ const AdminCard = ({
{internalProject && (
<div>
<h3>Community p</h3>
<Link to={`/admin/projects/${internalProject}?type=internal`}>
<Link to={`/admin/cohorts/${internalProject}/projects?type=internal`}>
View
</Link>
</div>
)}
{remotelyProject && (
<div>
<h3>Clients p</h3>
<Link to={`/admin/projects/${remotelyProject}?type=remotely`}>
<Link
to={`/admin/cohorts/${remotelyProject}/projects??type=remotely`}
>
View
</Link>
</div>
Expand Down

0 comments on commit f865156

Please sign in to comment.