Welcome to
- Omoluabi Foundation
+ Omoluabi Association
@@ -525,7 +639,6 @@ import Header from '../components/Header.astro';

diff --git a/astro.config.mjs b/astro.config.mjs index 9512ab2..25c426b 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -2,14 +2,22 @@ import { defineConfig } from 'astro/config'; import tailwindcss from '@tailwindcss/vite'; - import react from '@astrojs/react'; +import node from '@astrojs/node'; // ✅ Required for SSR build // https://astro.build/config export default defineConfig({ + output: 'server', // ✅ Use server mode to generate dist/server/entry.mjs + + adapter: node({ + mode: 'standalone', // ✅ Ensures entry.mjs includes everything needed + }), + + integrations: [ + react() + ], + vite: { plugins: [tailwindcss()] - }, - - integrations: [react()] + } }); \ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index 3e83891..925d685 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,13 +1,12 @@ --- -// Homepage with Header component import -import Header from '../components/Header.astro'; +// Standalone homepage with no external dependencies ---
-@@ -525,7 +639,6 @@ import Header from '../components/Header.astro';