diff options
| author | Sam Nystrom <sam@samnystrom.dev> | 2024-03-13 12:43:43 +0000 |
|---|---|---|
| committer | Sam Nystrom <sam@samnystrom.dev> | 2024-03-13 20:17:07 -0400 |
| commit | cc0fbd8e07c3d85400eaecbb2d4498d7108d3119 (patch) | |
| tree | 00d8a80189fb2590afa7410bc9c2a37cd11df44f /src/pages/Home.tsx | |
| parent | 2e39671e683f2fdf5a94dafe8d49c4c5befa38c8 (diff) | |
feat: use different header actions for each page
Diffstat (limited to 'src/pages/Home.tsx')
| -rw-r--r-- | src/pages/Home.tsx | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index f177a75..43f5955 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -1,11 +1,18 @@ -import { Content } from '../components'; +import { Header, Content, Button } from '../components'; const Home = () => { return ( - <Content> - <p><a href="/play">Try Now</a></p> - <p><a href="/signup">Create Account</a></p> - </Content> + <> + <Header> + <Button kind="ghost" href="/play">Try Now</Button> + <Button kind="ghost" href="/login">Log In</Button> + <Button kind="ghost" href="/signup">Sign Up</Button> + </Header> + <Content> + <p><a href="/play">Try Now</a></p> + <p><a href="/signup">Create Account</a></p> + </Content> + </> ); }; |
