diff options
author | Masaya Tojo <masaya@tojo.tokyo> | 2024-08-01 00:41:28 +0900 |
---|---|---|
committer | Masaya Tojo <masaya@tojo.tokyo> | 2024-08-01 00:41:28 +0900 |
commit | 70142a39acd769c858db7aa33d2d11b17483d765 (patch) | |
tree | fd5c0b53a7249260f3ed5cf578d3391f918707a4 /src/Top.tsx | |
parent | 4850d61e487489835583c49129ca021ee1538d53 (diff) |
React Router でトップページと会員登録ページにアクセスできるようにする
Diffstat (limited to 'src/Top.tsx')
-rw-r--r-- | src/Top.tsx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Top.tsx b/src/Top.tsx new file mode 100644 index 0000000..7907ed5 --- /dev/null +++ b/src/Top.tsx @@ -0,0 +1,13 @@ +import './Top.css' + +export const Top = () => { + return ( + <> + <h1>トップページ</h1> + <ul> + <li><a href='./sign-up'>会員登録</a></li> + </ul> + </> + ); +} + |