diff --git a/astro.config.mjs b/astro.config.mjs
index 96a1f1d..bded4c4 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -2,14 +2,19 @@ import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import svelte from "@astrojs/svelte";
import sitemap from "@astrojs/sitemap";
-
import mdx from "@astrojs/mdx";
+import partytown from "@astrojs/partytown";
+// https://astro.build/config
export default defineConfig({
site: "https://rafa.page/",
integrations: [tailwind({
config: {
- applyBaseStyles: false,
+ applyBaseStyles: false
}
- }), svelte(), sitemap(), mdx()]
-});
+ }), svelte(), sitemap(), mdx(), partytown({
+ config: {
+ forward: ["dataLayer.push"]
+ }
+ })]
+});
\ No newline at end of file
diff --git a/package.json b/package.json
index fcebca1..3e76305 100644
--- a/package.json
+++ b/package.json
@@ -23,5 +23,8 @@
"tailwindcss": "^3.2.7",
"typescript": "^4.9.5",
"vite": "^4.1.4"
+ },
+ "dependencies": {
+ "@astrojs/partytown": "^1.2.0"
}
}
diff --git a/src/data/profile.json b/src/data/profile.json
index a2e5e3c..5d69334 100644
--- a/src/data/profile.json
+++ b/src/data/profile.json
@@ -49,16 +49,16 @@
"url": "https://github.com/acromatico-development",
"icon": "github"
},
- {
- "name": "Instagram",
- "url": "https://www.instagram.com/acromatico.dev",
- "icon": "instagram"
- },
{
"name": "Discord",
"url": "https://discord.gg/NswUaFSG",
"icon": "discord"
},
+ {
+ "name": "Instagram",
+ "url": "https://www.instagram.com/acromatico.dev",
+ "icon": "instagram"
+ },
{
"name": "LinkedIn",
"url": "https://www.linkedin.com/company/acromatico",
diff --git a/src/layouts/main.astro b/src/layouts/main.astro
index 92fddc0..ff77df3 100644
--- a/src/layouts/main.astro
+++ b/src/layouts/main.astro
@@ -164,9 +164,10 @@ const {
}
-