diff --git a/frontend/src/components/Header/Header.module.scss b/frontend/src/components/Header/Header.module.scss index 1622086..a1bc198 100644 --- a/frontend/src/components/Header/Header.module.scss +++ b/frontend/src/components/Header/Header.module.scss @@ -41,6 +41,7 @@ .logo { width: 2.5rem; + height: 2.5rem; margin-right: 16px; } @@ -113,6 +114,7 @@ .bigLogo { width: 80px; + height: 80px; transition: transform .15s; animation: jelly .5s 1 .05s; user-select: none; diff --git a/frontend/src/components/Header/Header.tsx b/frontend/src/components/Header/Header.tsx index 7942d94..83ca132 100644 --- a/frontend/src/components/Header/Header.tsx +++ b/frontend/src/components/Header/Header.tsx @@ -27,12 +27,12 @@ const Header = async ({ isFull, isSmall }: HeaderProps) => { return
{isFull ? <> - {!isSmall && } + {!isSmall && } {t('home:create')}

CRAB FIT

:
- + CRAB FIT
{t('common:tagline')} diff --git a/frontend/src/components/Video/Video.module.scss b/frontend/src/components/Video/Video.module.scss index 5f06936..ebbbb12 100644 --- a/frontend/src/components/Video/Video.module.scss +++ b/frontend/src/components/Video/Video.module.scss @@ -31,6 +31,7 @@ img { width: 100%; + height: auto; display: block; border-radius: inherit; background-color: #CCC; diff --git a/frontend/src/components/Video/Video.tsx b/frontend/src/components/Video/Video.tsx index 9089662..61e782d 100644 --- a/frontend/src/components/Video/Video.tsx +++ b/frontend/src/components/Video/Video.tsx @@ -3,7 +3,7 @@ import { useState } from 'react' import { useTranslation } from '/src/i18n/client' -import video_thumb from '/src/res/video_thumb.jpg' +import video_thumb from '/src/res/video_thumb.webp' import styles from './Video.module.scss' @@ -34,7 +34,7 @@ const Video = () => { setIsPlaying(true) }} > - {t('video.button')} + {t('video.button')} {t('video.button')} ) diff --git a/frontend/src/res/video_thumb.jpg b/frontend/src/res/video_thumb.jpg deleted file mode 100644 index 8e1eb1f..0000000 Binary files a/frontend/src/res/video_thumb.jpg and /dev/null differ diff --git a/frontend/src/res/video_thumb.webp b/frontend/src/res/video_thumb.webp new file mode 100644 index 0000000..819bded Binary files /dev/null and b/frontend/src/res/video_thumb.webp differ