From b3768887b77ab3054703e8a82957ac897892f109 Mon Sep 17 00:00:00 2001 From: juls0730 <62722391+juls0730@users.noreply.github.com> Date: Fri, 25 Oct 2024 01:30:51 -0500 Subject: [PATCH] loading indicator I like better and github redirect --- app.vue | 17 +++++++++ bun.lockb | Bin 557951 -> 557951 bytes components/IconTag.vue | 0 components/Nav.vue | 0 components/ProgressBar.vue | 45 ++++++++++++++++++++++ components/ProjectCard.vue | 48 ++++++++++++------------ components/blog/BlogSkeletonCard.vue | 35 ----------------- components/blog/index.vue | 2 - components/content/ProseCode.vue | 0 components/content/ProseCodeInline.vue | 18 ++++----- components/content/ProseH2.vue | 0 components/content/ProseH3.vue | 0 content/blog/magic-of-docker-compose.md | 2 +- content/blog/portfolio-site-rebuild.md | 2 +- content/blog/what-ive-been-doing.md | 2 +- nuxt.config.ts | 1 + pages/blog/[...slug].vue | 45 +++------------------- pages/blog/index.vue | 23 ++++-------- pages/index.vue | 21 +++++------ 19 files changed, 122 insertions(+), 139 deletions(-) create mode 100644 app.vue mode change 100755 => 100644 components/IconTag.vue mode change 100755 => 100644 components/Nav.vue create mode 100644 components/ProgressBar.vue mode change 100755 => 100644 components/ProjectCard.vue delete mode 100644 components/blog/BlogSkeletonCard.vue mode change 100755 => 100644 components/content/ProseCode.vue mode change 100755 => 100644 components/content/ProseCodeInline.vue mode change 100755 => 100644 components/content/ProseH2.vue mode change 100755 => 100644 components/content/ProseH3.vue mode change 100755 => 100644 pages/blog/[...slug].vue mode change 100755 => 100644 pages/blog/index.vue mode change 100755 => 100644 pages/index.vue diff --git a/app.vue b/app.vue new file mode 100644 index 0000000..c3bb7af --- /dev/null +++ b/app.vue @@ -0,0 +1,17 @@ + + + \ No newline at end of file diff --git a/bun.lockb b/bun.lockb index f4f3e75bc827a628c9ef5f40d62eb850e798c195..ec8d4f1967fa39e01262d2a74b526a2ee55196b7 100755 GIT binary patch delta 169 zcmez0ru4r}siB3jg{g(Pg=GsX>q2Q$JwpZtDFy}xZU%;iIdLDiuHjst$H5q9sAn-< zVIixTw2?txX+;T80Yhz9y-ui)%toNBv7Vu^p3(Heg{($QCg#(Z0%q2QmJyQk-DFy}xZU%;iIdLDiuHjst$H5o}6rZlJ zkkw4u&@`{Kq6Dabp|-1DC)7t~BT&{@&s@)dVS3?0RwE`O%jrvjw3#6TgA3FguOBCK zSl=%W0jo6DGiG4$2g>jQZMfv}{f~@9+I%L)I3qnnAezp*h*gr&xLth_D-g47S6{>) G@elyqS}$S% diff --git a/components/IconTag.vue b/components/IconTag.vue old mode 100755 new mode 100644 diff --git a/components/Nav.vue b/components/Nav.vue old mode 100755 new mode 100644 diff --git a/components/ProgressBar.vue b/components/ProgressBar.vue new file mode 100644 index 0000000..d3cb845 --- /dev/null +++ b/components/ProgressBar.vue @@ -0,0 +1,45 @@ + + + + + \ No newline at end of file diff --git a/components/ProjectCard.vue b/components/ProjectCard.vue old mode 100755 new mode 100644 index e8e79b6..6a6f6b7 --- a/components/ProjectCard.vue +++ b/components/ProjectCard.vue @@ -1,31 +1,31 @@ \ No newline at end of file diff --git a/components/blog/BlogSkeletonCard.vue b/components/blog/BlogSkeletonCard.vue deleted file mode 100644 index 21d8e3f..0000000 --- a/components/blog/BlogSkeletonCard.vue +++ /dev/null @@ -1,35 +0,0 @@ - - - \ No newline at end of file diff --git a/components/blog/index.vue b/components/blog/index.vue index 7a1f4ff..6ee0ff8 100644 --- a/components/blog/index.vue +++ b/components/blog/index.vue @@ -55,8 +55,6 @@ const { data: surround } = await useAsyncData(`${route.path}-surround`, () => qu .findSurround(withoutTrailingSlash(route.path)) ) -console.log("SURROUND", surround.value) - useSeoMeta({ title: doc.value?.title, description: doc.value?.description, diff --git a/components/content/ProseCode.vue b/components/content/ProseCode.vue old mode 100755 new mode 100644 diff --git a/components/content/ProseCodeInline.vue b/components/content/ProseCodeInline.vue old mode 100755 new mode 100644 index 37c677d..25318c2 --- a/components/content/ProseCodeInline.vue +++ b/components/content/ProseCodeInline.vue @@ -1,16 +1,16 @@ \ No newline at end of file diff --git a/components/content/ProseH2.vue b/components/content/ProseH2.vue old mode 100755 new mode 100644 diff --git a/components/content/ProseH3.vue b/components/content/ProseH3.vue old mode 100755 new mode 100644 diff --git a/content/blog/magic-of-docker-compose.md b/content/blog/magic-of-docker-compose.md index 123c778..11911b2 100644 --- a/content/blog/magic-of-docker-compose.md +++ b/content/blog/magic-of-docker-compose.md @@ -446,6 +446,6 @@ You will see that the counter ticks up exactly 10000 requests, and it will compl In summary, Docker Compose is an amazing tool for managing full-stack projects efficiently. It abstracts away many of the complexities involved in the various services and dependencies, allowing you to focus on what really matters: building great projects. Once you get the hang of using Docker Compose, you will find yourself incorporating it into many of your projects, both new and old. -If you want to dive deeper into the example project I described in this post, feel free to check out the [Github repo](https://github.com/juls0730/docker-compose-vue-example) for the full source code. Experimenting with Docker Compose in your own projects will help you appreciate its power and simplicity. +If you want to dive deeper into the example project I described in this post, feel free to check out the [Github repo](/github/docker-compose-vue-example) for the full source code. Experimenting with Docker Compose in your own projects will help you appreciate its power and simplicity. Thanks for reading, and I hope this article has sparked interest in Docker Compose. Whether you’re an experienced dev, or just starting out, give Docker Compose a try, and you may find it becomes an essential part of your development workflow! diff --git a/content/blog/portfolio-site-rebuild.md b/content/blog/portfolio-site-rebuild.md index 83d1d54..20662a0 100755 --- a/content/blog/portfolio-site-rebuild.md +++ b/content/blog/portfolio-site-rebuild.md @@ -16,4 +16,4 @@ For the past month I've been quietly rebuilding my portfolio site, designing and After a couple days of making a design in figma I setup a new nuxt3 project and went to work, after just a few weeks I had almost everything completed, but the last few things I had to do were to make the blogs page and finish the project cards. After a few weeks of designing and getting feedback from the [web dev and design](https://discord.gg/web) discord server, mainly feedback from aqil#7927 an absolute machine in the visual design help channel. However, rebuilding the site still wasn't done, so about halfway through december I decided to change a few things, the typing animation on the home page was added that day and a few accessibility things here and there.
-Once 2023 hit I started working on this much more, with my [100DaysOfCode Challenge](/blog/100daysofcode-challenge) completed I had much more time to work on this site. Mostly I just had to finish writing a few blog posts, and I would be able to finally publish the new site. So I got to writing this blog post and here we are right now. This post is just an update with the new site, here's the sites [github](https://github.com/juls0730/juls07.dev-v2) and that's all, checkout my [twitter](https://twitter.com/julie4055_) if you want to hear more about what I do, have a great 2023! +Once 2023 hit I started working on this much more, with my [100DaysOfCode Challenge](/blog/100daysofcode-challenge) completed I had much more time to work on this site. Mostly I just had to finish writing a few blog posts, and I would be able to finally publish the new site. So I got to writing this blog post and here we are right now. This post is just an update with the new site, here's the sites [github](/github/juls07.dev-v2) and that's all, checkout my [twitter](https://twitter.com/julie4055_) if you want to hear more about what I do, have a great 2023! diff --git a/content/blog/what-ive-been-doing.md b/content/blog/what-ive-been-doing.md index ed424c7..4734fbf 100755 --- a/content/blog/what-ive-been-doing.md +++ b/content/blog/what-ive-been-doing.md @@ -17,7 +17,7 @@ So I have been working on a social media site I am currently calling snowballsoc -This project I again used mongoDB, I fist used mongodb in my [vuefullstack](https://github.com/juls0730/vuefullstack) app, and I loved it, it's much easier for the kind of projects I use than mySQL. Actually targeting a production site rather than just having fun like with my vuefullstack app or my rails-forum, etc. make me worry about alot more thigs like SEO, I tried to add OG tags to the post-show tag just showing post data but it doesnt work because the tags are added after the data loads. +This project I again used mongoDB, I fist used mongodb in my [vuefullstack](/github/vuefullstack) app, and I loved it, it's much easier for the kind of projects I use than mySQL. Actually targeting a production site rather than just having fun like with my vuefullstack app or my rails-forum, etc. make me worry about alot more thigs like SEO, I tried to add OG tags to the post-show tag just showing post data but it doesnt work because the tags are added after the data loads.
I've gotten a VPS from [linode](https://linode.com) so I could expose my non-static only page to the internet without exposing my home IP address, making me vulnerable to being doxxed and DDoS attacks. Using nignx I have reverse-proxied my api from port 3001 to 2087, and added ssl certs, and I have used it to server my static site on port 80, I have used nginx before and it's pretty simple to use. Optimizing has been the bain of development so far, making api requests faster, and reducing bundle size, I'm going to focus on api optimizations since its the harder one. My main worry for more than a couple requests is getting posts, since I do a for loop to change userId's to usernames diff --git a/nuxt.config.ts b/nuxt.config.ts index 48094e7..a9d0058 100755 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -65,6 +65,7 @@ export default defineNuxtConfig({ minify: true, prerender: { crawlLinks: true, + ignore: ['/github'], routes: ['/sitemap.xml', '/rss.xml'] }, }, diff --git a/pages/blog/[...slug].vue b/pages/blog/[...slug].vue old mode 100755 new mode 100644 index 0b9420f..fbc3d91 --- a/pages/blog/[...slug].vue +++ b/pages/blog/[...slug].vue @@ -1,47 +1,12 @@ + +