inital upgrade
This commit is contained in:
parent
fb64e3421a
commit
36ec3e1d1e
6 changed files with 363 additions and 437 deletions
|
@ -1,7 +1,6 @@
|
|||
// @ts-check
|
||||
import { defineConfig } from "astro/config";
|
||||
|
||||
import tailwind from "@astrojs/tailwind";
|
||||
|
||||
import mdx from "@astrojs/mdx";
|
||||
|
||||
|
@ -13,10 +12,14 @@ import node from "@astrojs/node";
|
|||
|
||||
import icon from "astro-icon";
|
||||
|
||||
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
output: "server",
|
||||
integrations: [tailwind(), expressiveCode(), react(), icon(), mdx()],
|
||||
integrations: [ expressiveCode(), react(), icon(), mdx()],
|
||||
|
||||
adapter: node({
|
||||
mode: "standalone",
|
||||
|
@ -39,5 +42,7 @@ export default defineConfig({
|
|||
process.env.LOGTO_API_ENDPOINT,
|
||||
),
|
||||
},
|
||||
|
||||
plugins: [tailwindcss()],
|
||||
},
|
||||
});
|
||||
});
|
43
package.json
43
package.json
|
@ -10,47 +10,48 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/mdx": "^4.2.3",
|
||||
"@astrojs/node": "^9.1.3",
|
||||
"@astrojs/react": "^4.2.3",
|
||||
"@astrojs/tailwind": "^6.0.2",
|
||||
"@heroui/react": "^2.7.5",
|
||||
"@astrojs/mdx": "4.2.5",
|
||||
"@astrojs/node": "9.2.1",
|
||||
"@astrojs/react": "4.2.5",
|
||||
"@heroui/react": "^2.7.6",
|
||||
"@iconify-json/heroicons": "^1.2.2",
|
||||
"@iconify-json/mdi": "^1.2.3",
|
||||
"@iconify/react": "^5.2.0",
|
||||
"@iconify/react": "^5.2.1",
|
||||
"@tailwindcss/vite": "^4.1.4",
|
||||
"@types/highlight.js": "^10.1.0",
|
||||
"@types/js-yaml": "^4.0.9",
|
||||
"@types/lodash": "^4.17.15",
|
||||
"@types/react": "^19.1.0",
|
||||
"@types/react-dom": "^19.1.1",
|
||||
"astro": "^5.5.6",
|
||||
"@types/lodash": "^4.17.16",
|
||||
"@types/react": "^19.1.2",
|
||||
"@types/react-dom": "^19.1.2",
|
||||
"astro": "5.7.5",
|
||||
"astro-expressive-code": "^0.40.2",
|
||||
"astro-icon": "^1.1.5",
|
||||
"chart.js": "^4.4.7",
|
||||
"chart.js": "^4.4.9",
|
||||
"dexie": "^4.0.11",
|
||||
"framer-motion": "^12.6.2",
|
||||
"framer-motion": "^12.9.2",
|
||||
"highlight.js": "^11.11.1",
|
||||
"js-yaml": "^4.1.0",
|
||||
"jszip": "^3.10.1",
|
||||
"lodash": "^4.17.21",
|
||||
"motion": "^11.15.0",
|
||||
"next": "^15.1.2",
|
||||
"pocketbase": "^0.25.1",
|
||||
"prismjs": "^1.29.0",
|
||||
"motion": "^11.18.2",
|
||||
"next": "^15.3.1",
|
||||
"pocketbase": "^0.25.2",
|
||||
"prismjs": "^1.30.0",
|
||||
"react": "^19.1.0",
|
||||
"react-chartjs-2": "^5.3.0",
|
||||
"react-dom": "^19.1.0",
|
||||
"react-hot-toast": "^2.5.2",
|
||||
"react-icons": "^5.4.0",
|
||||
"react-icons": "^5.5.0",
|
||||
"rehype-expressive-code": "^0.40.2",
|
||||
"tailwindcss": "^3.4.16"
|
||||
"tailwindcss": "^4.1.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/prismjs": "^1.26.5",
|
||||
"daisyui": "^4.12.23",
|
||||
"prettier": "^3.4.2",
|
||||
"autoprefixer": "^10.4.21",
|
||||
"daisyui": "^4.12.24",
|
||||
"prettier": "^3.5.3",
|
||||
"prettier-plugin-astro": "^0.14.1",
|
||||
"tailwindcss-animated": "^1.1.2",
|
||||
"tailwindcss-motion": "^1.0.0"
|
||||
"tailwindcss-motion": "^1.1.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
import Navbar from "../components/core/Navbar.astro";
|
||||
import Footer from "../components/core/Footer.astro";
|
||||
import InView from "../components/core/InView.astro";
|
||||
import "../styles/global.css";
|
||||
---
|
||||
|
||||
<!doctype html>
|
||||
|
|
|
@ -11,6 +11,7 @@ import { OfficerTypes } from "../schemas/pocketbase/schema";
|
|||
import { initAuthSync } from "../scripts/database/initAuthSync";
|
||||
import ToastProvider from "../components/dashboard/universal/ToastProvider";
|
||||
import FirstTimeLoginManager from "../components/dashboard/universal/FirstTimeLoginManager";
|
||||
import "../styles/global.css";
|
||||
|
||||
const title = "Dashboard";
|
||||
|
||||
|
|
1
src/styles/global.css
Normal file
1
src/styles/global.css
Normal file
|
@ -0,0 +1 @@
|
|||
@import "tailwindcss";
|
Loading…
Reference in a new issue