Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
c818769
反向同步Develop (#19)
Seamain Nov 18, 2025
a53c629
Remove @vercel/speed-insights dependency and add Google Tag Manager s…
Seamain Nov 18, 2025
34db8e0
Remove @vercel/speed-insights component from BasicStyle.astro
Seamain Nov 18, 2025
24efadd
Merge branch 'master' into develop
Seamain Nov 18, 2025
bf83c72
Add AI summary generation feature with DeepSeek API integration
Seamain Nov 18, 2025
b8dfd47
Refactor getStaticPaths to use type annotations and destructuring for…
Seamain Nov 18, 2025
524b4bc
Merge branch 'develop' of github.com:Seamain/Blog-New into develop
Seamain Nov 18, 2025
2735b48
Enhance layout and styling across various pages
Seamain Nov 18, 2025
1f404dd
Merge branch 'master' into develop
Seamain Nov 18, 2025
7f725c5
feat: implement dark mode support across components and pages
Seamain Nov 18, 2025
77f1335
Merge branch 'develop' of github.com:Seamain/Blog-New into develop
Seamain Nov 18, 2025
5f73447
Merge branch 'master' into develop
Seamain Nov 18, 2025
e557fd7
chore: update dependencies and add global styles
Seamain Nov 19, 2025
37236f2
feat: update styles for dark mode support and remove unused Tailwind …
Seamain Nov 19, 2025
cf46b81
反向同步Develop (#19)
Seamain Nov 18, 2025
bdb11f4
Remove @vercel/speed-insights dependency and add Google Tag Manager s…
Seamain Nov 18, 2025
7c3a849
Add AI summary generation feature with DeepSeek API integration
Seamain Nov 18, 2025
e8b9692
Enhance layout and styling across various pages
Seamain Nov 18, 2025
bbfbbd8
chore: update dependencies and add global styles
Seamain Nov 19, 2025
a30f452
feat: update styles for dark mode support and remove unused Tailwind …
Seamain Nov 19, 2025
67d96d7
Merge branch 'develop' of github.com:Seamain/Blog-New into develop
Seamain Nov 19, 2025
9a27909
fix: update @vercel/og version and remove unused @vercel/speed-insigh…
Seamain Nov 19, 2025
2b39168
fix: update @vercel/og version and remove unused @vercel/speed-insigh…
Seamain Nov 19, 2025
7d0ee38
feat: add css-gradient-parser and satori dependencies for @vercel/og
Seamain Nov 19, 2025
1133201
fix: update dependencies and improve PostCard component usage
Seamain Nov 25, 2025
f0e7de4
Merge branch 'master' into develop
Seamain Nov 25, 2025
b0c641b
feat: add @microsoft/clarity dependency to enhance analytics
Seamain Dec 1, 2025
e63952a
Merge branch 'develop' of github.com:Seamain/Blog-New into develop
Seamain Dec 1, 2025
501de2e
feat: integrate Microsoft Clarity for enhanced user analytics
Seamain Dec 1, 2025
ebe928f
fix: adjust layout classes in AISummary and Navbar components for bet…
Seamain Dec 1, 2025
bf3cf23
chore(deps): update dependencies to latest versions
Seamain Jan 18, 2026
e969c9c
Merge branch 'master' into develop
Seamain Jan 19, 2026
5974f56
Fix Avatar Error
Seamain Feb 6, 2026
544db3f
Update icon dep
Seamain Feb 6, 2026
52ec169
修复Feature Card过长的问题
Seamain Feb 7, 2026
f45485f
Add Search function in the navbar
Seamain Mar 12, 2026
f3ede69
Merge branch 'master' into develop
Seamain Mar 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
import { defineConfig } from 'astro/config';
import { defineConfig } from "astro/config";
import react from "@astrojs/react";

import sitemap from "@astrojs/sitemap";
import tailwindcss from "@tailwindcss/vite";
import icon from 'astro-icon';
import icon from "astro-icon";
import pagefind from "astro-pagefind";

// Global error handler to prevent circular structure JSON errors
process.on('unhandledRejection', (reason, promise) => {
console.error('Unhandled Rejection at:', promise, 'reason:', reason);
process.on("unhandledRejection", (reason, promise) => {
console.error("Unhandled Rejection at:", promise, "reason:", reason);
// Prevent the default behavior of throwing
});

process.on('uncaughtException', (error) => {
console.error('Uncaught Exception:', error);
process.on("uncaughtException", (error) => {
console.error("Uncaught Exception:", error);
// Prevent the default behavior of exiting
});

// https://astro.build/config
export default defineConfig({
integrations: [react(), sitemap(), icon()],
site: 'https://seamain.org',
site: "https://seamain.org",
vite: {
optimizeDeps: {
exclude: ["@resvg/resvg-js"],
},

plugins: [tailwindcss()],
plugins: [tailwindcss(), pagefind()],
},
});
});
Loading
Loading