mirror of
https://github.com/ipfs/ipfs-blog.git
synced 2026-03-28 17:32:37 +01:00
wip
This commit is contained in:
@@ -25,6 +25,14 @@ function shouldBeHidden(frontmatter) {
|
||||
shouldHide = shouldHide || isDateInFuture(frontmatter.publish_date)
|
||||
}
|
||||
|
||||
// only hide on production environment, show on dev and staging
|
||||
if (
|
||||
!process.env.CANONICAL_BASE ||
|
||||
!process.env.CANONICAL_BASE.includes('blog.ipfs.io')
|
||||
) {
|
||||
shouldHide = false
|
||||
}
|
||||
|
||||
return shouldHide
|
||||
}
|
||||
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
v-bind="card"
|
||||
:open-video-modal="openVideoModal"
|
||||
class="card-post h-full"
|
||||
:class="{
|
||||
'is-scheduled': isScheduled
|
||||
}"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
@@ -49,3 +52,10 @@ export default {
|
||||
},
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
.card-post.is-scheduled::after {
|
||||
content: "SCHEDULED";
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
</style>
|
||||
@@ -4,20 +4,20 @@
|
||||
height: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.embed-responsive-item,
|
||||
iframe,
|
||||
embed,
|
||||
object,
|
||||
video {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 0;
|
||||
}
|
||||
.embed-responsive .embed-responsive-item,
|
||||
.embed-responsive iframe,
|
||||
.embed-responsive embed,
|
||||
.embed-responsive object,
|
||||
.embed-responsive video {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.embed-responsive-16by9 {
|
||||
|
||||
@@ -3,7 +3,7 @@ title: Welcome to IPFS Weekly 141
|
||||
description: OpenSea stores NFTs with IPFS & Filecoin, NFT Dev User Experience survey,
|
||||
IPFS in 'The New Stack' & more!
|
||||
author: Emily Vaughan
|
||||
date: 2021-06-23
|
||||
date: 2021-07-23
|
||||
permalink: "/weekly-141/"
|
||||
translationKey: ipfs-weekly-141
|
||||
header_image: "/header-image-weekly-newsletter.png"
|
||||
|
||||
Reference in New Issue
Block a user