mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 15:44:59 +00:00
Merge pull request #10766 from strapi/feature/socialLogos
Update Landing page social links
This commit is contained in:
commit
e69ab291d5
BIN
packages/strapi-admin/admin/src/assets/images/social_discord.png
Normal file
BIN
packages/strapi-admin/admin/src/assets/images/social_discord.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.6 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.8 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
@ -7,11 +7,10 @@ import React, { memo } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
import Gh from '../../assets/images/social_gh.png';
|
||||
import Slack from '../../assets/images/social_slack.png';
|
||||
import Medium from '../../assets/images/social_medium.png';
|
||||
import Discord from '../../assets/images/social_discord.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 Strapi from '../../assets/images/social_strapi.png';
|
||||
|
||||
import { SocialLinkWrapper } from './components';
|
||||
|
||||
@ -21,17 +20,16 @@ function getSrc(name) {
|
||||
return Gh;
|
||||
case 'Reddit':
|
||||
return Reddit;
|
||||
case 'Medium':
|
||||
return Medium;
|
||||
case 'Slack':
|
||||
return Slack;
|
||||
case 'Discord':
|
||||
return Discord;
|
||||
case 'Twitter':
|
||||
return Twitter;
|
||||
case 'Blog':
|
||||
case 'Forum':
|
||||
case 'Academy':
|
||||
return Forum;
|
||||
case 'Careers':
|
||||
return Strapi;
|
||||
default:
|
||||
return Gh;
|
||||
return Strapi;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -36,28 +36,28 @@ const SOCIAL_LINKS = [
|
||||
link: 'https://github.com/strapi/strapi/',
|
||||
},
|
||||
{
|
||||
name: 'Slack',
|
||||
link: 'https://slack.strapi.io/',
|
||||
},
|
||||
{
|
||||
name: 'Medium',
|
||||
link: 'https://medium.com/@strapi',
|
||||
},
|
||||
{
|
||||
name: 'Twitter',
|
||||
link: 'https://twitter.com/strapijs',
|
||||
name: 'Discord',
|
||||
link: 'https://discord.strapi.io/',
|
||||
},
|
||||
{
|
||||
name: 'Reddit',
|
||||
link: 'https://www.reddit.com/r/Strapi/',
|
||||
},
|
||||
{
|
||||
name: 'Twitter',
|
||||
link: 'https://twitter.com/strapijs',
|
||||
},
|
||||
{
|
||||
name: 'Blog',
|
||||
link: 'https://strapi.io/blog',
|
||||
},
|
||||
{
|
||||
name: 'Forum',
|
||||
link: 'https://forum.strapi.io',
|
||||
},
|
||||
{
|
||||
name: 'Academy',
|
||||
link: 'https://academy.strapi.io',
|
||||
name: 'Careers',
|
||||
link: 'https://strapi.io/careers',
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user