2 |
3 |
4 |
5 | These are the tools we use everyday.
6 |
7 |
8 |
9 |
10 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
![]()
26 |
27 |
28 |
29 |
{{ post['title'] }}
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/src/app/how-we-work/tools/tools.component.scss:
--------------------------------------------------------------------------------
1 | @import "../../../styles.scss";
2 |
3 | img{
4 | max-width:100%;
5 | // max-height:100%;
6 | height: auto;
7 | // width:auto;
8 | }
9 |
10 | // ******************** slogan section
11 |
12 | .slogan-container {
13 | position: relative;
14 | text-align: center;
15 | .slogan {
16 | font-size: 4rem;
17 | @media screen and (max-width: $breakpoint_tablet) {
18 | font-size: 2rem;
19 | }
20 | font-weight: normal;
21 | font-family: $slogan_font;
22 | padding: 2em 0;
23 | }
24 | }
25 |
26 | /*-----------------thumb------------------*/
27 |
28 | ul.thumb-container{
29 | margin: auto;
30 | padding: 0;
31 | width: 60%;
32 | text-align: center;
33 |
34 | li.thumb{
35 | display: inline-block;
36 | margin: 3px;
37 | padding: 10px;
38 | width: 30%;
39 | height: 14em; /* not sure */
40 | text-align: center;
41 | vertical-align: top;
42 | background-color: #FFFFFF;
43 | // border-radius: 10px;
44 | overflow: hidden;
45 | }
46 | }
47 |
48 | @media screen and (max-width: $breakpoint_tablet) {
49 |
50 | ul.thumb-container{
51 | width: 100%;
52 |
53 | li.thumb{
54 | display: block;
55 | width: 100%;
56 | height: auto;
57 | }
58 | }
59 | }
60 |
61 | /*-----------------topic------------------*/
62 |
63 | .topic-container {
64 | position: relative;
65 | margin: 4em 0;
66 | .text {
67 | position: relative;
68 | // width: 40vw;
69 | max-width: $max_width * 0.5;
70 | display: inline-block;
71 | margin: 0;
72 | z-index: 100;
73 | background-color: #FFFFFF;
74 | opacity: 0.9;
75 | padding: 2.5vw;
76 | text-align: left;
77 | }
78 |
79 | .image {
80 | position: absolute;
81 | top: 0;
82 | bottom: 0;
83 | width: 40vw;
84 | max-width: $max_width * 0.5;
85 | margin: -2.5vw 0;
86 | z-index: 10;
87 | overflow: hidden;
88 | display: inline-flex;
89 | align-items: center;
90 |
91 | img{
92 | margin: 0 auto;
93 | }
94 | }
95 | }
96 |
97 | .topic-left {
98 | text-align: left;
99 | position: relative;
100 |
101 | .image {
102 | right: 0;
103 | }
104 | }
105 |
106 | .topic-right {
107 | text-align: right;
108 | position: relative;
109 |
110 | .image {
111 | left: 0;
112 | }
113 | }
114 |
115 | @media screen and (max-width: $breakpoint_tablet) {
116 |
117 | .topic-container {
118 | width: 100%;
119 | display: flex;
120 | .text {
121 | width: 100%;
122 | margin: 0;
123 | max-width: $max_width;
124 | }
125 | .image {
126 | width: 100%;
127 | height: 100%;
128 | margin: 0;
129 | max-width: $max_width;
130 | }
131 | }
132 |
133 | .topic-right {
134 | text-align: left;
135 | }
136 | }
137 | /*-----------------------------------*/
--------------------------------------------------------------------------------
/src/app/how-we-work/tools/tools.component.spec.ts:
--------------------------------------------------------------------------------
1 | /* tslint:disable:no-unused-variable */
2 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
3 | import { By } from '@angular/platform-browser';
4 | import { DebugElement } from '@angular/core';
5 |
6 | import { ToolsComponent } from './tools.component';
7 |
8 | describe('ToolsComponent', () => {
9 | let component: ToolsComponent;
10 | let fixture: ComponentFixture