Skip to content

Commit

Permalink
border shadow and page link through the header
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Apr 8, 2021
1 parent 3117c43 commit a732495
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
Binary file modified .github/assets/webpage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@

<p align="center">
<img src="https://raw.githubusercontent.com/ArthurFiorette/steam-trader/main/.github/assets/webpage.png"
alt="Web panel empty"
width="720px" />
alt="Web panel empty" />
</p>

## About
Expand Down
1 change: 1 addition & 0 deletions web/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export const GIT_URL = 'https://github.com/ArthurFiorette/steam-trader#readme';
export const PAGE_URL = 'https://arthurfiorette.com.br/steam-trader';
15 changes: 10 additions & 5 deletions web/src/header.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
import { Github } from 'react-bootstrap-icons';
import { Github, JournalRichtext } from 'react-bootstrap-icons';
import { IconButton } from './components/button';
import { GIT_URL } from './constants';
import { GIT_URL, PAGE_URL } from './constants';

export default function Header() {
return (
<header id="header" className="shadow">
<nav className="navbar navbar-expand navbar-dark bg-dark px-4 justify-content-between">
<div className="navbar-brand">Steam Trader</div>
<a href={GIT_URL} target="_blank">
<IconButton icon={Github} color="light" classes="border-0 p-1" iconProps={{ size: '32' }} />
</a>
<div>
<a className="me-3" href={PAGE_URL} target="_blank">
<IconButton icon={JournalRichtext} color="light" classes="border-0 p-1" iconProps={{ size: '32' }} />
</a>
<a href={GIT_URL} target="_blank">
<IconButton icon={Github} color="light" classes="border-0 p-1" iconProps={{ size: '32' }} />
</a>
</div>
</nav>
</header>
);
Expand Down

0 comments on commit a732495

Please sign in to comment.