|
| 1 | +import { |
| 2 | + discordServerUrl, |
| 3 | + githubRepositoryUrl, |
| 4 | + typstOfficialDocsUrl, |
| 5 | +} from "../../../metadata"; |
| 6 | + |
1 | 7 | export const SiteNoticeBanner = () => { |
2 | 8 | return ( |
3 | 9 | <div |
@@ -58,33 +64,31 @@ export const SiteNoticeBanner = () => { |
58 | 64 | </span> |
59 | 65 | <span class="block flex-1 pt-1 pb-2 leading-normal sm:inline sm:pt-0 sm:pb-0"> |
60 | 66 | 当サイトは、 |
61 | | - <a href="https://typst.app/docs/">Typst v0.13.1 公式ドキュメント</a> |
| 67 | + <a href={typstOfficialDocsUrl}>Typst v0.13.1 公式ドキュメント</a> |
62 | 68 | を、日本語コミュニティが非公式に翻訳したものです。誤訳・未訳・古い情報が含まれている可能性があるため、 |
63 | | - <a href="https://typst.app/docs/">公式ドキュメント</a> |
| 69 | + <a href={typstOfficialDocsUrl}>公式ドキュメント</a> |
64 | 70 | との併用を推奨します。このサイトの内容に誤りを発見された方は、 |
65 | | - <a href="https://github.com/typst-jp/typst-jp.github.io"> |
| 71 | + <a href={githubRepositoryUrl}> |
66 | 72 | GitHubリポジトリまでご報告を頂けましたら幸いです |
67 | 73 | </a> |
68 | 74 | 。我々のコミュニティにご興味のある方は、ぜひ |
69 | | - <a href="https://discord.gg/9xF7k4aAuH"> |
| 75 | + <a href={discordServerUrl}> |
70 | 76 | 非公式Discordサーバー「くみはんクラブ」 |
71 | 77 | </a> |
72 | 78 | にご参加ください。 |
73 | 79 | <br /> |
74 | 80 | This site provides an unofficial translation of the |
75 | | - <a href="https://typst.app/docs/">Typst v0.13.1 documentation</a> |
| 81 | + <a href={typstOfficialDocsUrl}>Typst v0.13.1 documentation</a> |
76 | 82 | by the Japanese Community. Please note that there may be some |
77 | 83 | inaccuracies, untranslated sections or outdated information. We |
78 | 84 | highly recommend referring to |
79 | | - <a href="https://typst.app/docs/"> |
80 | | - the latest official documentation |
81 | | - </a> |
| 85 | + <a href={typstOfficialDocsUrl}>the latest official documentation</a> |
82 | 86 | as well. If you find any errors in the content, |
83 | | - <a href="https://github.com/typst-jp/typst-jp.github.io"> |
| 87 | + <a href={githubRepositoryUrl}> |
84 | 88 | please let us know through our GitHub repository. |
85 | 89 | </a> |
86 | 90 | If you are interested in our community, feel free to join |
87 | | - <a href="https://discord.gg/9xF7k4aAuH"> |
| 91 | + <a href={discordServerUrl}> |
88 | 92 | our unofficial Discord server, "Kumihan Club." |
89 | 93 | </a> |
90 | 94 | </span> |
|
0 commit comments