feat: add header to mention source repo

This commit is contained in:
Salem Yaslem 2023-07-22 05:39:14 +03:00
parent 22bdaf5741
commit 966aea2aa0

12
app.vue
View File

@ -66,7 +66,7 @@ watchEffect(async () => {
} }
// Experimental feature // Experimental feature
if(videoExtensions.includes(filesManager.getFile(selectedPath.value)?.extension?.toLowerCase())) { if (videoExtensions.includes(filesManager.getFile(selectedPath.value)?.extension?.toLowerCase())) {
mediaBlobUrl.value = await filesManager.getFileBlobUrl(selectedPath.value) as string; mediaBlobUrl.value = await filesManager.getFileBlobUrl(selectedPath.value) as string;
console.log(mediaBlobUrl.value) console.log(mediaBlobUrl.value)
} }
@ -117,6 +117,13 @@ function stepUp(path: string) {
</template> </template>
</v-toolbar> </v-toolbar>
<TreeView :filesList="filesList" :nav=true></TreeView> <TreeView :filesList="filesList" :nav=true></TreeView>
<v-footer class="d-flex w-100 flex-column" style="position: absolute;bottom: 0;">
<div class="d-flex w-100 align-center">
<a href="https://github.com/xlmnxp/extractify.zip" target="_blank" class="text-subtitle-2" style="text-decoration: underline;text-decoration-style: dotted">Open Source Licenses</a>
<v-spacer></v-spacer>
<v-btn class="mx-4" icon="mdi-github" variant="plain" size="small" href="https://github.com/xlmnxp/extractify.zip" target="_blank"></v-btn>
</div>
</v-footer>
</v-navigation-drawer> </v-navigation-drawer>
<v-main class="select-area" style="height: 100dvh;"> <v-main class="select-area" style="height: 100dvh;">
<v-toolbar class="px-5" height="auto"> <v-toolbar class="px-5" height="auto">
@ -170,7 +177,8 @@ function stepUp(path: string) {
</v-row> </v-row>
</v-list> </v-list>
</template> </template>
<template v-if="!filesManager.getFile(selectedPath)?.isFolder && videoExtensions.includes(filesManager.getFile(selectedPath)?.extension)"> <template
v-if="!filesManager.getFile(selectedPath)?.isFolder && videoExtensions.includes(filesManager.getFile(selectedPath)?.extension)">
<MediaVideoPlayer :src="mediaBlobUrl"></MediaVideoPlayer> <MediaVideoPlayer :src="mediaBlobUrl"></MediaVideoPlayer>
</template> </template>
<template v-if="!files.length"> <template v-if="!files.length">