Daisy UI (#14)

* add dependency

* rename Input to TextInput and use daisy

* base styling

* storybook setup with tailwind and theme changer

* daisy buttons

* add flaticons

* text input to daisy

* Navbar to daisy

* login using daisy

* autodocs is... auto

* refactor Tabs to separate components

* move TextInput

* move button

* move navbar

* remove index

* move container

* move loader

* move tabs to navigation

* organize storybook hierarchy

* use card

* remove storybook dark mode

* README

* ignore db file

* ignore db

* prisma scripts

* format

* blyat

* fix redirect
This commit is contained in:
Baobeld 2024-12-19 21:20:21 -05:00 committed by GitHub
parent 992eb07f5c
commit 6ddaa69f69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
69 changed files with 663 additions and 449 deletions

View file

@ -15,34 +15,38 @@ datasource db {
}
model User {
id String @id @default(uuid())
email String? @unique
name String
password String
posts Post[]
sessions Session[]
id String @id @default(uuid())
email String? @unique
name String
password String
posts Post[]
sessions Session[]
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
}
model Session {
id String @id @default(uuid())
expiresAt DateTime
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
userId String
user User @relation(references: [id], fields: [userId])
id String @id @default(uuid())
expiresAt DateTime
user User @relation(references: [id], fields: [userId])
userId String
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
}
model Post {
id String @id @default(uuid())
id String @id @default(uuid())
title String
content String
published Boolean? @default(false)
author User @relation(references: [id], fields: [authorId])
authorId String
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
}
}