Skip to content

Commit

Permalink
Add Academy link to the 'Join the community' card in the homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
Mcastres committed Oct 13, 2020
1 parent 94154d3 commit a2534ef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Medium from '../../assets/images/social_medium.png';
import Twitter from '../../assets/images/social_twitter.png';
import Reddit from '../../assets/images/social_reddit.png';
import Forum from '../../assets/images/social_forum.png';
import Academy from '../../assets/images/social_academy.png';

import { SocialLinkWrapper } from './components';

Expand All @@ -29,6 +30,8 @@ function getSrc(name) {
return Twitter;
case 'Forum':
return Forum;
case 'Academy':
return Academy;
default:
return Gh;
}
Expand Down
4 changes: 4 additions & 0 deletions packages/strapi-admin/admin/src/containers/HomePage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ const SOCIAL_LINKS = [
name: 'Forum',
link: 'https://forum.strapi.io',
},
{
name: 'Academy',
link: 'https://academy.strapi.io',
},
];

const HomePage = ({ global: { plugins }, history: { push } }) => {
Expand Down

0 comments on commit a2534ef

Please sign in to comment.