Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.

Commit 9382725

Browse files
committed
fix(): fix 3,4 & 5
1 parent 101d81e commit 9382725

File tree

6 files changed

+22
-6
lines changed

6 files changed

+22
-6
lines changed

scripts/get-butter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const fs = require('fs');
22

33
const request = require('sync-request');
44
const res = request('GET',
5-
'https://api.buttercms.com/v2/posts/?page=1&page_size=1000000&auth_token=fca1bc914c05371263f98c9d3480eaa215fd63d6',
5+
'https://api.buttercms.com/v2/posts/?page=1&page_size=1000000&auth_token=150aed013009daf59b81dd9ad8d7aac75777ee79',
66
{}
77
);
88

src/components/app-blog-card/app-blog-card.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
text-align: center;
1111
padding: 15px;
1212
}
13+
14+
&:hover {
15+
text-decoration: underline black;
16+
}
1317
}
1418

1519
.blog-card-image {

src/components/app-blog-featured/app-blog-featured.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@
6161
}
6262

6363
.blog-info {
64+
h1 {
65+
color: black;
66+
&:hover {
67+
text-decoration: underline black;
68+
}
69+
}
70+
6471
@include media-breakpoint-down(sm) {
6572
text-align: center;
6673
}

src/components/app-blog-featured/app-blog-featured.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,16 @@ export class AppBlogFeatured {
2222
<div class="blog-featured-image-wrapper col-md-6 order-md-2">
2323
<h4>Featured Post</h4>
2424
<div class="blog-featured-image">
25-
<img src={this.blogPost.featured_image} />
25+
<stencil-route-link url={`/blog/${this.blogPost.slug}`}>
26+
<img src={this.blogPost.featured_image} />
27+
</stencil-route-link>
2628
</div>
2729
</div>
2830
<div class="blog-info col-md-6 order-md-1">
2931
<h4>Featured Post</h4>
30-
<h1>{this.blogPost.title}</h1>
32+
<stencil-route-link url={`/blog/${this.blogPost.slug}`}>
33+
<h1>{this.blogPost.title}</h1>
34+
</stencil-route-link>
3135

3236
<div class="blog-featured-summary">{this.blogPost.summary}</div>
3337
<div class="blog-featured-date">{formatDate(publishDate)}</div>

src/pages/app-blog/app-blog.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,12 @@
125125

126126
.blog-card-wrapper {
127127
min-height: 300px;
128-
margin-bottom: 20px;
128+
margin-bottom: 50px;
129129
}
130130

131131
.blog-card-wrapper-last {
132132
min-height: 300px;
133-
margin-bottom: 0;
133+
margin-bottom: 20px;
134134
}
135135
}
136136

@@ -149,6 +149,7 @@
149149
.blog-page-item .active {
150150
padding: 7px;
151151
color: $orange;
152+
text-decoration: underline $orange;
152153
}
153154
}
154155
}

src/pages/open-forge-app/open-forge-app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class OpenForgeApp {
2525
}
2626

2727
componentWillLoad() {
28-
this.butterService = Butter('fca1bc914c05371263f98c9d3480eaa215fd63d6');
28+
this.butterService = Butter('150aed013009daf59b81dd9ad8d7aac75777ee79');
2929
}
3030

3131
componentDidLoad() {

0 commit comments

Comments
 (0)