mirror of
https://github.com/mmjee/Piped-Material.git
synced 2024-12-06 19:26:36 +01:00
Implement PWA, client-side Watch History and cleanup
Squashed commit of the following: commita1c18c7903Author: root <root@git.maharshi.ninja> Date: Sun Aug 22 21:46:45 2021 +0530 Minor UI change commit82783a4fb2Author: root <root@git.maharshi.ninja> Date: Sun Aug 22 21:23:15 2021 +0530 Format date and time the Right Way (™️) commit1b0d87e81dAuthor: root <root@git.maharshi.ninja> Date: Sun Aug 22 21:17:41 2021 +0530 A few fixes and a basic implementation commit7e5d057d37Author: root <root@git.maharshi.ninja> Date: Sun Aug 22 19:58:10 2021 +0530 Add PouchDB and add the basic design commit16a07c10ffAuthor: root <root@git.maharshi.ninja> Date: Sun Aug 22 18:53:34 2021 +0530 Delete robots.txt commit83e8690dc5Author: root <root@git.maharshi.ninja> Date: Sun Aug 22 18:52:00 2021 +0530 Add PWA configuration
This commit is contained in:
@@ -3,15 +3,16 @@
|
||||
<v-img
|
||||
:height="height"
|
||||
:width="width"
|
||||
:src="video.thumbnail"
|
||||
:src="video.thumbnail || video.thumbnailUrl"
|
||||
alt="thumbnail"
|
||||
loading="lazy"
|
||||
/>
|
||||
<v-card-title class="subtitle-1">{{ video.title }}</v-card-title>
|
||||
<v-card-text>
|
||||
<router-link :to="video.uploaderUrl" class="subtitle-1 text-decoration-none" v-if="video.uploaderUrl && video.uploaderName && !hideChannel" custom v-slot="{ navigate }">
|
||||
<h5 @click="navigate" @keypress.enter="navigate" role="link">{{ video.uploaderName }}</h5>
|
||||
<router-link :to="video.uploaderUrl" class="subtitle-1 text-decoration-none" v-if="video.uploaderUrl && (video.uploaderName || video.uploader) && !hideChannel" custom v-slot="{ navigate }">
|
||||
<h5 @click="navigate" @keypress.enter="navigate" role="link">{{ video.uploaderName || video.uploader }}</h5>
|
||||
</router-link>
|
||||
<slot />
|
||||
{{ numberFormat(video.views) }} views <br />
|
||||
{{ video.uploadedDate }} <br />
|
||||
{{ timeFormat(video.duration) }}
|
||||
|
||||
Reference in New Issue
Block a user