diff --git a/apps/astro/astro.config.mjs b/apps/astro/astro.config.mjs index 6cac682..fcc57a5 100644 --- a/apps/astro/astro.config.mjs +++ b/apps/astro/astro.config.mjs @@ -1,8 +1,8 @@ +import react from '@astrojs/react'; import pandacss from '@pandacss/astro'; import { defineConfig } from 'astro/config'; -import react from '@astrojs/react'; -import netlify from "@astrojs/netlify"; +import netlify from '@astrojs/netlify'; // https://astro.build/config export default defineConfig({ @@ -16,5 +16,5 @@ export default defineConfig({ }, integrations: [pandacss(), react()], output: 'hybrid', - adapter: netlify() -}); \ No newline at end of file + adapter: netlify({}) +}); diff --git a/apps/astro/netlify.toml b/apps/astro/netlify.toml new file mode 100644 index 0000000..addc400 --- /dev/null +++ b/apps/astro/netlify.toml @@ -0,0 +1,3 @@ +[build] + command = "pnpm build" + publish = "dist" \ No newline at end of file diff --git a/apps/astro/src/i18n/ui.ts b/apps/astro/src/i18n/ui.ts index 17915bf..cb56219 100644 --- a/apps/astro/src/i18n/ui.ts +++ b/apps/astro/src/i18n/ui.ts @@ -9,13 +9,4 @@ export type Languages = keyof typeof languages; export const defaultLang = 'en'; -export const routes = { - en: { - services: 'leistungen' - }, - ja: { - services: 'prestations-de-service' - } -}; - export { ui };