Fix emojis on ship page

This commit is contained in:
Ella 2022-08-01 13:09:29 -04:00
parent 3f9654cf03
commit b2c67ff96e
2 changed files with 9 additions and 3 deletions

View file

@ -21,8 +21,8 @@ export const EmojiImg = ({ name, ...props }) => (
alt={name + ' emoji'}
loading="lazy"
className="post-emoji"
width={128}
height={128}
width={20}
height={20}
{...props}
/>
)

View file

@ -12,6 +12,8 @@ const nextConfig = {
'cdn.glitch.com',
'cloud-k18c7grqc-hack-club-bot.vercel.app',
'cloud-kcloydjv0-hack-club-bot.vercel.app',
'cloud-dtijd5g0u-hack-club-bot.vercel.app',
''
]
},
webpack: (config, { isServer }) => {
@ -50,7 +52,11 @@ const nextConfig = {
{ source: '/hack_camp/', destination: '/camp/', permanent: true },
{ source: '/branding/', destination: '/brand/', permanent: true },
{ source: '/ama/', destination: '/amas/', permanent: false },
{ source: '/open-source/', destination: '/opensource/', permanent: false },
{
source: '/open-source/',
destination: '/opensource/',
permanent: false
},
{ source: '/coc/', destination: '/conduct/', permanent: true },
{
source: '/code_of_conduct/',