From e6c6af1908a4739335a87fddaf83749a57ff0ce4 Mon Sep 17 00:00:00 2001 From: Yoichiro Tanaka Date: Wed, 23 Apr 2025 09:44:30 +0900 Subject: [PATCH] Add a new doc page for Japanese Terms. --- src/components/documents/Documents.tsx | 6 +- .../ebizrule/ElectricalBusinessRule.tsx | 77 +++++++++++++++++++ src/components/documents/index/Index.tsx | 6 ++ src/utils/GoogleAnalytics.ts | 4 +- 4 files changed, 91 insertions(+), 2 deletions(-) create mode 100644 src/components/documents/ebizrule/ElectricalBusinessRule.tsx diff --git a/src/components/documents/Documents.tsx b/src/components/documents/Documents.tsx index a07600ba..e8547ed4 100644 --- a/src/components/documents/Documents.tsx +++ b/src/components/documents/Documents.tsx @@ -19,6 +19,7 @@ import Build from './build/Build'; import SupportCodeEditing from './support-code-editing/SupportCodeEditing'; import Statistics from './statistics/Statistics'; import Internationalization from './i18n/Internationalization'; +import ElectricalBusinessRule from './ebizrule/ElectricalBusinessRule'; type RouteParams = { docId: string; @@ -69,7 +70,10 @@ export default function Documents(props: DocumentsPropsType) { sendEventToGoogleAnalytics('docs/statistics'); } else if (docId === 'i18n') { page = ; - sendEventToGoogleAnalytics('docs/statistics'); + sendEventToGoogleAnalytics('docs/internationalization'); + } else if (docId === 'ebizrule') { + page = ; + sendEventToGoogleAnalytics('docs/ebizrule'); } else { page = ; } diff --git a/src/components/documents/ebizrule/ElectricalBusinessRule.tsx b/src/components/documents/ebizrule/ElectricalBusinessRule.tsx new file mode 100644 index 00000000..df60d49f --- /dev/null +++ b/src/components/documents/ebizrule/ElectricalBusinessRule.tsx @@ -0,0 +1,77 @@ +import React from 'react'; +import { Link, Typography } from '@mui/material'; + +export default function ElectricalBusinessRule() { + return ( + + 特定商取引法に基づく表記 +
+ + 「特定商取引に関する法律」第 11 + 条に基づき、以下のとおり表示いたします。 + + + 販売事業者 + + 代表者名: 田中 洋一郎 +
+ 所在地: 請求があった際に延滞なく開示します +
+ + 連絡先 + + 電話番号: 請求があった際に延滞なく開示します +
+ メールアドレス:{' '} + + yoichiro6642@gmail.com + +
+ 問い合わせ対応時間: 可能な限り 3 営業日以内に対応します +
+ + 販売価格 + + 購入手続きの際に画面に表示されます。 + + + 販売価格以外でお客様に発生する金銭 + + 当サイトのページの閲覧、コンテンツ購入、ソフトウェアのダウンロード等に必要となるインターネット接続料金、通信料金等はお客様の負担となります。それぞれの料金は、お客様がご利用のインターネットプロバイダーまたは携帯電話会社にお問い合わせください。消費税は、内税として表示しております。 + + + + デジタルアイテム等の利用が可能になる時期 + + + 購入に関するページに特別な定めが書かれている場合を除き、購入取引後、直ちにご利用いただけます。 + + + お支払い方法 + + クレジットカード決済、その他購入に掛かる決済を代行する会社が提供するお支払い方法 + + + 支払時期 + + 購入時にお支払いいただきます。 + + + 返品について + + デジタルアイテム等購入後のお客様のご都合によるキャンセルは、お受けできません。 + + + 適用範囲 + + 本表示は、日本の特定商取引に関する法律に基づいて表示するものであり、日本国内からご利用のお客様に対してのみ適用されます。日本国外からご利用のお客様については、お客様の居住国の法令が適用される場合があります。 +
+ This notation is based on the Specified Commercial Transactions Act of + Japan and applies only to Remap users located in Japan. For users + outside of Japan, the laws and regulations of your country of + residence may apply. +
+
+
+ ); +} diff --git a/src/components/documents/index/Index.tsx b/src/components/documents/index/Index.tsx index cc25f7a3..8ac50640 100644 --- a/src/components/documents/index/Index.tsx +++ b/src/components/documents/index/Index.tsx @@ -60,6 +60,12 @@ export default function Index() { User Community + + + 特定商取引法に基づく表記 (Notations are based on the Specified + Commercial Transaction Act) + + diff --git a/src/utils/GoogleAnalytics.ts b/src/utils/GoogleAnalytics.ts index 79ea9397..8ad8e6fd 100644 --- a/src/utils/GoogleAnalytics.ts +++ b/src/utils/GoogleAnalytics.ts @@ -36,7 +36,9 @@ type IActionName = | 'docs/statistics' | 'docs/support-code-editing' | 'docs/support-qmk-022' - | 'docs/terms_of_use'; + | 'docs/terms_of_use' + | 'docs/internationalization' + | 'docs/ebizrule'; interface IActionOptions { vendor_id?: string | number;