mirror of
https://github.com/m1ngsama/FUJI.git
synced 2025-12-25 02:56:38 +00:00
init
This commit is contained in:
parent
c0b19f4ed4
commit
1932dd8054
5 changed files with 3394 additions and 2 deletions
|
|
@ -23,8 +23,10 @@
|
||||||
"@fullcalendar/react": "^6.1.11",
|
"@fullcalendar/react": "^6.1.11",
|
||||||
"@headlessui/vue": "^1.7.22",
|
"@headlessui/vue": "^1.7.22",
|
||||||
"@logto/browser": "^2.2.16",
|
"@logto/browser": "^2.2.16",
|
||||||
|
"@nextui-org/react": "^2.4.8",
|
||||||
"@stylistic/eslint-plugin": "^2.1.0",
|
"@stylistic/eslint-plugin": "^2.1.0",
|
||||||
"astro": "^4.5.12",
|
"astro": "^4.5.12",
|
||||||
|
"framer-motion": "^11.5.6",
|
||||||
"ical.js": "^1.5.0",
|
"ical.js": "^1.5.0",
|
||||||
"md5": "^2.3.0",
|
"md5": "^2.3.0",
|
||||||
"npm": "^10.8.1",
|
"npm": "^10.8.1",
|
||||||
|
|
|
||||||
3362
pnpm-lock.yaml
3362
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
11
src/pages/freshman/join.astro
Normal file
11
src/pages/freshman/join.astro
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
import BaseLayout from "../../layouts/BaseLayout.astro"
|
||||||
|
// import { Button } from "@nextui-org/react";
|
||||||
|
import ReactChild from "./react/acontent"
|
||||||
|
---
|
||||||
|
|
||||||
|
<BaseLayout title="Welcome to Astro.">
|
||||||
|
<main>
|
||||||
|
<ReactChild client:visible>My button</ReactChild>
|
||||||
|
</main>
|
||||||
|
</BaseLayout>
|
||||||
12
src/pages/freshman/react/acontent.tsx
Normal file
12
src/pages/freshman/react/acontent.tsx
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
// app/page.tsx
|
||||||
|
import { Button } from "@nextui-org/react"
|
||||||
|
|
||||||
|
// import { NextUIProvider } from "@nextui-org/react";
|
||||||
|
|
||||||
|
export default function Page() {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<Button>Click me</Button>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
@ -1,6 +1,10 @@
|
||||||
|
import { nextui } from "@nextui-org/react"
|
||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
export default {
|
export default {
|
||||||
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
|
content: [
|
||||||
|
"./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}",
|
||||||
|
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
|
||||||
|
],
|
||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
||||||
colors: {
|
colors: {
|
||||||
|
|
@ -8,5 +12,6 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [],
|
darkMode: "class",
|
||||||
|
plugins: [nextui()],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue