diff --git a/nodePackages/web/src/assets/texts/pricing.en.md b/nodePackages/web/src/assets/texts/pricing.en.md new file mode 100644 index 00000000..3af62ead --- /dev/null +++ b/nodePackages/web/src/assets/texts/pricing.en.md @@ -0,0 +1,33 @@ + + +## FAQ + +### All plans appear to be free; is this true? + +Yes, all plans are free. We offer the LaunchPad Icons +under a [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) license, +which allows unlimited use with some restrictions, such as non-commercial use. + +### I want to contribute to this project. Is there a paid plan? + +For now, we don't plan to offer a paid plan. That is not to say that we +don't need money, but we would welcome +[your contribution to the project](https://github.com/kurone-kito/launchpad-icons) +more than money. + +### However, I need to gain the technical skills to contribute. Is there anything I can do? + +For example, +[bug reports and feature requests](https://github.com/kurone-kito/launchpad-icons/issues) +are valuable contributions to this project. Even if you lack technical +skills, introducing this project to others is also a great contribution. +Here is a special tip for you on the most efficient way to promote this +project. Please enter the VRChat world, which uses the +Launchpad Icons, take many pictures, and share +them on your SNS using the hashtag +**#LaunchpadIcons**. + +### I'd love to support this project with some quick money + +Ok, ok. I lost. Please support me on my +[Amazon(JP) wish list](https://www.amazon.co.jp/hz/wishlist/ls/27C22EN4MOBL8). diff --git a/nodePackages/web/src/assets/texts/pricing.ja.md b/nodePackages/web/src/assets/texts/pricing.ja.md new file mode 100644 index 00000000..bfcac445 --- /dev/null +++ b/nodePackages/web/src/assets/texts/pricing.ja.md @@ -0,0 +1,37 @@ + + +## よくある質問 + +### すべてのプランが無料に見えます。本当ですか? + +はい。LaunchPad Icons は +[CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/)ライセンスで +提供しております。非商用利用など制約はございますが、無制限に利用できます。 + +### このプロジェクトに貢献したいです。有料プランはありますか? + +今のところ、有料プランを提供する予定はありません。 +お金が要らないと言うわけではありませんが、お金よりも +[プロジェクトへの貢献](https://github.com/kurone-kito/launchpad-icons) +を歓迎します。 + +### しかし、貢献するためには技術的なスキルが要るでしょう。私にできることは? + +例えば、 +[バグレポートや機能リクエスト](https://github.com/kurone-kito/launchpad-icons/issues) +などでも、このプロジェクトへの貴重な貢献でしょう。 +たとえ技術的なスキルがなくても、このプロジェクトを他の人に紹介することも、 +また素晴らしい貢献です。 + +ここでこのプロジェクトを宣伝する最も効率的な方法について、 +あなたに特別なヒントを差し上げます。 +LaunchPad Icons を使っている +VRChat のワールドを見つけたら、写真をたくさん撮って、ハッシュタグ +**#LaunchpadIcons** +を付けて SNS でシェアしてください。 + +### このプロジェクトを手っ取り早くお金で支援したいです + +🐱 しょうがないにゃあ、いいよ。 +[Amazon のほしい物リスト](https://www.amazon.co.jp/hz/wishlist/ls/27C22EN4MOBL8) +で支援してください。 diff --git a/nodePackages/web/src/i18n/en.ts b/nodePackages/web/src/i18n/en.ts index 11db73d5..84a91b52 100644 --- a/nodePackages/web/src/i18n/en.ts +++ b/nodePackages/web/src/i18n/en.ts @@ -30,6 +30,7 @@ const en: Resources = { planPro1: 'All features from the Basic plan', planPro2: 'Awareness as a professional user', pricing: 'Pricing', + pricingTitle: 'Pricing', sampleWorld: 'Sample VRChat world', subscribe: "It's the thought that counts", subscribed: 'Already subscribed', diff --git a/nodePackages/web/src/i18n/ja.ts b/nodePackages/web/src/i18n/ja.ts index 14346bd5..344d479a 100644 --- a/nodePackages/web/src/i18n/ja.ts +++ b/nodePackages/web/src/i18n/ja.ts @@ -30,6 +30,7 @@ const ja: Resources = { planPro1: 'Basicプランの全機能', planPro2: 'プロユーザーとしての自覚', pricing: '価格とFAQ', + pricingTitle: '価格', sampleWorld: 'サンプルワールドに行く', subscribe: '気持ちだけいただきます', subscribed: '購読済み', diff --git a/nodePackages/web/src/i18n/types.ts b/nodePackages/web/src/i18n/types.ts index f04edb14..a011a297 100644 --- a/nodePackages/web/src/i18n/types.ts +++ b/nodePackages/web/src/i18n/types.ts @@ -31,6 +31,7 @@ export type ResourcesKeys = | 'planPro1' | 'planPro2' | 'pricing' + | 'pricingTitle' | 'sampleWorld' | 'subscribe' | 'subscribed' diff --git a/nodePackages/web/src/routes/[[language]]/pricing.tsx b/nodePackages/web/src/routes/[[language]]/pricing.tsx index 7b41f60e..3410ca5f 100644 --- a/nodePackages/web/src/routes/[[language]]/pricing.tsx +++ b/nodePackages/web/src/routes/[[language]]/pricing.tsx @@ -1,14 +1,37 @@ import type { Component } from 'solid-js'; +import { onMount } from 'solid-js'; +import { themeChange } from 'theme-change'; +import { html as en } from '../../assets/texts/pricing.en.md'; +import { html as ja } from '../../assets/texts/pricing.ja.md'; +import { Head } from '../../components/atoms/Head.js'; +import { PricingTable } from '../../components/organisms/PricingTable'; +import { DefaultTemplate } from '../../components/templates/DefaultTemplate'; +import { + createI18NText, + useLanguage, + useTranslator, +} from '../../modules/createI18N'; + +const mdTranslator = createI18NText({ en, ja } as const); /** - * The explore page. + * The pricing page. * @returns The component. */ -const Pricing: Component = () => ( -
-

Pricing page

-

TODO: Add the content here.

-
-); +const Pricing: Component = () => { + onMount(() => themeChange(false)); + const md = mdTranslator(useLanguage()); + const t = useTranslator(); + return ( + +
+ +

{t('pricingTitle')}

+ +
+
+
+ ); +}; export default Pricing;