diff --git a/.gitignore b/.gitignore index 6f92a01..5b4aa4b 100644 --- a/.gitignore +++ b/.gitignore @@ -116,3 +116,4 @@ dist .yarn/install-state.gz .pnp.* +package-lock.json \ No newline at end of file diff --git a/astro.config.mjs b/astro.config.mjs index d04a931..df14082 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,17 +1,9 @@ -export default { - // projectRoot: '.', // Where to resolve all URLs relative to. Useful if you have a monorepo project. - // pages: './src/pages', // Path to Astro components, pages, and data - // dist: './dist', // When running `astro build`, path to final static output - // public: './public', // A folder of static files Astro will copy to the root. Useful for favicons, images, and other files that don’t need processing. - buildOptions: { - // site: 'http://example.com', // Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs. - // sitemap: true, // Generate sitemap (set to "false" to disable) - }, - devOptions: { - // port: 3000, // The port to run the dev server on. - }, - renderers: [ - '@astrojs/renderer-react', - '@astrojs/renderer-svelte', +import { defineConfig } from 'astro/config' +import svelte from '@astrojs/svelte'; + +export default defineConfig({ + integrations: [ + svelte(), ], - }; \ No newline at end of file + + }); \ No newline at end of file diff --git a/package.json b/package.json index 5d62b35..99133a8 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "license": "MIT", "dependencies": { "@astrojs/renderer-svelte": "^0.1.1", + "@astrojs/svelte": "^0.1.4", "@fortawesome/fontawesome-free": "^5.15.3", "@mdi/font": "^5.9.55", "@mdi/js": "^5.9.55", diff --git a/src/components/Particle.astro b/src/components/Particle.astro index 871253a..b028e7e 100644 --- a/src/components/Particle.astro +++ b/src/components/Particle.astro @@ -12,7 +12,7 @@ to { opacity: 1; } } -