diff --git a/frontend/package.json b/frontend/package.json index 394f656..77ef82c 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -26,6 +26,7 @@ "@popperjs/core": "^2.11.8", "axios": "^1.4.0", "bootstrap": "^5.3.1", + "buffer": "^6.0.3", "pdfjs-dist": "^4.2.67", "pinia": "^2.1.6", "quill": "^1.3.7", diff --git a/frontend/src/mixins/navigator.js b/frontend/src/mixins/navigator.js index ff86cb4..872c448 100644 --- a/frontend/src/mixins/navigator.js +++ b/frontend/src/mixins/navigator.js @@ -14,6 +14,12 @@ export default { mnx_navToContact() { this.$router.push('/contact') }, + mnx_navToPdfContentViewer(content_id) { + this.$router.push('/pdf-content-viewer/' + content_id) + }, + mnx_navToLinkContentViewer(content_link_based64) { + this.$router.push('/link-content-viewer/' + content_link_based64) + }, //common mnx_navToFrontDoor() { diff --git a/frontend/src/pages/public/About.vue b/frontend/src/pages/public/About.vue index 11bcf6a..67d19da 100644 --- a/frontend/src/pages/public/About.vue +++ b/frontend/src/pages/public/About.vue @@ -1,11 +1,58 @@ + + diff --git a/frontend/src/pages/public/Blogs.vue b/frontend/src/pages/public/Blogs.vue index b198ced..5a1fd5b 100644 --- a/frontend/src/pages/public/Blogs.vue +++ b/frontend/src/pages/public/Blogs.vue @@ -1,11 +1,56 @@ + diff --git a/frontend/src/pages/public/LinkContentViewer.vue b/frontend/src/pages/public/LinkContentViewer.vue new file mode 100644 index 0000000..cc4987d --- /dev/null +++ b/frontend/src/pages/public/LinkContentViewer.vue @@ -0,0 +1,52 @@ + + + + diff --git a/frontend/src/pages/public/PdfContentViewer.vue b/frontend/src/pages/public/PdfContentViewer.vue new file mode 100644 index 0000000..e95a3c4 --- /dev/null +++ b/frontend/src/pages/public/PdfContentViewer.vue @@ -0,0 +1,49 @@ + + diff --git a/frontend/src/pages/user/account/UserProfile.vue b/frontend/src/pages/user/account/UserProfile.vue index 2e9c544..a12011e 100644 --- a/frontend/src/pages/user/account/UserProfile.vue +++ b/frontend/src/pages/user/account/UserProfile.vue @@ -1,5 +1,5 @@