File tree Expand file tree Collapse file tree 3 files changed +23
-9
lines changed Expand file tree Collapse file tree 3 files changed +23
-9
lines changed Original file line number Diff line number Diff line change @@ -34,3 +34,11 @@ export default {
34
34
35
35
- npm install
36
36
- npm run dev
37
+
38
+ # Branch Promotion Workflow
39
+
40
+ - Step 1: ` branch ` to ` main ` : PR
41
+
42
+ - Step 2: ` main ` to ` acceptance ` : switch ` acceptance ` -> rebase ` main ` -> push to ` acceptance `
43
+
44
+ - Step 3: ` acceptance ` to ` production ` : switch ` production ` -> rebase ` acceptance ` -> push to ` production `
Original file line number Diff line number Diff line change 15
15
padding-bottom : 32px ;
16
16
}
17
17
}
18
- & __img {
19
- height : 100% ;
20
- background-size : cover ;
21
- border-radius : 10px ;
22
- grid-column : span 6 ;
23
- @include tablet {grid-column : span 12 ;}
24
- @include phone-portrait {
25
- grid-column : span 12 ;
18
+ & __cover {
19
+ height : 320px ;
20
+ img {
21
+ width : 100% ;
22
+ height : 100% ;
23
+ object-fit : cover ;
24
+ border-radius : 10px ;
25
+ grid-column : span 6 ;
26
+ @include tablet {grid-column : span 12 ;}
27
+ @include phone-portrait {
28
+ grid-column : span 12 ;
29
+ }
26
30
}
27
31
}
28
32
}
Original file line number Diff line number Diff line change @@ -65,7 +65,9 @@ const Articles = () => {
65
65
< Text size = "medium" className = "mgb24" > { truncateText ( article . excerpt , 25 ) } </ Text >
66
66
< ButtonSecondary iconUrl = { arrowRight } newPage = { true } size = "large" to = { "https://blog.lunatech.com" + article . slug } > < Trans i18nKey = "buttonReadMore" /> </ ButtonSecondary >
67
67
</ div >
68
- < img className = "blog__img" src = { article . image_url } alt = { article . title } />
68
+ < div className = 'blog__cover' >
69
+ < img src = { article . image_url } alt = { article . title } />
70
+ </ div >
69
71
</ div >
70
72
</ li >
71
73
</ SpotlightCard >
You can’t perform that action at this time.
0 commit comments