Compare commits
1 Commits
master
...
dependabot
Author | SHA1 | Date | |
---|---|---|---|
|
ac4adc8665 |
@@ -1,7 +0,0 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM node:12-alpine
|
||||
RUN apk add --no-cache python g++ make
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN yarn install --production
|
||||
CMD ["node", "src/index.js"]
|
@@ -8,10 +8,9 @@
|
||||
<link rel="stylesheet" href="css/font-awesome/all.min.css" crossorigin="anonymous" />
|
||||
<link href="https://fonts.googleapis.com/css?family=Lato&display=swap" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="css/styles.css" />
|
||||
<title>Lista de compras</title>
|
||||
<title>Todo App</title>
|
||||
</head>
|
||||
<body>
|
||||
<center><h2>Lista de Compras</h2></center>
|
||||
<div id="root"></div>
|
||||
<script src="js/react.production.min.js"></script>
|
||||
<script src="js/react-dom.production.min.js"></script>
|
||||
|
@@ -53,7 +53,7 @@ function TodoListCard() {
|
||||
<React.Fragment>
|
||||
<AddItemForm onNewItem={onNewItem} />
|
||||
{items.length === 0 && (
|
||||
<p className="text-center">Adicionar um item</p>
|
||||
<p className="text-center">No items yet! Add one above!</p>
|
||||
)}
|
||||
{items.map(item => (
|
||||
<ItemDisplay
|
||||
@@ -96,7 +96,7 @@ function AddItemForm({ onNewItem }) {
|
||||
value={newItem}
|
||||
onChange={e => setNewItem(e.target.value)}
|
||||
type="text"
|
||||
placeholder="Novo produto"
|
||||
placeholder="New Item"
|
||||
aria-describedby="basic-addon1"
|
||||
/>
|
||||
<InputGroup.Append>
|
||||
@@ -106,7 +106,7 @@ function AddItemForm({ onNewItem }) {
|
||||
disabled={!newItem.length}
|
||||
className={submitting ? 'disabled' : ''}
|
||||
>
|
||||
{submitting ? 'Adding...' : 'OK'}
|
||||
{submitting ? 'Adding...' : 'Add Item'}
|
||||
</Button>
|
||||
</InputGroup.Append>
|
||||
</InputGroup>
|
||||
|
@@ -3178,9 +3178,9 @@ path-key@^2.0.0, path-key@^2.0.1:
|
||||
integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=
|
||||
|
||||
path-parse@^1.0.6:
|
||||
version "1.0.6"
|
||||
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
|
||||
integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
|
||||
version "1.0.7"
|
||||
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
|
||||
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
|
||||
|
||||
path-to-regexp@0.1.7:
|
||||
version "0.1.7"
|
||||
|
Reference in New Issue
Block a user