Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
feat: Add a Navbar to all views
Browse files Browse the repository at this point in the history
  • Loading branch information
Eray C committed Nov 1, 2021
1 parent c7b327b commit d45959a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from "react";
import "./index.css";

// Components
import { Loading } from "./components/Loading";
// import { Loading } from "./components/Loading";
import { Navbar } from "./components/Navbar";

// Views
Expand Down Expand Up @@ -47,9 +47,9 @@ class App extends React.Component {

return (
<div className="min-h-screen bg-yellow-25">
{/* <Navbar /> */}
{/* <ChooseBread order={this.state} /> */}
<ChooseMeat order={this.state} />
<Navbar />
<ChooseBread order={this.state} />
{/* <ChooseMeat order={this.state} /> */}
{/* <ChooseVegetables order={this.state} /> */}
{/* <ChooseSauces order={this.state} /> */}
</div>
Expand Down
14 changes: 14 additions & 0 deletions src/components/Navbar.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import * as React from "react";

import "../index.css";
import logo_colored from "../assets/logo_colored.png";

export class Navbar extends React.Component {
render() {
return (
<div className="flex flex-row items-center justify-center bg-yellow-25">
<img src={logo_colored} className="my-10 w-50" alt="magic_kebab_logo"/>
</div>
);
}
}

0 comments on commit d45959a

Please sign in to comment.