diff --git a/README.md b/README.md index 7b0e86fa..7f66b973 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ FaceEmo is a facial expression creation and configuration tool for VRChat Avatars 3.0. It allows for easy configuration of facial expression changes using hand gestures and the Expression Menu! +[![video (en)](docs/static/img/readme/video_en.png)](https://www.youtube.com/embed/hZIHdWUONHM?rel=0) + For more information, check out the [documentation](https://suzuryg.github.io/face-emo/). --- @@ -12,4 +14,6 @@ For more information, check out the [documentation](https://suzuryg.github.io/fa FaceEmoはVRChat Avatars 3.0用の表情作成・設定ツールです。 ハンドジェスチャーとExpression Menuを組み合わせた表情切り替えを簡単に設定できます! +[![video (jp)](docs/static/img/readme/video_jp.png)](https://www.youtube.com/embed/Y3taqFjOjZ8?rel=0) + 詳細については[ドキュメント](https://suzuryg.github.io/face-emo/ja/)をご参照ください。 diff --git a/docs/src/components/HomepageFeatures/index.tsx b/docs/src/components/HomepageFeatures/index.tsx index 9f0f8d54..d759a5f7 100644 --- a/docs/src/components/HomepageFeatures/index.tsx +++ b/docs/src/components/HomepageFeatures/index.tsx @@ -1,7 +1,8 @@ import React from 'react'; import clsx from 'clsx'; import styles from './styles.module.css'; -import Translate from '@docusaurus/Translate' +import Translate from '@docusaurus/Translate'; +import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; function Features() { return ( @@ -47,6 +48,22 @@ function Features() { ); } +function VideoContainer() { + const { siteConfig, i18n } = useDocusaurusContext(); + var video_url; + if (i18n.currentLocale == "ja") { video_url = "https://www.youtube.com/embed/Y3taqFjOjZ8?rel=0"; } + else { video_url = "https://www.youtube.com/embed/hZIHdWUONHM?rel=0"; } + + return ( +