- [x] For the v1, we will just add the links only, linkType has to be of a url only,
- [x] Add readme.md file, with live link,
- [x] Add VideoDemo, and also fix Googlem Github authorization/authentication
- [x] Modify the resume and portfolio with this project,
- [ ] in v2 the linktype can be youtube video can be embedded via an iframe , spotify, can be embedded via an iframe, google maps → iframe , loom video → iframe , IMAGE / GALLERY → Show images or carousels.
- [ ] just modify the link model in schema.prisma,
model Link {
id String @id @default(cuid())
userId String
linkUrl String
linkThumbnail String?
description String?
type LinkType @default(LINK) // <-- NEW field
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
// Relation
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
}
enum LinkType {
LINK // normal link
VIDEO // youtube, vimeo, etc.
MUSIC // spotify, soundcloud, etc.
IMAGE // image or gallery
ARTICLE // blog, article, etc.
}
- [x] now when i click on logout, i shall get a modal to logout from the dashboard!