channel & video card tweaks

This commit is contained in:
Nikita Krupin 2022-05-05 19:39:41 -04:00
parent 66a3801597
commit 65d3c9ec97
4 changed files with 18 additions and 10 deletions

View File

@ -25,7 +25,7 @@
/>
</div>
<div id="details">
<a :href="channelUrl" class="avatar-link pt-2">
<a :href="channelUrl" class="avatar-link pl-2 pt-2">
<v-img class="avatar-thumbnail" :src="channelIcon" />
</a>
<v-card-text class="video-info pt-2" v-emoji>

View File

@ -19,14 +19,21 @@
>
{{ subscribe }}
</v-btn>
<div class="mt-2">{{ subscribers }} &middot; {{ videos }}</div>
<div style="font-size: 0.75rem" class="mt-2">
{{ subscribers }} &middot; {{ videos }}
</div>
<div
style="font-size: 0.75rem"
class="background--text text-center px-4"
:class="$vuetify.theme.dark ? 'text--lighten-4' : 'text--darken-4'"
>
{{ descriptionPreview }}
<v-icon>mdi-arrow-right</v-icon>
<v-icon
class="background--text"
:class="$vuetify.theme.dark ? 'text--lighten-4' : 'text--darken-4'"
>
mdi-chevron-right
</v-icon>
</div>
</div>
</template>
@ -68,7 +75,7 @@ export default {
channel.header.channelMobileHeaderRenderer.channelHeader.elementRenderer.newElement.type.componentType.model.channelHeaderModel.channelProfile.descriptionPreview.description;
this.subscribers =
channel.header.channelMobileHeaderRenderer.channelHeader.elementRenderer.newElement.type.componentType.model.channelHeaderModel.channelProfile.metadata.subscriberCountText;
this.subscribers =
this.videos =
channel.header.channelMobileHeaderRenderer.channelHeader.elementRenderer.newElement.type.componentType.model.channelHeaderModel.channelProfile.metadata.videosCountText;
});
},

View File

@ -113,6 +113,7 @@
<!-- Channel Bar -->
<div class="channel-container" v-if="loaded">
<v-card
flat
class="channel-section background px-3 rounded-0"
:to="video.channelUrl"
>

View File

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="deploymentTargetDropDown">
<targetSelectedWithDropDown>
<runningDeviceTargetSelectedWithDropDown>
<Target>
<type value="QUICK_BOOT_TARGET" />
<type value="RUNNING_DEVICE_TARGET" />
<deviceKey>
<Key>
<type value="VIRTUAL_DEVICE_PATH" />
<value value="$USER_HOME$/.android/avd/Pixel_3a_API_31_arm64-v8a.avd" />
<type value="SERIAL_NUMBER" />
<value value="adb-97QAY11P1S-NELaqI._adb-tls-connect._tcp." />
</Key>
</deviceKey>
</Target>
</targetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2022-04-14T19:24:24.550770Z" />
</runningDeviceTargetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2022-05-05T23:23:16.786886Z" />
</component>
</project>