nextui lib
All checks were successful
Vercel Preview Deployment / Deploy-Preview (push) Successful in 2m39s
All checks were successful
Vercel Preview Deployment / Deploy-Preview (push) Successful in 2m39s
This commit is contained in:
parent
f72c525701
commit
6137a166eb
2955
package-lock.json
generated
2955
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -12,9 +12,11 @@
|
|||||||
"start": "next start"
|
"start": "next start"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@nextui-org/react": "^2.3.6",
|
||||||
"@t3-oss/env-nextjs": "^0.10.1",
|
"@t3-oss/env-nextjs": "^0.10.1",
|
||||||
"@vercel/postgres": "^0.8.0",
|
"@vercel/postgres": "^0.8.0",
|
||||||
"drizzle-orm": "^0.29.4",
|
"drizzle-orm": "^0.29.4",
|
||||||
|
"framer-motion": "^11.2.6",
|
||||||
"geist": "^1.3.0",
|
"geist": "^1.3.0",
|
||||||
"next": "^15.0.0-rc.0",
|
"next": "^15.0.0-rc.0",
|
||||||
"postgres": "^3.4.3",
|
"postgres": "^3.4.3",
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
import { useActionState, useEffect, useState } from "react";
|
import { useActionState, useEffect, useState } from "react";
|
||||||
import { addWine } from "~/server/actions/addWine";
|
import { addWine } from "~/server/actions/addWine";
|
||||||
import { getProducers } from "~/server/actions/allProducers";
|
import { getProducers } from "~/server/actions/allProducers";
|
||||||
|
import { Button } from "@nextui-org/react";
|
||||||
|
|
||||||
async function fetchProducers() {
|
async function fetchProducers() {
|
||||||
const producers = await getProducers();
|
const producers = await getProducers();
|
||||||
@ -45,7 +46,7 @@ export default function CreateWine() {
|
|||||||
</option>
|
</option>
|
||||||
))}
|
))}
|
||||||
</select>
|
</select>
|
||||||
<button type="submit">Add wine</button>
|
<Button color="primary">Add wine</Button>
|
||||||
</form>
|
</form>
|
||||||
{JSON.stringify(formState)}
|
{JSON.stringify(formState)}
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,14 +1,9 @@
|
|||||||
import { type Config } from "tailwindcss";
|
import { type Config } from "tailwindcss";
|
||||||
import { fontFamily } from "tailwindcss/defaultTheme";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
content: ["./src/**/*.tsx"],
|
content: ["./src/**/*.tsx"],
|
||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {},
|
||||||
fontFamily: {
|
|
||||||
sans: ["var(--font-geist-sans)", ...fontFamily.sans],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
plugins: [],
|
plugins: [],
|
||||||
} satisfies Config;
|
} satisfies Config;
|
||||||
|
Loading…
Reference in New Issue
Block a user