diff --git a/components/Modal.tsx b/components/Modal.tsx index eab237a..19a52fd 100644 --- a/components/Modal.tsx +++ b/components/Modal.tsx @@ -43,7 +43,7 @@ const Modal = ({ >
-
+
diff --git a/components/NewsModal.tsx b/components/NewsModal.tsx new file mode 100644 index 0000000..e18c99d --- /dev/null +++ b/components/NewsModal.tsx @@ -0,0 +1,209 @@ +/* eslint-disable @next/next/no-img-element */ +import { XMarkIcon } from "@heroicons/react/24/outline"; +import Image from "next/image"; +import Modal from "./Modal"; +import Stack from "./Stack"; + +type NewsModalProps = { + onClose: () => void; +}; + +const NewsModal = ({ onClose }: NewsModalProps) => { + return ( + { + onClose(); + }} + > + {({ close }) => ( + + +

+ I'm going full-time on Prisma Schema Builder! +

+ + + + +
+ + + + + +

+ Albin Groen +

+
+
+ +

ยท

+ +

+ July 27, 2024 +

+
+ +

+ I will be streaming my work on{" "} + + Twitch + + , and post updates on{" "} + + Mastodon + + . There's also a{" "} + + Patreon + {" "} + page. If you're not able to support monetarily (which is + understandable), I would really appreaciate bug reports on{" "} + + GitHub + + . +

+ + +

+ During the last couple of years, I've asked all of you here + whether or not you would be interested in an improved version of + the app, and I've gotten such amazing feedback! +

+ +

+ I recently quit my full-time job to work on personal projects - + and Prisma Schema Builder came to mind very quickly. Initially, I + built this for myself. I found it hard to write schemas in code, + and to get an overview of all the relationships in the app. +

+ +

+ Now, my goal is to build a way better version of Prisma + Schema Builder. And to do so in under 5 months, since that's + the amount of money I've got saved up. +

+ +

+ What will it include? +

+ + +

Phase 1

+ +
    +
  • + ๐Ÿ’…  Overhauled user interface +
  • + +
  • + ๐Ÿ–ฅ๏ธ  Desktop app for local schemas +
  • + +
  • + ๐Ÿƒ  MongoDB support +
  • + +
  • + โ†ช๏ธ  Entity relationship diagrams +
  • + +
  • + ๐Ÿ‘ฅ  Team collaboration +
  • +
+
+ + +

Phase 2

+ +
    +
  • + โœจ  LLM for scaffolding schemas +
  • + +
  • + โœณ๏ธ  Schema agnostic (not only Prisma!) +
  • +
+
+ + +

+ Status? +

+ +

+ I've started working a little bit on the new interface, and + I wanted to give you a sneak peek. +

+
+ + + New Prisma Schema Builder interface + + + + New Prisma Schema Builder interface + +
+
+ )} +
+ ); +}; + +export default NewsModal; diff --git a/components/Schemas.tsx b/components/Schemas.tsx index e6a232b..dec0c2c 100644 --- a/components/Schemas.tsx +++ b/components/Schemas.tsx @@ -124,18 +124,24 @@ export default function Schemas() {

My schemas

-
    - {schemas.map((schema) => ( -
  • - - {schema.name} - -
  • - ))} -
+ {schemas.length ? ( +
    + {schemas.map((schema) => ( +
  • + + {schema.name} + +
  • + ))} +
+ ) : ( +

+ No schemas yet +

+ )} +
+ +
+ + +
+