From 91e1be00f58d5dc56736aa530af6bcd624fbe0dd Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Thu, 1 Jan 2026 00:58:20 -0700 Subject: [PATCH] Optimizations --- astro.config.mjs | 3 ++- package.json | 2 +- src/components/sections/AboutSection.astro | 4 +++- src/components/sections/HeroSection.astro | 2 +- src/components/sections/ServicesSection.astro | 2 +- src/layouts/Layout.astro | 2 +- src/pages/index.astro | 2 ++ 7 files changed, 11 insertions(+), 6 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index f617652..6770dba 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -12,6 +12,7 @@ import icon from "astro-icon"; // https://astro.build/config export default defineConfig({ output: "server", + prefetch: true, integrations: [solidJs(), icon()], adapter: node({ @@ -21,4 +22,4 @@ export default defineConfig({ vite: { plugins: [tailwindcss()], }, -}); \ No newline at end of file +}); diff --git a/package.json b/package.json index c75d09f..55ab497 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "atashdotdev", "type": "module", - "version": "1.1.1", + "version": "1.2.0", "scripts": { "dev": "astro dev", "build": "astro build", diff --git a/src/components/sections/AboutSection.astro b/src/components/sections/AboutSection.astro index 1941fd0..4a8f298 100644 --- a/src/components/sections/AboutSection.astro +++ b/src/components/sections/AboutSection.astro @@ -57,7 +57,9 @@ const features = [ } -
+
{ siteConfig.whyUs.stats.map((stat) => ( diff --git a/src/components/sections/HeroSection.astro b/src/components/sections/HeroSection.astro index 3d24344..c7d098e 100644 --- a/src/components/sections/HeroSection.astro +++ b/src/components/sections/HeroSection.astro @@ -26,7 +26,7 @@ const rotatingText = (siteConfig.hero as any).rotatingText as
diff --git a/src/components/sections/ServicesSection.astro b/src/components/sections/ServicesSection.astro index a124f26..c4fd708 100644 --- a/src/components/sections/ServicesSection.astro +++ b/src/components/sections/ServicesSection.astro @@ -19,7 +19,7 @@ import { Icon } from "astro-icon/components";
-
+