diff --git a/actions/temp.ts b/actions/temp.ts new file mode 100644 index 0000000..57d4638 --- /dev/null +++ b/actions/temp.ts @@ -0,0 +1,5 @@ +"use server"; + +import { readFile } from "fs/promises"; + +export const readMD = async () => await readFile("./test.md", "utf-8"); diff --git a/app/globals.css b/app/globals.css index e53e6dc..361f316 100644 --- a/app/globals.css +++ b/app/globals.css @@ -8,7 +8,6 @@ } body { @apply dark:bg-mixed-100 bg-primary-600 - /* background: linear-gradient(47deg, black, #620072, #120072); */ } input { @apply py-2 px-4 rounded-full dark:bg-mixed-200 dark:bg-mixed-600 placeholder:text-dark-500 @@ -38,4 +37,11 @@ .btn-secondary { @apply text-primary-500 py-4 px-6 font-bold text-lg } + .p { + @apply py-1 + } + + .poppable { + @apply card bg-mixed-300 p-2 rounded-lg transition-opacity data-[visible=true]:z-10 data-[visible=true]:opacity-100 data-[visible=false]:opacity-0 -z-10 max-w-[400px] absolute + } } diff --git a/app/layout.tsx b/app/layout.tsx index ef1bd77..b73eff4 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -23,7 +23,7 @@ export default function RootLayout({ return ( -