File tree Expand file tree Collapse file tree 2 files changed +8
-14
lines changed
Expand file tree Collapse file tree 2 files changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import { defineConfig } from "astro/config";
77import pagefind from "astro-pagefind" ;
88import vercel from "@astrojs/vercel/serverless" ;
99
10- // https://astro.build/config
1110export default defineConfig ( {
1211 site : "https://mango-flower-0edf37903.4.azurestaticapps.net/" ,
1312 integrations : [
@@ -21,14 +20,17 @@ export default defineConfig({
2120 icon ( ) ,
2221 sitemap ( ) ,
2322 react ( ) ,
24- pagefind ( ) ,
23+ pagefind ( {
24+ // Escludi la classe ai.astro (e qualsiasi percorso derivato da essa)
25+ exclude : [ "/ai" ] ,
26+ } ) ,
2527 tailwind ( {
2628 applyBaseStyles : false ,
2729 } ) ,
2830 ] ,
29- // output: "static",
30- output : "hybrid" ,
31+ output : "hybrid" , // Necessario per supportare la pagina dinamica ai.astro
3132 adapter : vercel ( {
32- analytics : true ,
33+ analytics : true , // Attiva il tracciamento analitico su Vercel
3334 } ) ,
34- } ) ;
35+ } ,
36+ ) ;
Original file line number Diff line number Diff line change @@ -90,14 +90,6 @@ import SearchComponent from "astro-pagefind/components/Search";
9090 },
9191 }}
9292 />
93- <!-- Bottone "Ask AI" -->
94- <a
95- href =" /ai"
96- class =" flex items-center gap-x-2 px-4 py-2 bg-gradient-to-r from-blue-500 to-green-500 text-white rounded-md shadow-md hover:from-blue-600 hover:to-green-600 transition-all ml-4"
97- style =" height: 100%; display: flex; align-items: center; white-space: nowrap; width: 120px; justify-content: center;"
98- >
99- <span class =" text-sm font-medium" >Ask AI</span >
100- </a >
10193 </div >
10294 </div >
10395 </div >
You can’t perform that action at this time.
0 commit comments