From d6b10ca360ad8a26d36dc649ab4d4998fdb42292 Mon Sep 17 00:00:00 2001 From: liyunze <50455574+liyunze-coding@users.noreply.github.com> Date: Thu, 19 Jun 2025 23:08:05 +1000 Subject: [PATCH] organized file structure, updated astro dependency --- package-lock.json | 16 +- package.json | 2 +- .../{sections => blog}/BackToBlogs.astro | 0 .../ContactComponent.svelte | 4 +- .../ExperienceComponent.astro | 4 +- .../MoreExperience.astro | 4 +- .../{elements => global}/Card.astro | 0 .../FooterComponent.astro | 0 .../{sections => global}/NavBar.astro | 0 .../{elements => global}/NetworkLine.astro | 0 .../{sections => home}/IntroComponent.svelte | 2 +- .../images/projects/ProductiVue.webp | Bin .../images/projects/coworking-guide.webp | Bin .../images/projects/hexguess.webp | Bin .../images/projects/twitchplays.webp | Bin .../{sections => }/images/projects/wnrs.webp | Bin .../MoreProjects.svelte | 0 .../ProjectsComponent.astro | 6 +- .../{sections => projects}/TaskWidget.svelte | 0 .../sections/{ => skills}/MoreSkills.astro | 4 +- src/components/skills/MoreSkills.astro | 103 +++++++++ .../SkillsComponent.astro | 4 +- .../{elements => socials}/Socials.svelte | 0 .../StreamSchedule.svelte | 0 .../WhatIDoComponent.astro | 2 +- src/pages/blog/[...slug].astro | 210 +++++++++--------- src/pages/blog/index.astro | 135 ++++++----- src/pages/contact.astro | 8 +- src/pages/experience.astro | 24 +- src/pages/faq.astro | 172 +++++++------- src/pages/index.astro | 100 ++++----- src/pages/projects.astro | 174 +++++++-------- src/pages/skills.astro | 8 +- src/pages/socials.astro | 4 +- src/pages/what-i-do.astro | 10 +- tailwind.config.cjs | 30 --- 36 files changed, 549 insertions(+), 477 deletions(-) rename src/components/{sections => blog}/BackToBlogs.astro (100%) rename src/components/{sections => contact}/ContactComponent.svelte (91%) rename src/components/{sections => experience}/ExperienceComponent.astro (96%) rename src/components/{sections => experience}/MoreExperience.astro (90%) rename src/components/{elements => global}/Card.astro (100%) rename src/components/{sections => global}/FooterComponent.astro (100%) rename src/components/{sections => global}/NavBar.astro (100%) rename src/components/{elements => global}/NetworkLine.astro (100%) rename src/components/{sections => home}/IntroComponent.svelte (99%) rename src/components/{sections => }/images/projects/ProductiVue.webp (100%) rename src/components/{sections => }/images/projects/coworking-guide.webp (100%) rename src/components/{sections => }/images/projects/hexguess.webp (100%) rename src/components/{sections => }/images/projects/twitchplays.webp (100%) rename src/components/{sections => }/images/projects/wnrs.webp (100%) rename src/components/{sections => projects}/MoreProjects.svelte (100%) rename src/components/{sections => projects}/ProjectsComponent.astro (98%) rename src/components/{sections => projects}/TaskWidget.svelte (100%) rename src/components/sections/{ => skills}/MoreSkills.astro (97%) create mode 100644 src/components/skills/MoreSkills.astro rename src/components/{sections => skills}/SkillsComponent.astro (98%) rename src/components/{elements => socials}/Socials.svelte (100%) rename src/components/{sections => socials}/StreamSchedule.svelte (100%) rename src/components/{sections => what-i-do}/WhatIDoComponent.astro (97%) delete mode 100644 tailwind.config.cjs diff --git a/package-lock.json b/package-lock.json index 63bae9c..4319b36 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "@astrojs/mdx": "^4.3.0", "@astrojs/svelte": "^7.1.0", "@tailwindcss/vite": "^4.1.8", - "astro": "^5.9.1", + "astro": "^5.10.0", "caniuse-lite": "^1.0.30001698", "moment": "^2.30.1", "moment-timezone": "^0.6.0", @@ -38,9 +38,9 @@ } }, "node_modules/@astrojs/compiler": { - "version": "2.12.1", - "resolved": "https://registry.npmjs.org/@astrojs/compiler/-/compiler-2.12.1.tgz", - "integrity": "sha512-WDSyVIiz7sNcJcCJxJFITu6XjfGhJ50Z0auyaWsrM+xb07IlhBLFtQuDkNy0caVHWNcKTM2LISAaHhgkRqGAVg==", + "version": "2.12.2", + "resolved": "https://registry.npmjs.org/@astrojs/compiler/-/compiler-2.12.2.tgz", + "integrity": "sha512-w2zfvhjNCkNMmMMOn5b0J8+OmUaBL1o40ipMvqcG6NRpdC+lKxmTi48DT8Xw0SzJ3AfmeFLB45zXZXtmbsjcgw==", "license": "MIT" }, "node_modules/@astrojs/internal-helpers": { @@ -1587,12 +1587,12 @@ } }, "node_modules/astro": { - "version": "5.9.1", - "resolved": "https://registry.npmjs.org/astro/-/astro-5.9.1.tgz", - "integrity": "sha512-wxoJcTbuDZNFSv6EaL0PAlrp0Wx6VnOAULCXvy0scsV70oWMeUkdxuBxfO54JxO5Qgyvwj9h99y6E0elqOpGtA==", + "version": "5.10.0", + "resolved": "https://registry.npmjs.org/astro/-/astro-5.10.0.tgz", + "integrity": "sha512-g/t54kVzQnFVijs+GbbbX/NBAFTl/3yNAEA/AQYq4FumLLVv7n4BIF+jKhcPGn9iFGyT1Cjvr7KB/qYyNvHEIg==", "license": "MIT", "dependencies": { - "@astrojs/compiler": "^2.12.1", + "@astrojs/compiler": "^2.12.2", "@astrojs/internal-helpers": "0.6.1", "@astrojs/markdown-remark": "6.3.2", "@astrojs/telemetry": "3.3.0", diff --git a/package.json b/package.json index 2f242ba..21b1a83 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "@astrojs/mdx": "^4.3.0", "@astrojs/svelte": "^7.1.0", "@tailwindcss/vite": "^4.1.8", - "astro": "^5.9.1", + "astro": "^5.10.0", "caniuse-lite": "^1.0.30001698", "moment": "^2.30.1", "moment-timezone": "^0.6.0", diff --git a/src/components/sections/BackToBlogs.astro b/src/components/blog/BackToBlogs.astro similarity index 100% rename from src/components/sections/BackToBlogs.astro rename to src/components/blog/BackToBlogs.astro diff --git a/src/components/sections/ContactComponent.svelte b/src/components/contact/ContactComponent.svelte similarity index 91% rename from src/components/sections/ContactComponent.svelte rename to src/components/contact/ContactComponent.svelte index 4286817..7313b3c 100644 --- a/src/components/sections/ContactComponent.svelte +++ b/src/components/contact/ContactComponent.svelte @@ -1,12 +1,12 @@