|
1 | 1 | import { |
2 | 2 | discordServerUrl, |
| 3 | + githubOrganizationUrl, |
3 | 4 | githubRepositoryUrl, |
4 | 5 | typstOfficialDocsUrl, |
| 6 | + version, |
5 | 7 | } from "../../../metadata"; |
| 8 | +import { InfoCircleIcon } from "../../icons"; |
6 | 9 |
|
7 | 10 | export const SiteNoticeBanner = () => { |
8 | 11 | return ( |
@@ -36,72 +39,39 @@ export const SiteNoticeBanner = () => { |
36 | 39 | > |
37 | 40 | <div class="prose relative flex flex-col sm:flex-row items-start w-full px-3 sm:px-12 mx-auto max-w-7xl flex-wrap"> |
38 | 41 | <div class="flex flex-col sm:flex-row w-full text-xs leading-6 text-black duration-150 ease-out opacity-80 hover:opacity-100 gap-3"> |
39 | | - <span class="flex items-center flex-shrink-0"> |
40 | | - <svg |
41 | | - class="w-4 h-4 mr-2" |
42 | | - viewBox="0 0 24 24" |
43 | | - fill="none" |
44 | | - stroke="currentColor" |
45 | | - > |
46 | | - <title>Warning</title> |
47 | | - <path |
48 | | - d="M12 3L2 21h20L12 3z" |
49 | | - stroke="currentColor" |
50 | | - strokeWidth="1.5" |
51 | | - /> |
52 | | - <rect |
53 | | - x="11" |
54 | | - y="9" |
55 | | - width="2" |
56 | | - height="5" |
57 | | - rx="1" |
58 | | - stroke="none" |
59 | | - fill="currentColor" |
60 | | - /> |
61 | | - <rect |
62 | | - x="11" |
63 | | - y="16" |
64 | | - width="2" |
65 | | - height="2" |
66 | | - rx="1" |
67 | | - stroke="none" |
68 | | - fill="currentColor" |
69 | | - /> |
70 | | - </svg> |
71 | | - <strong>注意 / Warning</strong> |
| 42 | + <span class="flex items-center flex-shrink-0 gap-2"> |
| 43 | + <div class="w-4 h-4"> |
| 44 | + <InfoCircleIcon /> |
| 45 | + </div> |
| 46 | + <strong>情報 / Info</strong> |
72 | 47 | </span> |
73 | 48 | <span class="hidden sm:flex items-center"> |
74 | 49 | <span class="inline-block w-px h-12 bg-neutral-200 mx-3" /> |
75 | 50 | </span> |
76 | 51 | <span class="block flex-1 pt-1 pb-2 leading-normal sm:inline sm:pt-0 sm:pb-0"> |
77 | | - 当サイトは、 |
78 | | - <a href={typstOfficialDocsUrl}>Typst v0.13.1 公式ドキュメント</a> |
79 | | - を、日本語コミュニティが非公式に翻訳したものです。誤訳・未訳・古い情報が含まれている可能性があるため、 |
80 | | - <a href={typstOfficialDocsUrl}>公式ドキュメント</a> |
81 | | - との併用を推奨します。このサイトの内容に誤りを発見された方は、 |
82 | | - <a href={githubRepositoryUrl}> |
83 | | - GitHubリポジトリまでご報告を頂けましたら幸いです |
84 | | - </a> |
85 | | - 。我々のコミュニティにご興味のある方は、ぜひ |
86 | | - <a href={discordServerUrl}> |
87 | | - 非公式Discordサーバー「くみはんクラブ」 |
| 52 | + 当サイトは、Typst GmbHの許諾を得て、日本語コミュニティ「 |
| 53 | + <a href={githubOrganizationUrl}>Typst Japan Community</a>」が |
| 54 | + <a href={typstOfficialDocsUrl}> |
| 55 | + Typst v{version}の公式ドキュメント |
88 | 56 | </a> |
89 | | - にご参加ください。 |
| 57 | + を翻訳したものです。誤訳や古い情報が含まれている可能性があるため、 |
| 58 | + <a href={typstOfficialDocsUrl}>公式ドキュメント</a> |
| 59 | + との併用を推奨します。翻訳の改善やサイトの機能向上について、 |
| 60 | + <a href={githubRepositoryUrl}>GitHub</a>でのIssueやPull |
| 61 | + Requestを歓迎します。コミュニティにご興味のある方は |
| 62 | + <a href={discordServerUrl}>Discordサーバー「くみはんクラブ」</a> |
| 63 | + にぜひご参加ください。 |
90 | 64 | <br /> |
91 | | - This site provides an unofficial translation of the |
92 | | - <a href={typstOfficialDocsUrl}>Typst v0.13.1 documentation</a> |
93 | | - by the Japanese Community. Please note that there may be some |
94 | | - inaccuracies, untranslated sections or outdated information. We |
95 | | - highly recommend referring to |
96 | | - <a href={typstOfficialDocsUrl}>the latest official documentation</a> |
97 | | - as well. If you find any errors in the content, |
98 | | - <a href={githubRepositoryUrl}> |
99 | | - please let us know through our GitHub repository. |
100 | | - </a> |
101 | | - If you are interested in our community, feel free to join |
102 | | - <a href={discordServerUrl}> |
103 | | - our unofficial Discord server, "Kumihan Club." |
104 | | - </a> |
| 65 | + This site provides a Japanese translation of the{" "} |
| 66 | + <a href={typstOfficialDocsUrl}>Typst v{version} documentation</a>{" "} |
| 67 | + maintained by the " |
| 68 | + <a href={githubOrganizationUrl}>Typst Japan Community</a>" with |
| 69 | + permission from Typst GmbH. We recommend using this alongside the{" "} |
| 70 | + <a href={typstOfficialDocsUrl}>official documentation</a>. We |
| 71 | + welcome contributions through Issues and Pull Requests on{" "} |
| 72 | + <a href={githubRepositoryUrl}>our GitHub repository</a> for both |
| 73 | + translation improvements and website enhancements. Feel free to join{" "} |
| 74 | + <a href={discordServerUrl}>our Discord server "Kumihan Club"</a>. |
105 | 75 | </span> |
106 | 76 | </div> |
107 | 77 | </div> |
|
0 commit comments