From ccce6a3e20fd452570e6c76395d9cd86be6f4d05 Mon Sep 17 00:00:00 2001 From: pedrocx486 Date: Sat, 11 Feb 2023 16:39:48 -0300 Subject: [PATCH] Cleanup logic, rewrite some of it and more. --- public/assets/posts/hello-world.json | 8 + src/App.vue | 166 ++++++++---------- src/file-manager.service.ts | 29 +++ ...ios.provider.ts => http-helper.service.ts} | 7 +- src/post-utilities.service.ts | 30 ++++ src/types.ts | 14 ++ tsconfig.json | 3 +- 7 files changed, 158 insertions(+), 99 deletions(-) create mode 100644 public/assets/posts/hello-world.json create mode 100644 src/file-manager.service.ts rename src/{axios.provider.ts => http-helper.service.ts} (66%) create mode 100644 src/post-utilities.service.ts create mode 100644 src/types.ts diff --git a/public/assets/posts/hello-world.json b/public/assets/posts/hello-world.json new file mode 100644 index 0000000..75fd470 --- /dev/null +++ b/public/assets/posts/hello-world.json @@ -0,0 +1,8 @@ +{ + "postTitle": "Hello World!", + "timestamp": "1654062776", + "editedTimestamp": "", + "postContent": "Welcome to my humble blog! This blog is hosted using a blog platform loosely based on my [ngx-dumblog](http:\/\/github.com\/pedroCX486\/ngx-dumblog) project. My intent is to make this look more and more retro with time.\r\n \r\nAnd before you ask, it's availabe [here](http:\/\/git.pedrocx486.club\/pedrocx486\/ngx-retroblog).\r\n \r\nFor more info (maybe), check [The Club](https:\/\/pedrocx486.club)!", + "filename": "hello-world", + "draft": false +} diff --git a/src/App.vue b/src/App.vue index aeda89d..44482b1 100755 --- a/src/App.vue +++ b/src/App.vue @@ -1,133 +1,104 @@