Skip to content

Commit

Permalink
(#5) Atualizando App.tsx com os componentes já feitos
Browse files Browse the repository at this point in the history
Co-authored-by: Emily Sousa <diassousa@yahoo.com.br>
  • Loading branch information
sergiosacj and emysdias committed Sep 17, 2021
1 parent cce1a08 commit 9f55284
Showing 1 changed file with 25 additions and 11 deletions.
36 changes: 25 additions & 11 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,32 @@
import React from 'react';
import React from "react";

import GlobalStyle from 'styles/global';
import GlobalStyle from "styles/global";

import NavBar from 'components/NavBar';
import Loading from 'components/Loading';
import NavBar from "components/NavBar";
import Loading from "components/Loading";
import MenuItem from "components/MenuItem";

const App: React.FC = () => {
return (
<>
<NavBar />
<Loading />
<GlobalStyle />
</>
);
return (
<>
<NavBar />
<MenuItem
id={0}
image={
"https://blog.finamac.com/wp-content/uploads/2019/10/309956-como-oferecer-os-melhores-sabores-de-milkshake-para-os-clientes-1280x640.jpg"
}
name={"Milkshake"}
price={"16.90"}
discount={0}
description={
"Disponível nos sabores morango, chocolate, oreo e creme de\
avelã."
}
/>
<Loading />
<GlobalStyle />
</>
);
};

export default App;

0 comments on commit 9f55284

Please sign in to comment.