Skip to content

Commit 076b1b5

Browse files
committed
Update
1 parent f4c2d56 commit 076b1b5

File tree

7 files changed

+45
-5
lines changed

7 files changed

+45
-5
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@
9090

9191
- Ex webapp-007 - Por CLI Bootstrap
9292
- npm install --save bootstrap
93+
- acrescentar trecho de codigo no arquivo angular.json abaixo de styles.
94+
- "../node_modules/bootstrap/dist/css/bootstrap.min.css",
9395

9496

9597
### 10 - Utilização de CSS nos Components.
@@ -177,6 +179,7 @@
177179

178180
- Criação de um Components
179181
- ng g c loja
182+
- ng g c stock
180183

181184

182185

webapp-027/src/app/app.component.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,21 @@
88
border: 1px solid gray;
99
border-radius: 5px;
1010
}
11+
12+
.logo {
13+
width: 8rem;
14+
height: 8rem;
15+
}
16+
17+
.btn {
18+
margin-left: 10px;
19+
}
20+
21+
.btn-size {
22+
width: 150px;
23+
}
24+
25+
26+
27+
28+

webapp-027/src/app/app.component.html

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
<!--Principal-->
2-
<div class="container panel-defalt espaco">
2+
<div class="container panel panel-default espaco">
3+
4+
5+
<!-- Navegação -->
6+
<div class="row">
7+
<!--Logo-->
8+
<div class="col-sm-6 col-xs-12">
9+
10+
<img src="../assets/logo1.png" class="logo">
11+
</div>
12+
13+
<!--Botoes-->
14+
<div class="col-sm-6 col-xs-12 text-right">
15+
<button class="btn btn-primary btn-size"> Loja </button>
16+
<button class="btn btn-primary btn-size"> Estoque </button>
17+
</div>
18+
</div>
19+
20+
21+
22+
23+
324
<app-loja></app-loja>
4-
teste sapup3
25+
526
<app-stock></app-stock>
627
</div>

webapp-027/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ import { Component } from '@angular/core';
66
styleUrls: ['./app.component.css']
77
})
88
export class AppComponent {
9-
//...
9+
title = 'webapp-027';
1010
}

webapp-027/src/assets/logo1.png

47.4 KB
Loading

webapp-027/src/assets/logo2.png

-5.73 KB
Binary file not shown.

webapp-027/src/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
<body>
1414

1515

16-
17-
1816
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
1917
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
2018
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/js/bootstrap.min.js"></script>

0 commit comments

Comments
 (0)