refactor!: remove react dependency for UI interactions (#457)

Remove react as a dependency for UI interactions.
Update jsx components such as Search and Datetime
with astro components.
This commit is contained in:
Sat Naing
2025-03-02 21:05:36 +07:00
parent 846315a265
commit 35429176e0
20 changed files with 467 additions and 925 deletions
-2
View File
@@ -1,6 +1,5 @@
import { defineConfig } from "astro/config";
import tailwindcss from "@tailwindcss/vite";
import react from "@astrojs/react";
import sitemap from "@astrojs/sitemap";
import remarkToc from "remark-toc";
import remarkCollapse from "remark-collapse";
@@ -10,7 +9,6 @@ import { SITE } from "./src/config";
export default defineConfig({
site: SITE.website,
integrations: [
react(),
sitemap({
filter: page => SITE.showArchives || !page.endsWith("/archives"),
}),