nicholai-work-2026/astro.config.mjs
Nicholai 673a937db3 Update site configuration and enhance SEO with structured data
- Changed site URL in configuration from 'https://example.com' to 'https://nicholai.work'.
- Updated site title and description for better SEO optimization.
- Removed outdated portrait images and replaced them with optimized formats in the hero section.
- Enhanced BaseHead component with structured data for improved search engine visibility.
- Added reading time calculation to blog posts for better user engagement.
2025-12-08 14:53:56 -07:00

30 lines
558 B
JavaScript

// @ts-check
import mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap';
import { defineConfig } from 'astro/config';
import cloudflare from '@astrojs/cloudflare';
import tailwindcss from '@tailwindcss/vite';
import react from '@astrojs/react';
// https://astro.build/config
export default defineConfig({
site: 'https://nicholai.work',
integrations: [mdx(), sitemap(), react()],
adapter: cloudflare({
platformProxy: {
enabled: true
},
imageService: "compile"
}),
vite: {
plugins: [tailwindcss()],
},
});