From 8c026c48f9f40badf4f5399c768b9e030fcf2fd7 Mon Sep 17 00:00:00 2001 From: Michal Vanko Date: Thu, 2 Feb 2023 20:05:07 +0100 Subject: [PATCH 1/8] Change node version to always be latest LTS --- .nvmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.nvmrc b/.nvmrc index dac255d..b009dfb 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16.15.1 +lts/* From f156d4dacca2e4a9a9624f05670665c0120ca02d Mon Sep 17 00:00:00 2001 From: Michal Vanko Date: Sun, 12 Feb 2023 14:56:49 +0100 Subject: [PATCH 2/8] What a refactor of articles --- src/components/portfolio/personal.svelte | 29 --------- src/{ => lib}/components/Footer.css.ts | 0 src/{ => lib}/components/Footer.svelte | 4 +- src/{ => lib}/components/Nav.css.ts | 0 src/{ => lib}/components/Nav.svelte | 62 +++++++++++-------- src/{ => lib}/components/SvgIcon.svelte | 2 +- .../ArticlePreviewCard.svelte | 18 ++++++ .../ArticlePreviewFooter.css.ts} | 0 .../ArticlePreviewFooter.svelte} | 17 ++--- .../ArticlePreviewList.css.ts} | 0 .../ArticlePreviewList.svelte | 41 ++++++++++++ .../components/paginator/Paginator.css.ts | 0 .../components/paginator/Paginator.svelte | 9 ++- .../paginator/paginatorUtils.test.ts | 0 .../components/paginator/paginatorUtils.ts | 4 +- .../content/articleContentListing.ts} | 8 +-- src/lib/pagination/pagination.ts | 6 +- src/routes/+layout.svelte | 6 +- src/routes/+layout.ts | 2 +- .../articles/[...params].json/+server.ts | 2 +- src/routes/blog/[...params]/+page.svelte | 43 ++----------- src/routes/blog/[...params]/+page.ts | 6 +- .../blog/[slug=blogPage]/+page.server.ts | 6 +- src/routes/blog/[slug=blogPage]/+page.svelte | 4 +- .../broadcasts/[...params]/+page.svelte | 30 +++++++++ src/routes/broadcasts/[...params]/+page.ts | 18 ++++++ src/routes/portfolio/+page.svelte | 6 +- .../portfolio/components/personal.svelte | 39 ++++++++++++ .../portfolio/components}/presentation.css.ts | 0 .../portfolio/components}/presentation.svelte | 0 .../portfolio/components}/project.css.ts | 0 .../portfolio/components}/project.svelte | 0 .../portfolio/components}/skills.svelte | 0 .../portfolio/components}/work.css.ts | 0 .../portfolio/components}/work.svelte | 0 35 files changed, 228 insertions(+), 134 deletions(-) delete mode 100644 src/components/portfolio/personal.svelte rename src/{ => lib}/components/Footer.css.ts (100%) rename src/{ => lib}/components/Footer.svelte (98%) rename src/{ => lib}/components/Nav.css.ts (100%) rename src/{ => lib}/components/Nav.svelte (67%) rename src/{ => lib}/components/SvgIcon.svelte (75%) create mode 100644 src/lib/components/articles/ArticlePreviewCard/ArticlePreviewCard.svelte rename src/{components/blog/ArticleFooter.css.ts => lib/components/articles/ArticlePreviewFooter/ArticlePreviewFooter.css.ts} (100%) rename src/{components/blog/ArticleFooter.svelte => lib/components/articles/ArticlePreviewFooter/ArticlePreviewFooter.svelte} (60%) rename src/{routes/blog/[...params]/page.css.ts => lib/components/articles/ArticlePreviewList/ArticlePreviewList.css.ts} (100%) create mode 100644 src/lib/components/articles/ArticlePreviewList/ArticlePreviewList.svelte rename src/{ => lib}/components/paginator/Paginator.css.ts (100%) rename src/{ => lib}/components/paginator/Paginator.svelte (77%) rename src/{ => lib}/components/paginator/paginatorUtils.test.ts (100%) rename src/{ => lib}/components/paginator/paginatorUtils.ts (90%) rename src/{routes/blog/content.ts => lib/content/articleContentListing.ts} (88%) rename src/routes/{blog => }/articles/[...params].json/+server.ts (91%) create mode 100644 src/routes/broadcasts/[...params]/+page.svelte create mode 100644 src/routes/broadcasts/[...params]/+page.ts create mode 100644 src/routes/portfolio/components/personal.svelte rename src/{components/portfolio => routes/portfolio/components}/presentation.css.ts (100%) rename src/{components/portfolio => routes/portfolio/components}/presentation.svelte (100%) rename src/{components/portfolio => routes/portfolio/components}/project.css.ts (100%) rename src/{components/portfolio => routes/portfolio/components}/project.svelte (100%) rename src/{components/portfolio => routes/portfolio/components}/skills.svelte (100%) rename src/{components/portfolio => routes/portfolio/components}/work.css.ts (100%) rename src/{components/portfolio => routes/portfolio/components}/work.svelte (100%) diff --git a/src/components/portfolio/personal.svelte b/src/components/portfolio/personal.svelte deleted file mode 100644 index bad4133..0000000 --- a/src/components/portfolio/personal.svelte +++ /dev/null @@ -1,29 +0,0 @@ - -
-

Personal Information

-

I was born on 26th of May in Košice, Slovakia and I still live here.

-

Hobbies:

-

- I enjoy playing basketball with my friends. I also like to play other team sports like football and hockey. - I also play squash and table tennis. Once I've won a competition in squash at my university. - During summer I love water skiing and swimming in a nearby lake. -
- I am very passionate about music. I've also tried some software for composing music but I am not really hooked into that yet. - From time to time I enjoy playing board games with my friends. -

-

Interests:

-

- I like to explore new technologies and I'm passionate about Open Source movement, - Internet of Things applications and Linux desktop evolution. -
- I am interested in modern software architecture and reactive programming. -
- I've attended various tech conferences and hackathons. I like them for all of the fascinating ideas that might be invented. -
- I've given presentations on various topics related to web development. You can take a look at some of them here. -
- I enjoy teaching and explaining how various technologies and techniques work to my colleagues for their better understanding. -
- I take advantage of test driven development. -

-
diff --git a/src/components/Footer.css.ts b/src/lib/components/Footer.css.ts similarity index 100% rename from src/components/Footer.css.ts rename to src/lib/components/Footer.css.ts diff --git a/src/components/Footer.svelte b/src/lib/components/Footer.svelte similarity index 98% rename from src/components/Footer.svelte rename to src/lib/components/Footer.svelte index 9e2e34a..371c7ea 100644 --- a/src/components/Footer.svelte +++ b/src/lib/components/Footer.svelte @@ -1,6 +1,6 @@