From a047ed67e4d5784f869ce79280a855c6fe5e98e4 Mon Sep 17 00:00:00 2001 From: Gabriel Cozma Date: Wed, 30 Oct 2024 09:35:12 +0200 Subject: [PATCH] feat: add share modal to articles Signed-off-by: Gabriel Cozma --- src/assets/css/fonts.css | 1 + src/components/ShareModal.vue | 124 +++++ src/views/ArticleView.vue | 872 +++++++++++++++++++--------------- 3 files changed, 613 insertions(+), 384 deletions(-) create mode 100644 src/components/ShareModal.vue diff --git a/src/assets/css/fonts.css b/src/assets/css/fonts.css index 74e7d4e..17316dc 100644 --- a/src/assets/css/fonts.css +++ b/src/assets/css/fonts.css @@ -1,2 +1,3 @@ @import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,1,0'); @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap'); +@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css'); diff --git a/src/components/ShareModal.vue b/src/components/ShareModal.vue new file mode 100644 index 0000000..dda8e9a --- /dev/null +++ b/src/components/ShareModal.vue @@ -0,0 +1,124 @@ + + + diff --git a/src/views/ArticleView.vue b/src/views/ArticleView.vue index 1d42cae..f77422d 100644 --- a/src/views/ArticleView.vue +++ b/src/views/ArticleView.vue @@ -1,144 +1,237 @@