diff options
author | 安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com> | 2024-01-12 13:46:12 +0900 |
---|---|---|
committer | 安竹洋平 <61961825+yasutakeyohei@users.noreply.github.com> | 2024-01-12 13:46:12 +0900 |
commit | 50e975d01c3a48bb98957fd5eb4936beb2aa3b1e (patch) | |
tree | 0d3f0cf4a0f25c8a4b825782d63c8c76d7d1b7d4 | |
parent | c00b06cc46f1721dee01725afbc31e17451576ec (diff) |
リンクをselfに変更
-rw-r--r-- | docusaurus.config.js | 11 | ||||
-rw-r--r-- | src/pages/index.js | 3 |
2 files changed, 9 insertions, 5 deletions
diff --git a/docusaurus.config.js b/docusaurus.config.js index 72c7355f..9b6d19dd 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -124,7 +124,7 @@ const config = { title: 'コミュニティ', items: [ { - label: 'Twitter', + label: 'X(旧Twitter)', href: 'https://twitter.com/yasutakeyohei', }, ], @@ -134,15 +134,18 @@ const config = { items: [ { label: 'オフィシャルサイト', - href: 'https://yasutakeyohei.com/', + to: 'https://yasutakeyohei.com/', + target: '_self', }, { label: 'ふらっとブログ', - href: 'https://yasutakeyohei.com/blog/', + to: 'https://yasutakeyohei.com/blog/', + target: '_self', }, { label: 'Cgit(新)', - href: 'https://git.yasutakeyohei.com/', + to: 'https://cgit.yasutakeyohei.com/', + target: '_self', }, { label: 'GitHub(旧)', diff --git a/src/pages/index.js b/src/pages/index.js index 30b92acc..e4002351 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -19,7 +19,8 @@ function HomepageHeader() { <div className={styles.buttons}> <Link className="button button--secondary button--lg" - to="https://yasutakeyohei.com/"> + to="https://yasutakeyohei.com/" + target="_self"> 安竹洋平のオフィシャルサイトはこちら </Link> </div> |