Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Formation Angular
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aneo Web Talents
Angular
Formation Angular
Commits
afdb44d4
Commit
afdb44d4
authored
Aug 01, 2019
by
Emile TAVERNE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ajout composants card trombinoscope
parent
50d3a57e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
42 additions
and
2 deletions
+42
-2
app.module.ts
src/app/app.module.ts
+2
-1
header.component.scss
src/app/components/header/header.component.scss
+2
-1
index.ts
src/app/components/index.ts
+1
-0
page-trombinoscope.component.html
...ents/page-trombinoscope/page-trombinoscope.component.html
+12
-0
page-trombinoscope.component.scss
...ents/page-trombinoscope/page-trombinoscope.component.scss
+6
-0
trombinoscope-card.component.html
...ents/trombinoscope-card/trombinoscope-card.component.html
+4
-0
trombinoscope-card.component.scss
...ents/trombinoscope-card/trombinoscope-card.component.scss
+14
-0
trombinoscope-card.component.ts
...onents/trombinoscope-card/trombinoscope-card.component.ts
+0
-0
styles.scss
src/styles.scss
+1
-0
No files found.
src/app/app.module.ts
View file @
afdb44d4
...
...
@@ -9,7 +9,8 @@ import * as Components from './components';
declarations
:
[
AppComponent
,
Components
.
HeaderComponent
,
Components
.
PageTrombinoscopeComponent
Components
.
PageTrombinoscopeComponent
,
Components
.
TrombinoscopeCardComponent
,
],
imports
:
[
BrowserModule
...
...
src/app/components/header/header.component.scss
View file @
afdb44d4
...
...
@@ -7,12 +7,13 @@ header {
font-weight
:
400
;
letter-spacing
:
0
.6px
;
margin
:
0
;
padding
:
5px
10px
;
text-align
:
center
;
font-size
:
2rem
;
line-height
:
4rem
;
img
{
vertical-align
:
sub
;
float
:
left
;
}
}
}
src/app/components/index.ts
View file @
afdb44d4
export
*
from
'./header/header.component'
;
export
*
from
'./page-trombinoscope/page-trombinoscope.component'
;
export
*
from
'./trombinoscope-card/trombinoscope-card.component'
;
src/app/components/page-trombinoscope/page-trombinoscope.component.html
View file @
afdb44d4
<main
bp=
"grid 3"
>
<app-trombinoscope-card></app-trombinoscope-card>
<app-trombinoscope-card></app-trombinoscope-card>
<app-trombinoscope-card></app-trombinoscope-card>
<app-trombinoscope-card></app-trombinoscope-card>
<app-trombinoscope-card></app-trombinoscope-card>
<app-trombinoscope-card></app-trombinoscope-card>
<app-trombinoscope-card></app-trombinoscope-card>
<app-trombinoscope-card></app-trombinoscope-card>
<app-trombinoscope-card></app-trombinoscope-card>
<app-trombinoscope-card></app-trombinoscope-card>
</main>
src/app/components/page-trombinoscope/page-trombinoscope.component.scss
View file @
afdb44d4
main
{
width
:
80%
;
margin
:
0
auto
;
padding-top
:
30px
;
grid-gap
:
30px
;
}
src/app/components/trombinoscope-card/trombinoscope-card.component.html
0 → 100644
View file @
afdb44d4
<div
class=
"card"
>
<h2
bp=
"text-center"
>
{{ prenom }} {{ nom }}
</h2>
<img
[
src
]="
image
"
>
</div>
src/app/components/trombinoscope-card/trombinoscope-card.component.scss
0 → 100644
View file @
afdb44d4
.card
{
background-color
:
#ffffff
;
box-shadow
:
0
6px
6px
rgba
(
10
,
16
,
20
,
.15
)
,
0
0
52px
rgba
(
10
,
16
,
20
,
.12
);
padding
:
30px
;
h2
{
font-weight
:
500
;
margin
:
0
0
20px
;
}
img
{
width
:
100%
;
}
}
src/app/components/trombinoscope-card/trombinoscope-card.component.ts
0 → 100644
View file @
afdb44d4
This diff is collapsed.
Click to expand it.
src/styles.scss
View file @
afdb44d4
...
...
@@ -3,6 +3,7 @@
html
,
body
{
margin
:
0
;
padding
:
0
;
background-color
:
#fafafa
;
font-family
:
monospace
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment