Skip to content

Commit

Permalink
added some color variables and used them for the navBar
Browse files Browse the repository at this point in the history
  • Loading branch information
rigrergl committed Nov 10, 2020
1 parent 18c70c9 commit 296655c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Layout = ({ children, title = 'This is the default title' }: Props) => (
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
</Head>
<header>
<nav className="navbar" role="navigation" aria-label="main navigation">
<nav className="navbar is-primary" role="navigation" aria-label="main navigation">
<div className="navbar-brand">
<a className="navbar-item" href="https://bulma.io">
<img src="https://bulma.io/images/bulma-logo.png" width="112" height="28"/>
Expand Down Expand Up @@ -80,6 +80,10 @@ const Layout = ({ children, title = 'This is the default title' }: Props) => (
<a className="navbar-item" href="/users">
Users List
</a>

<a className="navbar-item" href="/api/users">
Users API
</a>
</div>

<div className="navbar-end">
Expand Down
6 changes: 5 additions & 1 deletion theming/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
////////////////////////////////////////////////
// DEFAULT
////////////////////////////////////////////////
////////////////////////////////////////////////
$UTD-ORANGE: rgb(232,117,0);
$UTD-GREEN: rgb(18,71,52);

$primary: $UTD-GREEN;

1 comment on commit 296655c

@rigrergl
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also centered the footer

Please sign in to comment.