Added date precision. Added Teen Core Club update scraper.

This commit is contained in:
2020-07-03 04:12:56 +02:00
parent 945c2c45ce
commit 48a127409e
17 changed files with 207 additions and 27 deletions

View File

@@ -32,8 +32,8 @@
rel="noopener noreferrer"
class="tidbit date"
>
<span class="showable">{{ formatDate(release.date, 'MMM D, YYYY') }}</span>
<span class="hideable">{{ formatDate(release.date, 'MMMM D, YYYY') }}</span>
<span class="showable">{{ formatDate(release.date, 'MMM D, YYYY', release.datePrecision) }}</span>
<span class="hideable">{{ formatDate(release.date, 'MMMM D, YYYY', release.datePrecision) }}</span>
<Icon
v-if="release.url"
@@ -97,7 +97,21 @@
<div class="info column">
<div class="row">
<h2 class="title">{{ release.title }}</h2>
<h2
v-if="release.title"
class="title"
>{{ release.title }}</h2>
<h2
v-if="release.actors.length > 0"
class="title title-composed"
>
{{ release.actors.map(actor => actor.name).join(', ') }} for {{ release.entity.name }}
<Icon
v-tooltip="`This scene has no known official title`"
icon="question2"
/>
</h2>
</div>
<div
@@ -388,7 +402,22 @@ export default {
}
.title {
display: inline-block;
margin: 0;
.icon {
fill: var(--shadow);
padding: .25rem;
&:hover {
fill: var(--primary);
cursor: pointer;
}
}
}
.title-composed {
color: var(--shadow);
}
.title-shoot {