Adds Svelte, Framer and starts work on homepage

This commit is contained in:
Alicia Sykes
2024-05-26 22:15:29 +01:00
parent 322ef5e0ea
commit ca3f8a4235
11 changed files with 274 additions and 31 deletions

View File

@@ -1,7 +1,7 @@
import { defineConfig } from 'astro/config';
// Integrations
// import svelte from '@astrojs/svelte';
import svelte from '@astrojs/svelte';
import react from "@astrojs/react";
import partytown from '@astrojs/partytown';
import sitemap from '@astrojs/sitemap';
@@ -35,7 +35,7 @@ const base = unwrapEnvVar('BASE_URL', '/');
const isBossServer = unwrapEnvVar('BOSS_SERVER', false);
// Initialize Astro integrations
const integrations = [react(), partytown(), sitemap()];
const integrations = [svelte(), react(), partytown(), sitemap()];
// Set the appropriate adapter, based on the deploy target
function getAdapter(target) {