diff --git a/bun.lockb b/bun.lockb index 2f3e727..6cac7f3 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index aee5b2e..673a81a 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,12 @@ "@astrojs/markdown-remark": "^4.2.1", "@astrojs/mdx": "^2.1.1", "@expressive-code/plugin-shiki": "^0.32.4", + "@iconify-json/flat-color-icons": "^1.1.10", + "@iconify-json/logos": "^1.1.43", "@iconify-json/prime": "^1.1.12", + "@iconify-json/simple-icons": "^1.1.109", "@iconify-json/typcn": "^1.1.9", + "@iconify-json/vscode-icons": "^1.1.35", "@microflash/remark-callout-directives": "^2.0.0", "astro": "^4.2.6", "astro-expressive-code": "^0.32.4", diff --git a/src/components/GalaryZoom.astro b/src/components/GalaryZoom.astro index 7fb070d..3f00b4a 100644 --- a/src/components/GalaryZoom.astro +++ b/src/components/GalaryZoom.astro @@ -16,7 +16,7 @@ min-height: 20px; min-width: 20px; max-height: 35%; - max-width: 40%; + max-width: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); @@ -38,10 +38,8 @@ document.getElementById("galary-zoom").style.display = "initial"; document.getElementById("zoom-image").src = img.src; } - function hide(dom) { - document.body.classList.remove("remove-scrolling"); - dom.style.display = "none"; - } -
+
+ +
diff --git a/src/components/ProjectCard.astro b/src/components/ProjectCard.astro index 9b68ede..fa56622 100644 --- a/src/components/ProjectCard.astro +++ b/src/components/ProjectCard.astro @@ -5,9 +5,10 @@ interface Props { name: string; href?: string; gallery?: string | string[]; + center?: true; } -const { name, href, gallery } = Astro.props; +const { name, href, gallery, center } = Astro.props; ---