Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Academy link to the 'Join the community' card in the homepage #8316

Merged
merged 3 commits into from
Oct 13, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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;
Mcastres marked this conversation as resolved.
Show resolved Hide resolved
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